codex

codex is a skill for Claude Code, Codex from sparklingneuronics/sparkling-skills. It costs 249 tokens per session (6,409 once invoked), scanned A, original, MIT.

A routing guide for sending tasks to OpenAI's Codex command-line tool instead of handling them in the current session.

In plain words
What is it for?
For asking Codex to review or change code, compare approaches, continue a delegated conversation, or generate images when explicitly requested.
Why use it?
It provides a separate model session for reviews, refactoring, validation, second opinions, and other delegated work.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also reads $CODEX_HOME. Also seen: mentions Claude Code; reads ~/.codex paths; runs codex exec.

Part of the dispatch plugin — 2 skills, 3 commands shipped together

Good fit For asking Codex to review or change code, compare approaches, continue a delegated conversation, or generate images when explicitly requested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparklingneuronics/sparkling-skills/codex
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sparklingneuronics/sparkling-skills --skill codex
Clone the repo
git clone --depth 1 https://github.com/sparklingneuronics/sparkling-skills

Made for: Claude Code, Codex.

Or install dispatch, the plugin that ships this one along with the rest of its 2 skills, 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparklingneuronics/sparkling-skills/codex/github.svg)](https://agentmods.dev/skills/sparklingneuronics/sparkling-skills/codex)
Your own site
<a href="https://agentmods.dev/skills/sparklingneuronics/sparkling-skills/codex"><img src="https://agentmods.dev/badge/skills/sparklingneuronics/sparkling-skills/codex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for codex

Your own site · 80×15
<a href="https://agentmods.dev/skills/sparklingneuronics/sparkling-skills/codex"><img src="https://agentmods.dev/badge/skills/sparklingneuronics/sparkling-skills/codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 249 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,409 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00249 $0.06409
Opus 5.5 $0.00100 $0.02564
Sonnet 5.5 $0.00050 $0.01282
Haiku 4.5 $0.00025 $0.00641

Measured 1mo ago against content hash 2743c6122304, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (evals/fake_codex.py, evals/lint_codex_commands.py, evals/probe_codex_capabilities.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dispatch/skills/codex/SKILL.md · 241 lines

How it starts

The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Codex

Delegate a prompt to OpenAI's codex CLI and stream the result back. The user keeps Claude Code open while a separate model handles the side task.

When to use

Trigger on:

  • /codex <prompt> — explicit invocation
  • "ask codex ...", "run codex ...", "have codex ...", "get codex's take on ..."
  • "check with codex", "validate with codex", "see what codex thinks" — generic delegation; you infer the topic (the user won't name it)
  • second opinions / parallel checks on anything — code, but also non-coding: "have codex review this email", "see what codex thinks of this plan"
  • "diff this with codex", "second opinion from codex"
  • /codex resume, "codex resume", "continue with codex" — resume the matching codex thread (see Topic-aware sessions)
  • /codex review or "have codex review" — code review against the current repo (uses codex review)
  • "use codex to create an image / illustration of X", "have codex illustrate this" — image generation, only when codex is named (see Image generation)
  • "after each step, validate with codex" — only when the user explicitly asks; run the delegation loop each step (not a standing default)

Do NOT trigger for:

  • Anything where the user wants Claude Code itself to do the work ("you write it", "don't delegate this")
  • delegation aimed only at agy / antigravity / gemini (/agy, /gemini — "ask agy ...", "ask gemini ...") — those route to the agy skill. A request naming both codex and agy/gemini triggers both skills; handle the codex portion here.
  • A bare image request that doesn't name codex ("illustrate this", "create an image") — image generation is ambiguous across tools (other tools do it too), so the user picks by naming the tool. Explicit "use codex to …" does trigger (see Image generation).
  • The homonyms / questions about codex — "the Codex Justinianus", "an illuminated codex (manuscript)", "set up Codex billing", "how does the codex CLI work" — a noun, or a question about codex, not a delegation to it.

Read the full file on GitHub · 241 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +1 lines 2743c6122304
  2. 2mo ago Changed · +12 lines e0f52b96be2d
  3. 3mo ago First seen · 228 lines · 249 tokens per session scan A 12ba9427d098

Subscribe to this mod's changes

codex is a skill published in the GitHub repository sparklingneuronics/sparkling-skills (8 stars, last pushed 6d ago), licensed MIT. It adds 249 tokens to every session and 6,409 once invoked, about $0.0010 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

codex compared with skills from other repositories

codex next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codexsparklingneuronics/sparkling-skillsSkill86d agoMITA249Claude Code, Codex
improve-code-qualitywondelai/skillsSkill2.8k8d agoMITA227Claude Code
refactoring-patternswondelai/skillsSkill2.8k8d agoMITA125Claude Code, Codex
reviewerkeli-wen/agy-staffSkill9432d agoMITB94Claude Code
graph-it-livemagic5644/Graph-It-LiveSkill63yesterdayMITA160Claude Code
pr-reviewmagic5644/Graph-It-LiveSkill63yesterdayMITA132Claude Code
graph-it-refactormagic5644/Graph-It-LiveSkill63yesterdayMITA52Claude Code