claude-codex

claude-codex is a skill for Claude Code, Codex from sonichi/sutando. It costs 81 tokens per session (1,769 once invoked), scanned A, original, MIT.

A command-line bridge that sends prompts from Claude Code to the locally installed Codex coding agent. It is intended for non-interactive runs from scripts, scheduled jobs, or another tool.

In plain words
What is it for?
Use it to ask Codex for code reviews, second opinions, bug inspections, implementation proposals, or one-shot prototypes and other standalone artifacts.
Why use it?
It makes it possible to delegate a review, bug investigation, or self-contained build to Codex while saving or streaming the result in the current project.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/sonichi/sutando/claude-codex
Any agent
npx skills add sonichi/sutando --skill claude-codex
Clone the repo
git clone --depth 1 https://github.com/sonichi/sutando

Made for: Claude Code, Codex.

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 claude-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonichi/sutando/claude-codex.svg)](https://agentmods.dev/skills/sonichi/sutando/claude-codex)
Your own site
<a href="https://agentmods.dev/skills/sonichi/sutando/claude-codex"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/claude-codex.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,769 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00081 $0.01769
Opus 5 $0.00041 $0.00885
Sonnet 5 $0.00016 $0.00354
Haiku 4.5 $0.00008 $0.00177

Measured 4d ago against content hash 65701060c000, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

claude-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 4d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/codex-bounded.sh, scripts/codex-run.sh, scripts/review-pr.sh), 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.

skills/claude-codex/SKILL.md · 145 lines

How it starts

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

Claude Codex

Delegate work from Claude Code to the local codex CLI. This skill assumes Codex is already authenticated on this machine. It does not mint, extract, or transfer credentials.

Usage: /claude-codex [prompt]

ARGUMENTS: $ARGUMENTS

When to Use

  • "Ask Codex to review this change"
  • "Use my Codex subscription from Claude Code"
  • Need a second model to inspect a bug, review a diff, or propose an implementation
  • Need a Codex result saved or streamed from the current repo
  • Spec-driven one-shot build of a self-contained artifact (HTML/CSS/JS prototype, single-file demo) — use --goal to invoke Codex's /goal mode

When NOT to Use

  • Interactive review from this Claude Code session → use /codex:review, /codex:adversarial-review, or /codex:rescue from the openai/codex-plugin-cc plugin. They're the discoverable, versioned path.
  • Anything that needs a Codex session ID / job tracking / status polling → plugin's /codex:status is the right surface.

If you don't see /codex:* slash-commands available, install the plugin in this Claude Code session:

/plugin marketplace add openai/codex-plugin-cc
/plugin install codex@openai-codex
/reload-plugins
/codex:setup

This skill stays as the non-interactive bash-wrapper path — invoked by discord-bridge.py's team-tier ===SUTANDO SYSTEM INSTRUCTIONS=== block (codex exec --sandbox read-only on Discord tasks from non-owner senders), cron-fired jobs that need a one-shot codex call, and similar file-bridge workflows where a plugin slash-command can't reach.

Guardrails

  • Prefer codex review --uncommitted for code review.
  • Prefer codex exec for analysis, planning, or implementation prompts.
  • Keep Codex pointed at the same repo with -C "$PWD" unless the user asked for another directory.
  • Default to workspace-write sandbox or stricter. Do not use bypass flags unless the user explicitly asks.

Quick Checks

codex login status
bash "$SKILL_DIR/scripts/codex-run.sh" --check

Read the full file on GitHub · 145 lines

Files

What ships with it

4 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. 4d ago First seen · 145 lines · 81 tokens per session scan A 65701060c000

Subscribe to this mod's changes

claude-codex is a skill published in the GitHub repository sonichi/sutando (391 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 1,769 once invoked, about $0.0004 per session on Opus 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-30.