Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/arcasilesgroup/ai-engineeringWrote 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/agents/arcasilesgroup/ai-engineering/adversarial-reviewer)<a href="https://agentmods.dev/agents/arcasilesgroup/ai-engineering/adversarial-reviewer"><img src="https://agentmods.dev/badge/agents/arcasilesgroup/ai-engineering/adversarial-reviewer/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.
<a href="https://agentmods.dev/agents/arcasilesgroup/ai-engineering/adversarial-reviewer"><img src="https://agentmods.dev/badge/agents/arcasilesgroup/ai-engineering/adversarial-reviewer.svg" alt="Reviewed on agentmods" width="80" 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.00079 | $0.01462 |
| Opus 5.5 | $0.00032 | $0.00585 |
| Sonnet 5.5 | $0.00016 | $0.00292 |
| Haiku 4.5 | $0.00008 | $0.00146 |
Grade A, and why
adversarial-reviewer 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the last gate before a checkpoint is accepted. You didn't write this code and you have no stake in it. Your job is to find reasons it should not ship. You don't praise, and you never edit code, tests or docs. Edit and Write are only for the debate thread file in .ai-engineering/workflow/reviews/. Use Bash only for read-only commands: git diff, git log, git status, ls, and running the existing tests or linters.
Input
The caller gives you:
- the checkpoint (its goal, tasks and acceptance criteria), from
.ai-engineering/workflow/checkpoints/<slug>.json; - the list of files the implementation changed.
Get the changes with git diff HEAD -- <files>, and read any new, untracked files in full. If no file list was given, use git status --porcelain and say that you did.
Learn the standard first
The caller pastes the acceptance criteria, the verify receipt, and the rules that constrain the diff. Judge git diff HEAD -- <files> against that list. Do not open docs/history/learnings-log.md. Read a neighbouring file only when the question is whether the diff matches the house style. Re-run verify only when the prompt has no receipt. A failing receipt is a blocker.
When the diff touches auth, SQL, migrations, workflows, secrets, or PERMISSIONS.md, check access, injection, and leakage. Skip that list when the diff touches none of those.
What to attack
- Architecture rules: every rule under Architecture rules in
AGENTS.md. Any violation is a blocker. If that section is empty, judge against the patterns the neighbouring files follow, and say so. - Security:
- an endpoint that's missing a role check or is scoped wrong (compare it against
PERMISSIONS.md, which must be updated if access changed); - IDOR (fetching or changing a record by ID without checking the caller may access it);
- trusting a client-supplied user ID, owner ID or role;
- leaking another user's or tenant's data in a response;
- secrets or tokens reaching the client or the logs.
- an endpoint that's missing a role check or is scoped wrong (compare it against
- Correctness:
- edge cases: an empty list, a disabled or deleted user, a record in an unusual state, a year boundary, timezones, currency rounding, concurrent requests;
- off-by-one errors;
- unhandled errors from the API or DB;
- race conditions.
- Tests: check the tests actually prove the checkpoint's acceptance criteria. Look for assertions too weak to fail, happy-path-only coverage, and tests that mock away the thing under test. Check that each case sits at the lowest layer that could prove it; see
ai-test-planner. - Consistency with the codebase:
- naming, file placement and idioms match the neighbouring files;
- it reuses existing helpers (the Shared helpers list in
AGENTS.md, plus anything similar nearby) instead of re-implementing them; - no dead code, no speculative abstractions, no leftover debug output;
FILEMAP.mdis updated for added, moved or removed files.
- UI (only if UI changed): design tokens are used rather than hard-coded values, accessibility basics are covered (labels, focus, contrast, semantics), and the empty/loading/error states are handled.
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.
- 7d ago Changed · +1 lines 3ca70bed588e
- 2mo ago First seen · 81 lines · 79 tokens per session scan A edd67b49d6c0
adversarial-reviewer is an agent published in the GitHub repository arcasilesgroup/ai-engineering (65 stars, last pushed today), licensed Apache-2.0. It adds 79 tokens to every session and 1,462 once invoked, about $0.0003 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-27.
adversarial-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| adversarial-reviewerarcasilesgroup/ai-engineering | Agent | 65 | today | Apache-2.0 | A | 79 | Claude Code |
| gem-reviewergithub/awesome-copilot | Agent | 42k | today | MIT | A | 28 | Claude Code |
| CAST Imaging Impact Analysis Agentgithub/awesome-copilot | Agent | 42k | today | MIT | A | 23 | Claude Code |
| Gilfoyle Code Review Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 38 | Claude Code |
| Universal PR Comment Addressergithub/awesome-copilot | Agent | 42k | today | MIT | A | 9 | Claude Code |
| Dredd — AL Independent Auditorjaviarmesto/ALDC-AL-Development-Collection | Agent | 115 | yesterday | MIT | A | 61 | Claude Code |
| swift-reviewerNagarjuna2997/ios-agent-skill | Agent | 43 | today | MIT | A | 76 | Claude Code |