codex-review

codex-review is a skill for Claude Code, Codex from will-pagane/claude-superdev-harness. It costs 271 tokens per session (4,729 once invoked), scanned B, original, MIT.

A review process in which Claude Code creates an implementation plan and OpenAI Codex checks it without changing files. They exchange feedback through a plan file before coding starts.

In plain words
What is it for?
Use it to challenge an existing engineering plan and decide whether it is safe and complete enough to implement.
Why use it?
It helps find flawed assumptions and risky design choices before work begins, especially for authentication, data models, concurrency, migrations, and payments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; reads ~/.codex paths; runs codex exec.

Good fit Use it to challenge an existing engineering plan and decide whether it is safe and complete enough to implement.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/will-pagane/claude-superdev-harness/codex-review
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 will-pagane/claude-superdev-harness --skill codex-review
Clone the repo
git clone --depth 1 https://github.com/will-pagane/claude-superdev-harness

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/will-pagane/claude-superdev-harness/codex-review/github.svg)](https://agentmods.dev/skills/will-pagane/claude-superdev-harness/codex-review)
Your own site
<a href="https://agentmods.dev/skills/will-pagane/claude-superdev-harness/codex-review"><img src="https://agentmods.dev/badge/skills/will-pagane/claude-superdev-harness/codex-review/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-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/will-pagane/claude-superdev-harness/codex-review"><img src="https://agentmods.dev/badge/skills/will-pagane/claude-superdev-harness/codex-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 271 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,729 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00271 $0.04729
Opus 5.5 $0.00108 $0.01892
Sonnet 5.5 $0.00054 $0.00946
Haiku 4.5 $0.00027 $0.00473

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

Security

Grade B, and why

codex-review scanned grade B with 1 finding 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 3mo ago.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Do NOT pin `-m` unless the user asks. The user's `~/.codex/config.toml` default model is used. Pinning `gpt-5.x-codex` variants fails on ChatGPT-account auth.
skills/codex-review/SKILL.md · 198 lines

How it starts

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

Codex-Review — Adversarial Plan-Review Loop

Two models, one plan, a bounded argument. Claude is the builder and orchestrator. Codex is a read-only critic that can read the repo and the plan but cannot touch a single file. They communicate strictly through this run's plan file ($PLAN_FILE, under a timestamped $RUN_DIR) + a Codex session that persists across rounds. The human enters at exactly two points: kickoff and final sign-off.

This is a deliberate, high-stakes tool — reach for it on auth, data models, concurrency, migrations, payments, anything expensive to get wrong. Skip it for obvious/cheap work.

Prerequisites (verify once, fast)

  • Codex CLI installed and recent: codex --version (need ≥ 0.130; the default gpt-5.5 model errors on older CLIs).
  • Codex authenticated: a prior codex login (ChatGPT account is fine). If a run returns an auth/model error, surface it to the user — do not silently retry.
  • Do NOT pin -m unless the user asks. The user's ~/.codex/config.toml default model is used. Pinning gpt-5.x-codex variants fails on ChatGPT-account auth.
  • Sandbox flag differs between the two commands. codex exec accepts -s read-only. codex exec resume does NOT — it rejects -s ("unexpected argument"). On resume you MUST force read-only via -c sandbox_mode="read-only", because config.toml may default sandbox_mode to danger-full-access (+ approval_policy="never") — which would let Codex WRITE files mid-loop. This is the single most important safety detail in this skill: verified end-to-end on 2026-06-04.

Tunable variables (read from skill args, else default)

Var Default Meaning
MAX_ROUNDS 5 Cap on review rounds. The loop terminates here unless rounds=until-approved.
SLUG derived from the task (2–5 kebab-case words) Names the run. Keep it descriptive, e.g. wave5-cleanup, anon-rpc-hardening.
STAMP $(date +%Y%m%d-%H%M) Run timestamp. Makes the run dir unique so parallel sessions never collide.
RUN_DIR docs/codex-review/<SLUG>-<STAMP>/ Per-run, session-owned folder. All of this run's artifacts live here — nothing at repo root. Mirrors how docs/superpowers/ scopes its artifacts. Created at kickoff.
PLAN_FILE $RUN_DIR/PLAN.md Where the evolving plan lives (inside the run dir, never repo root).
LOG_FILE $RUN_DIR/PLAN-REVIEW-LOG.md Append-only transcript of the argument (every round's critique + what changed). The artifact.
VERDICT_FILE $RUN_DIR/codex-verdict.txt Codex's last-message capture. Per-run, NOT /tmp — a shared /tmp/codex-verdict.txt clobbers across concurrent runs.

Read the full file on GitHub · 198 lines

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. 3mo ago First seen · 198 lines · 271 tokens per session scan B 7797cdbefbd1

Subscribe to this mod's changes

codex-review is a skill published in the GitHub repository will-pagane/claude-superdev-harness (4 stars, last pushed 1mo ago), licensed MIT. It adds 271 tokens to every session and 4,729 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

codex-review compared with skills from other repositories

codex-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-reviewwill-pagane/claude-superdev-harnessSkill41mo agoMITB271Claude Code, Codex
idea-teammajiayu000/spellbookSkill3012d agoMITA182Claude Code
codex-agentmajiayu000/spellbookSkill3012d agoMITA45Claude Code
project-health-auditormajiayu000/spellbookSkill3012d agoMITA31Claude Code
review-gatemajiayu000/spellbookSkill3012d agoMITA95Claude Code, Codex
cross-reviewrgomezcasas/dotfilesSkill3628d agoMITA96Claude Code, Codex
at-reviewkairyou/agent-toolsSkill186yesterdayMITA47Claude Code, Codex