/agents-bridge:critiquefrom agents-bridge
Cross-checks a Claude proposal (design, refactor, API, fix) with a non-Claude model (Codex) for a critical second opinion before committing.
Ships in agents-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.
None: SKILL.md is the whole skill.
A second pair of eyes from a non-Claude model (Codex) on a proposal Claude just made — a design, refactor, API, or fix. Goal: a genuine cross-model check. Validate what holds up, challenge what is weak, surface a better path when one exists. Not a rubber stamp, not reflexive contrarianism.
NOT for reviewing local git changes — use /agents-bridge:adversarial-review.
It reads the git diff; a proposal usually lives in the conversation, not on
disk, so a diff-based review would miss it (and may review unrelated
working-tree files instead).
Create the run directory. Use the printed path literally in every later step: shell variables do not survive between Bash calls.
"${CLAUDE_PLUGIN_ROOT}/scripts/codex-run.ts" new critique
Write the prompt — grounded — to <dir>/prompt.md with the Write tool.
Start it with the instruction block below, verbatim, then add: the proposal
verbatim, the problem it solves, any constraints, the questions you most want
challenged, an explicit list of the real repo file paths it touches or
depends on, and — if the user gave extra focus with the invocation — a final
## Extra focus from the user section carrying it verbatim. Grounding in
actual code is the one thing that makes the critique useful; skip it and the
review drifts into generic advice.
You are giving a CRITICAL SECOND OPINION on a proposal made by another AI
(Claude), at the user's request. Read everything below, including any "Extra
focus from the user" section, then read the real repo files it lists before
judging. Then: (1) briefly confirm what is sound; (2) challenge only what is
genuinely weak — correctness bugs, wrong assumptions, missed edge cases, or a
simpler/safer/more idiomatic option — grounding every point in the actual
code; (3) where a better path exists, describe it concretely and explain WHY
(tradeoffs); (4) if it is good as-is, say so plainly and do not invent
problems. End with a one-line verdict: SHIP / ADJUST / RECONSIDER.
Run Codex read-only (it is a review; it must not edit), from the repository the proposal is about:
"${CLAUDE_PLUGIN_ROOT}/scripts/codex-run.ts" start <dir> --prompt-file <dir>/prompt.md --role audit
Run each codex-run.ts command alone, as written: a ;, && or echo $? added to it asks for permission, and the envelope's status already gives the exit code.
Exit 0 prints the verdict after the --- final message --- line. Exit 10
means Codex is still working: run "${CLAUDE_PLUGIN_ROOT}/scripts/codex-run.ts" wait <dir>
until the exit code changes. Exit 1 is a failed run: report the envelope's
error and show no verdict.
Relay, then verify. Surface Codex's verdict and reasoning. Then independently check its claims before acting — confirm a flagged bug is real, or push back if Codex is wrong. The value is two models reasoning in the open with Claude adjudicating, never Claude blindly deferring.
Role audit, sandbox read-only. The user may name a model (-m <slug>) or
an effort (--effort <level>); add it to the start command. A critique is
adversarial reasoning work — don't downgrade the tier.
To push back, write the objection to <dir>/pushback-2.md and resume the
thread; resume replays the model, effort and sandbox of the first turn. The
allowed-tools grant covers the invoking turn only, so a later turn may
prompt:
"${CLAUDE_PLUGIN_ROOT}/scripts/codex-run.ts" resume <dir> --prompt-file <dir>/pushback-2.md
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub bengous/claude-code-plugins --plugin agents-bridge6 skills in this plugin
/adversarial-reviewAdversarial review by Codex (OpenAI) of local git changes, either the uncommitted work or the current branch against a base ref, with optional focus text. Codex runs read-only; each finding names a file, a line range and a concrete fix, and the review ends with a SHIP or NO-SHIP verdict. Use when the user asks Codex to review, challenge or attack their uncommitted changes, their diff or their branch before shipping./codexInvoke the OpenAI Codex CLI for cross-model collaboration, a second opinion, or delegated work. Use when the user asks Codex to review, debug, explain, plan or implement something, or names a Codex model./codex-orchestrateClaude Code only. Use when the user explicitly invokes /agents-bridge:codex-orchestrate (or /codex-orchestrate) in Claude Code or asks Claude to orchestrate a large multi-slice plan by delegating implementation to the Codex CLI through agents-bridge. In native Codex, use $slice-runner instead./imagegenGenerate or edit images with the Codex CLI's built-in image_gen tool. Use when the user asks to create, generate or draw an image, icon, logo, favicon, illustration or mockup, or to edit an existing image file — restyle, retouch, upscale, add or remove elements./pair-planningStart a session in pair-planning mode where Claude and Codex (read-only) each draft an independent implementation plan for a task, then cross-review through an open-point ledger until consensus, escalating remaining disagreements to the user. Produces one agreed plan; does not write code. Use at the start of a task to align two frontier models on the approach before implementation.