/codex-bridge:codex-reviewfrom codex-bridge
Obtains an independent Codex CLI review of a diff or design, then verifies each finding against the actual code before acting on it.
Ships in codex-bridge. 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.
Get the configured Codex model's independent review and verify its findings. Keep the review subprocess read-only. When the user's broader request includes fixes, the parent completes confirmed fixes and verification without asking again.
| Situation | Command |
|---|---|
| Dirty working tree (default when dirty) | codex review --uncommitted |
| Clean tree on a feature branch | codex review --base <default-branch> |
| A single commit | codex review --commit <sha> |
| Steered review | Check installed help for compatible scope/prompt flags; if they cannot combine, use read-only codex exec with an explicit scope and focus |
| Challenge a design or premise, not just the diff | adversarial mode — §3 |
Check scope before declaring nothing to review: git status --short and git diff --shortstat — untracked files count as reviewable work.
codex review has no -C and no --skip-git-repo-check: run it from the repo root of a git repository.
RUN_DIR="$(mktemp -d "${TMPDIR:-/tmp}/codex-review.XXXXXX")"
cd "$REPO_ROOT" && codex -s read-only review --uncommitted \
> "$RUN_DIR/review.md" 2>"$RUN_DIR/review.err" </dev/null
RUN_DIR outside the repo (mktemp as shown). Artifacts redirected into the working tree become untracked files that Codex then reviews — self-referential noise findings.codex --help and codex review --help for the installed version before first use.</dev/null — non-TTY stdin stalls the CLI otherwise.review.md; if it's empty, read review.err and the exit code before concluding anything.For pressure-testing a decision ("was this caching design right?", "poke holes in this migration plan"): use the template in references/adversarial-review.md — fill in target and focus, keep the skeptical-stance blocks intact, dispatch via codex exec -s read-only as shown there. Add --output-schema <path-to-this-skill>/references/review-findings.schema.json when you want machine-readable findings. Resolve <path-to-this-skill> to the installed codex-review skill directory; do not assume a user-skill install path.
Codex findings are leads, not conclusions:
file:line and a one-sentence concrete failure scenario.Raw Codex review: <RUN_DIR>/review.md.| Symptom | Fix |
|---|---|
| Trust/repo-check errors | a git repo is required, but untrusted dirs reviewed fine as of 0.142.5; if it ever blocks, fall back to codex exec review (check codex exec review --help) |
Stalls on Reading additional input from stdin... | you dropped </dev/null |
| Killed around 2 minutes | use the host's background/session mechanism |
| Empty review output | check review.err; confirm there was something to review (git status --short) |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dedene/skills --plugin codex-bridge2 skills in this plugin
Other plugins' skills for the same job