Prompt file imported from Yterayut/N8N-Project (
.claude/commands/assign-codex.md). Fill in{{arguments}}before use. Copyright stays with the author.
Assign to Codex
Assign task {{arguments}} to Codex for implementation.
Steps
-
Verify spec
- Find
docs/collab/tasks/T{{arguments}}-*.md - Confirm spec has: Problem, Implementation, Definition of Done sections
- If spec is missing or incomplete: stop and tell user
- Find
-
Check Codex pane is at bash
tmux list-panes -t codex -F "#{pane_current_command}" 2>/dev/null- If not at bash: send C-c and wait 3 seconds
-
Assign task
tmux send-keys -t codex "/home/oneclimate-uat/Project-Yterayut/N8N-AUTO-RESPONSE/scripts/collab/codex-exec.sh implement T{{arguments}}" Enter -
Confirm started (wait 8 seconds)
sleep 8 && ps aux | grep "node.*codex" | grep -v grep | grep -v vscode || true -
Report
- "Codex assigned T{{arguments}} — monitoring agents/codex branch for commits"
- Update HANDOFF.md: move task to "In Progress (Codex)"
Usage
/assign-codex 053
/assign-codex 052G
