Claude Supervisor Codex Worker
Overview
Run a strict 3-stage loop where Claude plans and reviews while Codex executes. Prefer the command claude-codex-supervisor "<task>" so the workflow is reproducible.
Trigger Phrases
claude当监工claude监工监工大脑claude指挥codexclaude操控codexclaude-supervisor-codex监工执行模式
Workflow
- Normalize the user request into one executable task sentence.
- Run
claude-codex-supervisor "<task>". - Use Claude output as architecture and acceptance gate.
- Use Codex output as implementation delta.
- Use Claude final review as pass/fail decision.
Output Contract
Return one merged report with these sections:
ArchitectureImplementationVerificationHow to rerun
Failure Handling
- If Claude plan step fails: return the failure and retry with a shorter task sentence.
- If Codex execution step fails: keep artifacts, summarize blocker, and request targeted retry.
- If Claude review fails: return explicit fix list with severity (
P0,P1,P2).