Agent skill · Code Review & Quality

codex-subagent

Launch Codex CLI as an isolated subagent for bounded coding, review, or verification tasks.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
codexclaude-codecursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill codex-subagent --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 4 KB
Bundled scripts: none
Declared author: davidondrej
Path: skills/codex-subagent/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Codex CLI as a Subagent ## When to Use - Use when a bounded coding, review, or verification task can run in a separate Codex CLI session. - Use when parallel work needs explicit file ownership and a clear definition of done. Codex CLI is OpenAI's terminal coding agent. `codex exec` runs it non-interactively: it works autonomously in a sandbox, streams progress to stderr, and prints only the final message to stdout. Auth reuses the user's ChatGPT subscription — never an API key. ## When to delegate - Self-contained coding task with clear success criteria (fix, feature, refactor, review). - Parallel work: several independent tasks at once (see Parallel runs). - Second opinion / independent verification of your own changes. Do NOT delegate tasks that need conversation context you can't fully write into the prompt. ## Preflight ```bash codex --version # missing? npm i -g @openai/codex (or: brew install --cask codex) codex login status # exit 0 + "Logged in using ChatGPT" = ready ``` Not logged in → stop and tell the user to run `codex login` (one-time browser OAuth). Never read, print, or copy credentials (`~/.codex/auth.json`). ## Launch ```bash OUT=$(mktemp /tmp/codex-out.XXXXXX) c

What's inside
Steps it walks through
  1. When to Use
  2. When to delegate
  3. Preflight
  4. Launch
  5. Collect results
  6. Parallel runs
  7. Failure modes
  8. Rules
  9. Cursor-native wrapper (optional)
  10. Limitations
Commands it runs
codex --version       # missing? npm i -g @openai/codex  (or: brew install --cask codex)
codex login status    # exit 0 + "Logged in using ChatGPT" = ready
codex exec \
cat "$OUT"                            # final message = the deliverable
git -C /path/to/repo status --short   # see what Codex actually changed
codex exec resume --last "follow-up instruction" </dev/null
git worktree add /tmp/wt-taskA -b codex/task-a
codex exec --cd /tmp/wt-taskA --sandbox workspace-write -o /tmp/outA.md "task A" </dev/null
More from agentic-awesome-skills
All skills →
About this skill
What does the codex-subagent skill do?

Launch Codex CLI as an isolated subagent for bounded coding, review, or verification tasks.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill codex-subagent --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going