/codex:review-codex [review target | branch/commit] [--recheck <findings file>] [--model <m>] [--effort <e>]from codex
Hand the current diff or a named target to OpenAI Codex for one read-only, cross-model code review that reports only blocking (P0) and must-fix (P1) findings, each with evidence or marked unproven. Use when the user wants Codex to review their work — "have Codex review this", "get Codex's take on the diff", "cross-model review of my changes", "what does Codex think of this code" — or to recheck fixed findings ("recheck these with Codex", `--recheck <findings file>`), which runs in a fresh Codex session that sees the evidence, not the author's argument. With no argument it reviews the uncommitted working tree. Surfaces the findings verbatim, then stops. It does NOT fix anything, does NOT loop review rounds, and does NOT run Claude and Codex side by side. When Codex is unavailable it runs the same review once in a fresh read-only Claude subagent and labels it as the fallback.
Ships in codex. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
One cross-model code review by OpenAI Codex: a single pass that reports only P0 and P1 findings, each backed by evidence or marked unproven. You compose grounded instructions, route them through the bridge, surface the findings exactly as returned, then stop. You never fix anything. Review is a sensor, not a verdict: the author proves each finding with a failing test (or dismisses it with evidence) before acting on it.
Codex availability (probed at load):
!python3 "${CLAUDE_PLUGIN_ROOT}/scripts/codex_bridge.py" --probe
!python3 "${CLAUDE_PLUGIN_ROOT}/scripts/codex_bridge.py" --resolve-defaults
Arguments: $ARGUMENTS
First, read ${CLAUDE_PLUGIN_ROOT}/references/shared-behavior.md (untrusted-output
handling, prompt composition, overrides, the bridge call, exit codes, verbatim output, session
id) and ${CLAUDE_PLUGIN_ROOT}/references/review.md (the review and recheck prompt
templates). The rules below are review-specific and win over shared-behavior where they differ.
Proceed with the bridge only when the probe above shows CODEX: YES (only that verdict
matters; text after it is informational). Any other line, or a bridge exit of 10, 11 or 12,
means Codex is unavailable. Then, unlike ask-codex and delegate-codex:
Explore subagent (read-only) with the same composed instructions
from references/review.md. It has no context from this session, so the brief must be
self-contained (target, diff command, focus, the P0/P1 bar and the finding shape).Claude fallback review (Codex unavailable: <reason>), then stop.Never run both models on the same target, and never add a third model to judge between them.
--recheck <file>, and
optional --model/--effort (shared rules).--recheck <file>): read the findings file. For each finding id it names,
collect the evidence the author recorded: the failing-then-passing test command and its
output, or the dismissal evidence (file:line, a test that cannot be made to fail). Compose
the recheck template from references/review.md and run a new plain read-only
bridge call. Never resume the original review session, and never include the author's
argument for a dismissal, only its evidence. Codex answers per finding RESOLVED, STILL OPEN
or NOT REPRODUCED with evidence, and may raise only new P0 findings. Skip steps 3 to 5.git status --porcelain, git diff, recently
touched files) and the conversation for focus, then run the bridge in --review mode
(its default scope is the uncommitted working tree).--review) whose instructions tell Codex to inspect that range via read-only git.
--review scope flags cannot be combined with a prompt.--review with the target
as the focus over the working tree.references/review.md, including the line telling
Codex not to modify files, run formatters, or install dependencies.--recheck of exactly those findings.
Anything still disputed after that recheck goes to the user as one question.What SKILL.md sets; muted values are Claude Code's defaults
opusmediumnpx claudepluginhub zakattack9/agentic-coding --plugin codex3 skills in this plugin
/ask-codexAsk OpenAI Codex a free-form question for a cross-model second opinion — an explanation, a plan/approach review, a repo question, or a take on a diff, answered by a different provider's model. Use when the user wants Codex's view — "ask Codex how X works", "what would Codex do here", "get Codex's opinion on this approach", "ask Codex about this repo". With a question it runs immediately; with no question it suggests 2–4 context-derived questions to choose from. Read-only — Codex inspects the repo but changes nothing. Surfaces Codex's answer verbatim, then stops. It does NOT edit files or run a write task (that is delegate-codex), and it does NOT answer as Claude when Codex is unavailable (it reports and stops, fail-open). Needs an OpenAI-authenticated Codex CLI./delegate-codexHand a write task to OpenAI Codex and let it edit the working tree — a cross-model "go implement this" to a different provider's model. User-invoked only. Use when you want Codex (not Claude) to make the change — "delegate this to Codex", "have Codex implement X", "let Codex fix this in the repo". With a task it runs immediately in a workspace-write sandbox; with no task it suggests 2–4 context-derived tasks to choose from. One foreground run — it surfaces Codex's output and the resulting git diff (attributing Codex's edits vs any pre-existing changes) and leaves the edits uncommitted and unstaged. It does NOT commit, stage, branch, retry, or auto-fix; it does NOT apply edits as Claude when Codex is unavailable (it reports and stops, fail-open); and it is NOT for read-only review/Q&A (use review-codex / ask-codex). Needs an OpenAI-authenticated Codex CLI.Other plugins' skills for the same job