What problem does it solve?
Codex-subagent provides a self-contained Codex-based worker that can be spawned by Claude to perform code-focused tasks, enabling cross-model verification, parallel execution, and nested subagent workflows.
Core Features & Use Cases
- Verification & review: Different models catch different bugs and issues, enabling cross-model validation for code quality.
- Implementation & generation: Codex-driven code changes, refactoring, and large-scale transformations with a fresh perspective.
- Debugging & analysis: When Claude stalls, Codex can examine code areas independently and surface edge cases.
- Refactoring & codebase exploration: Systematic codebase exploration and large-scale transforms across modules.
- Nested subagent work: Claude subagents can spawn Codex workers to augment analysis or execution.
- The 10x pattern: Codex generates/refactors at scale while Claude reviews for hidden issues and improvements.
Quick Start
Prompt Codex with your task using bun run src/codex-agent.ts and provide a clear prompt describing the code task.