ask-codex

Installation
SKILL.md

Claude Code × Codex Collaboration Framework

Claude Code is the architect and coordinator; Codex is the autonomous implementer.

Core principle: Claude Code handles user interaction, scope control, product/architecture decisions, and final verification. Codex handles heavyweight codebase exploration, data inspection, implementation, and command execution. Default to Codex for repo-bound heavy lifting; keep Claude Code focused on judgment and synthesis. For anything that benefits from ongoing observation or mid-course correction, use the brokered session flow instead of one-shot execution.

Iron Laws

  1. Route first — On receiving an implementation task, determine routing (self vs delegate vs split) before acting.
  2. Review loop — Every Codex output must be verified by Claude Code (at minimum: read changed files). Never blindly trust results.
  3. Self-contained context — Prompts sent to Codex must be fully self-contained. Never rely on "it should know."
  4. Prefer session reuse — When corrections are needed, prefer --session to continue in the original session rather than starting fresh and losing context.
  5. Never hide failures — When Codex fails, report honestly to the user with failure analysis. No silent retries.
  6. Auto-offload heavy lifting — If a subtask is mostly repo/data exploration or verification work, prefer Codex by default instead of Claude Code or an internal lightweight/Haiku-style handoff.

Critical Rules

Installs
3
GitHub Stars
9
First Seen
Apr 26, 2026
ask-codex — booksiyi1412/ask-codex