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.
/plugin marketplace add arcobaleno64/agy-plugin-cc/plugin install geminiWrote 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.
[](https://agentmods.dev/commands/arcobaleno64/agy-plugin-cc/adversarial-review)<a href="https://agentmods.dev/commands/arcobaleno64/agy-plugin-cc/adversarial-review"><img src="https://agentmods.dev/badge/commands/arcobaleno64/agy-plugin-cc/adversarial-review.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.01935 |
| Opus 5 | $0.00008 | $0.00967 |
| Sonnet 5 | $0.00003 | $0.00387 |
| Haiku 4.5 | $0.00002 | $0.00194 |
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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Those arguments must never reach a shell
$ARGUMENTS is substituted into this file as text, so a shell receiving it
would evaluate whatever it contains — $(…), backticks, ;, |. Measured on
the job commands: $(echo INJECTED) was executed before Node ever started.
Read the argument text, then assemble the command from fixed pieces only. Never place the argument text, or any fragment of it, into a command, and never pass it as a single quoted string. Every value below must be one you checked against its list and then wrote out yourself — chosen, never copied:
--base <ref>: only if it matches^[A-Za-z0-9._/~^-]+$--scope <value>:auto,working-tree,branch--engine <value>:auto,gemini,agy--model <value>: an alias (flash,pro,lite, …) or an id matching^[A-Za-z0-9][A-Za-z0-9._-]*$--effort <value>:none,minimal,low,medium,high,xhigh--engines <value>:gemini,agyoragy,gemini— nothing else is a valid pair--timeout <seconds>: only if it is entirely digits and between 30 and 3600--deep,--wait,--background,--json: literal flags, no value Any remaining text is the review focus. It is free text, so there is no safe way to quote it into a command line: use the Write tool to put it in a file and pass--focus-file <that path>. Build the path yourself; never from the user's text.
If a value is not in its set, stop and say so rather than passing it through to find out.
Run an adversarial Gemini review through the shared plugin runtime. Position it as a challenge review that questions the chosen implementation, design choices, tradeoffs, and assumptions. It is not just a stricter pass over implementation defects.
Raw slash-command arguments:
$ARGUMENTS
Core constraint:
- This command is review-only.
- Do not fix issues, apply patches, or suggest that you are about to make changes.
- Your only job is to run the review and return Gemini's output verbatim to the user.
- Keep the framing focused on whether the current approach is the right one, what assumptions it depends on, and where the design could fail under real-world conditions.
Execution mode rules:
- If the raw arguments include
--engines, do not ask. Run the companion in the foreground with those arguments; the runtime queues the grouped jobs in the background and returns the group ID immediately. - If the raw arguments include
--wait, do not ask. Run in the foreground. - If the raw arguments include
--background, do not ask. Run in a Claude background task. - Otherwise, estimate the review size before asking:
- For working-tree review, start with
git status --short --untracked-files=all. - For working-tree review, also inspect both
git diff --shortstat --cachedandgit diff --shortstat. - For base-branch review, use
git diff --shortstat <base>...HEAD. - Treat untracked files or directories as reviewable work even when
git diff --shortstatis empty. - Only conclude there is nothing to review when the relevant scope is actually empty.
- Recommend waiting only when the scoped review is clearly tiny, roughly 1-2 files total and no sign of a broader directory-sized change.
- In every other case, including unclear size, recommend background.
- When in doubt, run the review instead of declaring that there is nothing to review.
- For working-tree review, start with
- Then use
AskUserQuestionexactly once with two options, putting the recommended option first and suffixing its label with(Recommended):Wait for resultsRun in background
Argument handling:
- Preserve the user's arguments exactly.
- Do not strip
--waitor--backgroundyourself. - Do not weaken the adversarial framing or rewrite the user's focus text.
- The companion script handles
--backgrounditself: it enqueues the review and spawns a detachedreview-worker, so the result outlives the foreground command. It does not outlive the session:SessionEndremoves this session's job records, finished ones included, so collect it with/gemini:resultbefore the session ends. Do not use Claude'srun_in_background: truefor it. /gemini:adversarial-reviewuses the same review target selection as/gemini:review(including--base <ref>and--scope).- Unlike
/gemini:review, it can take extra focus text after the flags. --engines gemini,agyqueues the same blind prompt on both available engines as a background group. The jobs share a group ID but do not receive each other's identity or output. Do not combine--engineswith--engineor--wait.- If one requested engine is unavailable, the runtime prints a degradation warning to stderr and queues the remaining engine as a normal single job. If neither is available, it fails without creating a job.
--timeout <seconds>is not only how long the run may take: it is also a ceiling on how much output can be produced, because a turn that cannot finish emitting inside the window is killed. Raise it for a large scope or a batch; both engines default to 600 seconds.--deepruns an agentic review: Gemini uses its read-only tools to inspect repo context beyond the diff (dependency manifests, untracked files, callers) before producing the same JSON findings. Slower and higher-token; omit it for the fast, diff-scoped default. Pair--deepwith--backgroundfor larger 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.
- today Changed · +2 lines 211622ab06b8
- 3d ago Changed 82e3bd9dddee
- 8d ago First seen · 99 lines · 15 tokens per session scan A d1bff0ef47f8
adversarial-review is a command published in the GitHub repository arcobaleno64/agy-plugin-cc (10 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 1,935 once invoked, about $0.0001 per session on Opus 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.
Other commands, from other repositories
review
Get an independent cross-model review of the current diff from Antigravity (Gemini), then reconcile as the final judge.
merge-check
A pre-merge checklist command for a GitHub pull request. A pull request is a proposed code change, and the command checks whether it meets the project’s documented requirements before merging.
release-kick
A release command for the River Review project that checks release instructions and pull-request state, updates an out-of-date branch, and verifies the release after merging.
plan-merge-order
A command that plans the order for merging several pull requests (PRs), which are proposed code changes reviewed before entering a shared branch. It checks their status and file changes, then studies dependencies and overlap to reduce rebasing work.
verify-agent-report
A command for checking whether an agent’s reported branch, pull request, commit, or files actually exist. A pull request is a proposed code change submitted for review.
preflight
A pre-work check for finding whether a coding task or pull request is already finished, obsolete, or being handled elsewhere. A pull request is a proposed change to a code repository.