codex-delegate
Installation
SKILL.md
Delegate to Codex
scripts/codex_job.py runs Codex as a worker. A job is one Codex thread under a name you choose. Each turn runs codex exec as a child process that exits when the turn ends, so nothing keeps running between turns. You supervise: start a turn, peek while it runs, read the result, then resume with the next instruction, or stop it and resume with a correction.
J=<skill-dir>/scripts/codex_job.py
Start a job
Run start with Bash run_in_background: true; the notification arrives when the turn ends, and the task output holds the final message. Pass the prompt on stdin:
python3 $J start fix-null-deref --cd /path/to/repo <<'EOF'
<task>...</task>
EOF