adversarial-review

adversarial-review is a skill for Claude Code from bengous/claude-code-plugins. It costs 102 tokens per session (1,233 once invoked), scanned A, original, MIT.

A read-only review helper in which Codex tries to find reasons local Git changes should not ship. Each finding includes a file, line range, and suggested fix, followed by a SHIP or NO-SHIP verdict.

In plain words
What is it for?
Use it to review uncommitted work or compare a branch with a base reference for bugs, security risks, and other release-blocking problems.
Why use it?
It provides an independent challenge to confidence in a change without modifying files. It also prevents wasting a review on an empty change set and pauses if an untracked file may be secret or a dependency tree.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Codex.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the agents-bridge plugin — 6 skills shipped together

Good fit Use it to review uncommitted work or compare a branch with a base reference for bugs, security risks, and other release-blocking problems.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add bengous/claude-code-plugins
Claude Code
/plugin install agents-bridge

Made for: Claude Code.

Or install agents-bridge, the plugin that ships this one along with the rest of its 6 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/adversarial-review"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/adversarial-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,233 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.00102 $0.01233
Opus 5.5 $0.00041 $0.00493
Sonnet 5.5 $0.00020 $0.00247
Haiku 4.5 $0.00010 $0.00123

Measured 14d ago against content hash ad24b870b891, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

adversarial-review 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 14d 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.

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-bridge/skills/adversarial-review/SKILL.md · 107 lines

How it starts

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

Adversarial review of local changes

Codex tries to break confidence in a git change: it looks for the strongest reasons the change must not ship. The review is read-only. This skill edits no file; fixing a finding is a separate request.

The diff and the untracked files it lists go to OpenAI. Stop and ask when an untracked file looks like a secret or a dependency tree.

For a proposal that lives in the conversation, not on disk, use critique.

Workflow

  1. Parse the arguments. --base <ref> selects the branch diff against <ref>; without it, the target is the uncommitted work (staged, unstaged, untracked). -m <model> selects the Codex model. Everything else is the user's focus text, kept verbatim. <ref> and <model> go into commands inside single quotes, as written below.

  2. Check that the target is not empty. A Codex run on nothing wastes minutes, so stop here with the reason when a check fails.

    • Uncommitted: git status --short --untracked-files=all must print at least one line. When it prints nothing, suggest --base <ref>.
    • Branch: git rev-parse --verify --end-of-options '<ref>' must succeed, and git diff --shortstat '<ref>...HEAD' must print a line. Also run git status --short: when it prints lines, tell the user that this uncommitted work is outside the review.
  3. 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 review
    
  4. Write the prompt with the Write tool to <dir>/prompt.md. User text goes in this file, never inline in the shell command: quotes and backticks break it.

    Run an adversarial code review. Read ${CLAUDE_PLUGIN_ROOT}/skills/adversarial-review/prompt.md
    and follow it exactly.
    
    ## Target
    
    uncommitted            <- or: base <ref>
    
    ## Focus from the user
    
    <focus text verbatim, or: none>
    

Read the full file on GitHub · 107 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 14d ago Changed · -18 lines ad24b870b891
  2. 1mo ago First seen · 125 lines · 102 tokens per session scan A 4297d4090756

Subscribe to this mod's changes

adversarial-review is a skill published in the GitHub repository bengous/claude-code-plugins (5 stars, last pushed today), licensed MIT. It adds 102 tokens to every session and 1,233 once invoked, about $0.0004 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-09-16.