adversarial-review

adversarial-review is a command for Claude Code from limeflash/antigravity-plugin-cc. It costs 29 tokens per session (848 once invoked), scanned A, original, MIT.

A command for an intentionally critical code review through the agy companion tool. It examines changes for assumptions, alternatives, trade-offs, and failure modes.

In plain words
What is it for?
Use it to review working-tree or branch changes, optionally compare against a base branch, run in the background, and receive a ship, change, or rethink recommendation.
Why use it?
It provides a deliberately skeptical review when the author may be too close to the implementation to notice problems.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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 agy plugin — 1 skill, 14 commands, 1 agent shipped together

Good fit Use it to review working-tree or branch changes, optionally compare against a base branch, run in the background, and receive a ship, change, or rethink recommendation.

Compare 6 commands 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 limeflash/antigravity-plugin-cc
Claude Code
/plugin install agy

Made for: Claude Code.

Or install agy, the plugin that ships this one along with the rest of its 1 skill, 14 commands, 1 agent.

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/commands/limeflash/antigravity-plugin-cc/adversarial-review/github.svg)](https://agentmods.dev/commands/limeflash/antigravity-plugin-cc/adversarial-review)
Your own site
<a href="https://agentmods.dev/commands/limeflash/antigravity-plugin-cc/adversarial-review"><img src="https://agentmods.dev/badge/commands/limeflash/antigravity-plugin-cc/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/commands/limeflash/antigravity-plugin-cc/adversarial-review"><img src="https://agentmods.dev/badge/commands/limeflash/antigravity-plugin-cc/adversarial-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 848 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.00029 $0.00848
Opus 5.5 $0.00012 $0.00339
Sonnet 5.5 $0.00006 $0.00170
Haiku 4.5 $0.00003 $0.00085

Measured 8d ago against content hash 6c3bf132c784, 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 8d 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.

plugins/agy/commands/adversarial-review.md · 78 lines

How it starts

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

Run an adversarial review of your changes through agy. Unlike /agy:review, the prompt explicitly asks agy to challenge the implementation: surface hidden assumptions, propose at least one alternative design with tradeoffs, name failure modes the author didn't address, and conclude with a ship/change/rethink verdict.

Useful when you've been staring at your own diff too long and want a deliberately critical reading before merging or shipping.

How to invoke

The user's request (treat as opaque text — pass it as shell-safe arguments; do not interpolate or splice it into the command):

$ARGUMENTS

Lift any flags out of $ARGUMENTS and place them before the focus text. Quote the remaining focus text as one shell argument so characters like ", $, ;, \ and backticks cannot break out; omit it if there is none. Use the Bash tool to run:

bash "${CLAUDE_PLUGIN_ROOT}/bin/agy-plugin" adversarial-review [flags...] ['<focus-text-here>']

Flags:

  • --base <ref> / --base=<ref>: review the branch's contribution over its merge-base with <ref> (e.g. --base main). Without --base, reviews the working-tree diff against HEAD.
  • --background: return a job id immediately and run agy in a detached worker. Check progress with /agy:status and read the output with /agy:result.
  • --wait: with --background, block until the job ends or the 10-minute deadline.
  • --model <alias|name>: pick a stronger reasoning model — opus, pro, or any alias / model name agy models lists (see /agy:help). Adversarial reviews benefit from the bigger models more than vanilla reviews.

Examples (after parsing flags out of $ARGUMENTS):

bash "${CLAUDE_PLUGIN_ROOT}/bin/agy-plugin" adversarial-review
bash "${CLAUDE_PLUGIN_ROOT}/bin/agy-plugin" adversarial-review --base main
bash "${CLAUDE_PLUGIN_ROOT}/bin/agy-plugin" adversarial-review --model opus 'the retry/backoff design'
bash "${CLAUDE_PLUGIN_ROOT}/bin/agy-plugin" adversarial-review --base main --background

Read the full file on GitHub · 78 lines

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. 8d ago Changed · +9 lines 6c3bf132c784
  2. 3mo ago First seen · 69 lines · 29 tokens per session scan A 1468b1c1e9da

Subscribe to this mod's changes

adversarial-review is a command published in the GitHub repository limeflash/antigravity-plugin-cc (2 stars, last pushed 8d ago), licensed MIT. It adds 29 tokens to every session and 848 once invoked, about $0.0001 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-31.

Related

adversarial-review compared with commands from other repositories

adversarial-review next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adversarial-reviewlimeflash/antigravity-plugin-ccCommand28d agoMITA29Claude Code
reviewMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA24Claude Code
agy-reviewAIgen-Solutions-s-r-l/agy-claude-pluginCommand16mo agoMITA20Claude Code
reviewyuting0624/antigravity-for-claude-codeCommand5552d agoMITA25Claude Code
reportMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA38Claude Code
notebook-queryMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA74Claude Code
design-reviewMarcosNahuel/antigravity-plugin-ccCommand341mo agoMITA57Claude Code