kirillshsh

Codex Subagent — Development skill for Claude Code

Development community

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; --models lists 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. --yolo turns 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. --resume continues 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