CC orchestrate, Codex implement, CC verify — A Claude Code skill for cross-model AI collaborative development.
A Claude Code slash command (/codex-dev) that delegates coding tasks to OpenAI Codex while Claude Code handles scoping, review, and verification.
The core idea: Split work by context needs, not by role. Cross-model review catches blindspots that same-model review misses.
This skill was designed based on guidance from Anthropic and Karpathy:
-
Split by context, not role — Agents don't need "personas". They need the right files in their context window. (Anthropic: How we built our multi-agent research system)
-
Start simple, evolve with data — Single Codex call is the default. No parallel execution in V1. Add complexity only when real usage data proves it's needed. (Anthropic: Building Effective Agents)
-
Verification > Orchestration — Hard gates (build/test) run before LLM review. Deterministic checks are more reliable than LLM judgment. (Karpathy: March of Nines — a 10-step workflow at 90% per step = 35% overall reliability)
-
Fewer steps, harder checks — Every handoff compounds failure. Keep the chain short: scope → delegate → verify → report.
-
Abort on scope creep — If Codex needs files outside the allowed list, new dependencies, or schema changes, it stops immediately.
/codex-dev "implement feature X"
Step 1: CC scopes (reads code, identifies files, defines contract)
Step 2: CC delegates to Codex (with task + files + constraints + stop conditions)
Step 3: Codex implements
Step 4: CC verifies (build/test first, then LLM review of diff)
Step 5: Report (PASS/FAIL + next steps)
mkdir -p ~/.claude/commands
cp codex-dev/SKILL.md ~/.claude/commands/codex-dev.mdgit clone https://github.com/Lntanohuang/cc-codex-dev.git ~/.claude/skills/cc-codex-dev
ln -s ~/.claude/skills/cc-codex-dev/codex-dev/SKILL.md ~/.claude/commands/codex-dev.md- Claude Code installed
- Codex CLI installed and authenticated (
codex --version)
In Claude Code, type:
/codex-dev "add a statistics page showing student accuracy and weak points"
Or just say: "let codex write this" — CC will auto-trigger the skill.
- Well-scoped implementation tasks with clear file boundaries
- Tasks that benefit from a second model's perspective
- When you want CC to focus on architecture decisions while Codex handles implementation
- Trivial changes (rename, typo) — just do it directly
- Vague/unscoped tasks — scope first, delegate after
- Pure exploration — use CC's built-in Explore subagent
- Anthropic — Building Effective AI Agents (PDF)
- Anthropic — How we built our multi-agent research system
- Anthropic — Claude Code Subagent Docs
- Karpathy — March of Nines / Agentic Engineering
MIT