Codex Subagent — Development skill for Claude Code
Codex CLI as a Claude Code subagent: code exploration, hard-bug diagnosis and backend work on request.
How to install Codex Subagent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open kirillshsh/codex-subagent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Codex Subagent does
Codex CLI as a Claude Code subagent: code exploration, hard-bug diagnosis and backend work on request.
Alternatives in Development
- Exploration — /exploration — Solution Quality Check 558 ★
- Maestro Learn — User-invoked learning toolkit — guided reading, investigation, pattern extraction, or second opinions 530 ★
- Traffic Diagnosis — Traffic Change Diagnosis 242 ★
README
codex-subagent
[Русская версия](README.ru.md)
A Claude Code skill that uses the [Codex CLI](https://github.com/openai/codex) as a subagent. Claude hands Codex the code exploration it would otherwise give Explore: finding where things live, tracing how they work, diagnosing why something fails, mapping what a change would touch. Codex's tokens stay out of Claude's context, and Claude gets back a report with `path:line` references. On request, Codex can also write backend code.
What you get
- Exploration by default. Codex reads the code, runs tests and reproduces bugs, but doesn't edit the project.
- Hard bugs (
--heavy) go to a stronger model. - Any model you name. Say "use astra on max" and Claude runs
--model astra --effort max;--modelslists your account's models and their efforts. - Backend work (
--backend) only when you ask Claude to have Codex write it. Frontend stays with Claude unless you allow it (--allow-frontend). - Sandbox. Codex writes only inside the project and
/tmp.--yoloturns the sandbox off. - Parallel runs. When all your account's parallel slots are busy (HTTP 429), the wrapper waits for one instead of failing.
- Follow-ups.
--resumecontinues the same Codex conversation. - A diff check after every run. The wrapper lists Codex's patches and anything else that changed in the tree, and warns when exploration edited files or Codex touched the frontend.
Where Codex is weak, and what the skill does about it
- UI and UX taste. Codex's layouts, styles and copy come out generic. Frontend work stays with Claude unless you ask for Codex.
- Little initiative. Codex tends to answer the literal question, stop at the first plausible cause and end with "if you want, I can…". Every run tells it to confirm the cause, follow it through and do the work instead of offering it.
- Overengineering and junk fallbacks. Codex likes extra layers, try/except everywhere, silent default values and check
Related Skills
Autopsy
Turn a meaningful fixed bug into a concise learning diagnosis.
Dependency First Architect
A planning skill for coding agents (Claude Code, Cursor, Codex) that turns a build request into a dependency-o
Xp Hint
Use the active XP session and request a hint from the real backend.
Handoff Session
Generate a self-contained handoff prompt I can paste into a fresh Claude Code session to continue this work wi
Personal Claude Assistant Template
Give Claude Code a memory that learns. Every session boots knowing who you are; your work gets journaled, corr
Blender Expert Skills
13 agent skills that make Claude / Codex work in Blender 5.2 like the experts (sculpting, retopo, UV/bake, tex
Related Agents
Greenharbor Backend Coder Rust
Use this agent when implementing Rust library, CLI, backend, async, integration, FFI, or bug-fix work. It prod
Codex Debugger
Root-cause a failing test, crash, stack trace, or misbehaving feature by delegating the investigation to OpenA
Backend Format Expert
Domain advisor for AI CLI transcript formats (Claude, Codex, Pi, Hermes, agy), SQLite stores, Protobuf wire fo