Install
openclaw skills install codex-orchestratorMonitor, control, and orchestrate background Codex sessions. Use this skill to track progress, handle interruptions, and ensure task completion for long-running coding tasks.
openclaw skills install codex-orchestratorThis skill provides a workflow for supervising the Codex coding agent running in background processes.
Always launch Codex in a background PTY session to maintain interactivity without blocking the main agent.
bash pty:true workdir:<target_dir> background:true command:"codex exec --full-auto '<PROMPT>'"
sessionId.sessionId is lost, find it via process action:list.Check progress regularly (e.g., via cron or manual check).
# Get last 2KB of logs to see current status
process action:log sessionId:<id> limit:2000
Signs of life:
Edit ...).Signs of blockage:
If Codex is stuck at a prompt:
# Send 'y' and Enter
process action:submit sessionId:<id> data:"y"
# Send just Enter (default choice)
process action:submit sessionId:<id> data:""
If Codex is looping or hallucinating:
# Kill the session
process action:kill sessionId:<id>
When a significant milestone is reached or the task is done:
process action:log sessionId:<id> limit:500.submit.submit data:"\n" to refresh prompt) or kill/resume.If a session died or was killed:
codex resume --last or codex resume <session_id> in a new background process.codex exec "task..." > codex.log 2>&1 (Note: buffering may delay output).process action:log to snapshot the buffer periodically.