codex-buildlisted
Install: claude install-skill alanshurafa/co-evolution
# /codex-build - Detached Codex Execution with Gate-Based Review
This is the **orchestration protocol** behind the "best Claude plans, Codex
executes, best Claude reviews" model ladder. The session is the composer and the
reviewer; Codex
is the executor. The defining rule: **the session is never kept busy while Codex
grinds.** You kick the runner as a background task, end your turn, and the
harness wakes you when it exits.
Use `/dev-review` instead when you want the classic interactive
compose-bounce-execute loop in one session (you watch every pass). Use
`/co-evolution` for questions, drafts, plans, and document refinement with no
code execution.
The protocol has five steps. Steps 1-3 happen in the FIRST turn (preflight,
plan, kick-and-stop). Steps 4-5 happen on WAKE, after the background task exits.
---
## Step 1: PREFLIGHT (one turn, before planning)
Run these checks. Each gate either passes, degrades with a stated fallback, or
dies with a fix hint.
### Codex present
```bash
command -v codex
```
If missing, die with the install hint:
```text
codex CLI not found. On this Mac with Codex.app installed:
ln -s "/Applications/Codex.app/Contents/Resources/codex" ~/.local/bin/codex
Otherwise install the CLI:
npm i -g @openai/codex
Then re-run /codex-build.
```
### Claude CLI auth probe (decides the verifier seat)
The runner's `claude` verifier seat runs in a headless shell that does NOT carry
the interactive app's session token. Probe it:
```bash
claude -p --outpu