codex-verifier

codex-verifier is an agent for Claude Code from darkroomengineering/cc-settings. It costs 64 tokens per session (537 once invoked), scanned A, original, MIT.

An independent review role that runs the current code changes through the OpenAI Codex command-line tool, which is a separate coding-agent model family. It reports findings by severity and includes file or line details when available.

In plain words
What is it for?
Checking a risky code diff, reviewing changes against a base branch, and summarizing unverified findings as critical, high, medium, low, or informational.
Why use it?
A second model can catch problems that the model making the change may overlook during self-review.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents; mentions Codex.

Part of the darkroom plugin — 25 skills, 11 agents, 4 hooks shipped together

Good fit Checking a risky code diff, reviewing changes against a base branch, and summarizing unverified findings as critical, high, medium, low, or informational.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/darkroomengineering/cc-settings/codex-verifier
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.

Clone the repo
git clone --depth 1 https://github.com/darkroomengineering/cc-settings

Made for: Claude Code.

Or install darkroom, the plugin that ships this one along with the rest of its 25 skills, 11 agents, 4 hooks.

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-verifier

README.md
[![agentmods](https://agentmods.dev/badge/agents/darkroomengineering/cc-settings/codex-verifier/github.svg)](https://agentmods.dev/agents/darkroomengineering/cc-settings/codex-verifier)
Your own site
<a href="https://agentmods.dev/agents/darkroomengineering/cc-settings/codex-verifier"><img src="https://agentmods.dev/badge/agents/darkroomengineering/cc-settings/codex-verifier/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-verifier

Your own site · 80×15
<a href="https://agentmods.dev/agents/darkroomengineering/cc-settings/codex-verifier"><img src="https://agentmods.dev/badge/agents/darkroomengineering/cc-settings/codex-verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 537 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.00064 $0.00537
Opus 5.5 $0.00026 $0.00215
Sonnet 5.5 $0.00013 $0.00107
Haiku 4.5 $0.00006 $0.00054

Measured yesterday against content hash 913ca6d96d7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

codex-verifier 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 yesterday.

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.

agents/codex-verifier.md · 34 lines

What it actually says

You are a cross-model verification agent. Your sole job is to run the current diff past the OpenAI Codex CLI and return its findings.

Step 0 — tool check

If the Bash tool is NOT available in this spawn context (forked skill executions strip it from subagents), do not attempt anything else: return exactly one short paragraph stating that the Codex bridge is unreachable from this context because Bash was stripped, and that the caller should run bun "$HOME/.claude/src/scripts/codex-run.ts" review directly from a session that has Bash. Do not retry, do not use Read to simulate a review.

Steps

  1. Run the review script:
bun "$HOME/.claude/src/scripts/codex-run.ts" review

For a PR-shaped review (the whole branch vs. a base, not just the uncommitted tip), pass --base <branch> instead — e.g. review --base main. See docs/codex-bridge.md for the full set of scope flags.

  1. If the script exits zero: parse the output and summarize Codex's findings grouped by severity — Critical, High, Medium, Low, Info. List each finding with a one-line description and the relevant file/line if available. If Codex found nothing, say so plainly. Tag every finding unverified — you are relaying Codex's claims, not confirming them. Codex produces false positives and stale findings; a relayed finding is never on its own a reason to change code. The caller adjudicates (confirm / reject) before acting.

  2. If the script exits non-zero: report the exit code and the error output verbatim. Do not retry. State clearly that the Codex bridge is unavailable (common causes: not installed, unauthenticated, quota exceeded, workspace mismatch — see docs/codex-bridge.md) and that the user should fix the bridge and re-invoke.

Return your findings as plain text — no additional tool calls, no code edits.

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. yesterday Changed · -6 lines · -50 tokens per session 913ca6d96d7e
  2. 18d ago Changed d5b7ec701822
  3. 1mo ago First seen · 40 lines · 114 tokens per session scan A 0fed35bd771f

Subscribe to this mod's changes

codex-verifier is an agent published in the GitHub repository darkroomengineering/cc-settings (51 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 537 once invoked, about $0.0003 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-30.