codex-delegate is a Claude-oriented skill for using Codex CLI as an execution specialist for implementation-heavy coding work while keeping planning, review, and acceptance in Claude.
This skill is for tasks that are expensive in tokens but cheap in judgment:
- multi-file implementation
- mechanical refactors
- boilerplate generation
- test scaffolding
- large batch edits
It is not meant for architecture, root-cause debugging, security review, or ambiguous product decisions.
- clearer routing boundary between Claude, Codex, and Gemini
- explicit supervisor acceptance gate
- machine-readable wrapper output via
<log>.result.json - regression tests for bash and PowerShell wrappers
- Claude writes a task file describing scope and constraints.
- Claude launches Codex synchronously through the wrapper.
- The wrapper emits sentinel files plus
result.json. - Claude reviews the diff and runs verification before accepting the result.
Wrapper success is not final acceptance. Claude still owns the judgment.
codex-delegate/
├── SKILL.md
├── README.md
├── README_zh-TW.md
├── scripts/
│ ├── run_codex.sh
│ └── run_codex.ps1
├── tests/
│ └── test_wrappers.py
└── references/
python -m pytest -qCurrent wrapper tests cover:
- success-path
result.jsongeneration - PowerShell wrapper contract behavior
Codex CLI must be available in your environment:
npm install -g @openai/codex
codex --versionMIT