delegate
Hand off implementation work to OpenAI Codex CLI, verify status before trusting the result, and keep planning/review in the orchestrator.
Instructions
Delegate a coding task to OpenAI Codex. Never run codex from the shell — use this tool. Check status before trusting result — a run that spawns then fails returns normally. Keep model, reasoningEffort and fast at their defaults unless the user asks. See the delegate skill.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fast | No | Codex Fast mode; higher credit use. | |
| mode | No | agent implements; plan returns a structured plan; ask answers; review runs native review. | agent |
| spec | Yes | Brief with goal, scope, fixed decisions quoted exactly, and acceptance criteria; reference files instead of pasting code. | |
| model | No | Codex model id: gpt-5.6-luna, gpt-5.6-sol, gpt-5.6-terra, gpt-5.5, gpt-5.4, gpt-5.4-mini. | gpt-5.6-luna |
| timeoutMs | No | Whole-run cap in ms (default 1h). Mid-turn silence is allowed; startup has a separate 60s first-output deadline. | |
| webSearch | No | Codex's built-in web search. | |
| workspace | Yes | Codex's working directory; not confinement. Must already exist — never create one for the call. | |
| reviewTarget | No | Required in review; forbidden otherwise: uncommitted, base branch, or commit. | |
| resumeThreadId | No | Thread to continue. Reuse its workspace. Forbidden with review. | |
| reasoningEffort | No | gpt-5.6-* reject minimal; older models reject none. | xhigh |