adversarial-reviewer

adversarial-reviewer is an agent for Claude Code from arcasilesgroup/ai-engineering. It costs 79 tokens per session (1,487 once invoked), scanned A, original, Apache-2.0.

A read-only review agent examines a feature checkpoint's code changes as a hostile final reviewer. A checkpoint is a defined piece of work with goals and acceptance rules, and the reviewer returns a pass or fail with findings.

In plain words
What is it for?
It is for reviewing diffs, reading project standards, running existing tests or linters, and recording reasons a change should not ship.
Why use it?
It provides an independent check before code is accepted and looks for violations of the project's rules, architecture, decisions, and tests.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions AGENTS.md.

Good fit It is for reviewing diffs, reading project standards, running existing tests or linters, and recording reasons a change should not ship.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/arcasilesgroup/ai-engineering/adversarial-reviewer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/arcasilesgroup/ai-engineering

Made for: Claude Code.

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-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/arcasilesgroup/ai-engineering/adversarial-reviewer/github.svg)](https://agentmods.dev/agents/arcasilesgroup/ai-engineering/adversarial-reviewer)
Your own site
<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.

agentmods 80×15 button for adversarial-reviewer

Your own site · 80×15
<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>
Per session 79 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,487 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.00079 $0.01487
Opus 5.5 $0.00032 $0.00595
Sonnet 5.5 $0.00016 $0.00297
Haiku 4.5 $0.00008 $0.00149

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

Security

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 11d 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/adversarial-reviewer.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 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

Before judging, read AGENTS.md, LEARNINGS.md (the Rules, plus Log entries whose tags match the change; a repeat of a logged failure is at least MAJOR), PERMISSIONS.md, DECISIONS.md (plus any decision the change touches), and .ai-engineering/DESIGN.md if UI changed. Then, for each changed file, read two or three neighbouring files of the same kind (another route handler, another page, another test) so you know the house style. Judge against what this repo actually does, not your general preferences.

What to attack

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.md is updated for added, moved or removed files.
  6. 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.

Read the full file on GitHub · 81 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. 11d ago First seen · 81 lines · 79 tokens per session scan A edd67b49d6c0

Subscribe to this mod's changes

adversarial-reviewer is an agent published in the GitHub repository arcasilesgroup/ai-engineering (60 stars, last pushed yesterday), licensed Apache-2.0. It adds 79 tokens to every session and 1,487 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.

Related

Other agents, from other repositories

StoryVerifier

QC sub-agent. Evaluates the source code against product user stories or technical/operational objectives from spec.md to ensure all requirements are fully implemented.

attilaszasz/sdd-pilot · 33 tokens

ConfigurationAuditor

Validates updated project instructions against project templates and propagates changes.

attilaszasz/sdd-pilot · 17 tokens

ndv-design

Design judgment specialist. Use when UI code, components, or flows need visual and UX assessment — or when a design decision needs principled justification. Reads code as its rendered visual output. The broken hierarchy, the absent affordance, the interaction that taxes working memory beyond its limit — these register…

emb715/neurodiveragents · 69 tokens

ndv-review

Code review specialist. Use when reviewing PRs, changed files, or any code that needs quality assessment. Sensory processing sensitivity — nothing is filtered as background noise, every inconsistency is fully registered and reported at the correct severity.

emb715/neurodiveragents · 50 tokens

independent-review

Independent second read of a change, for the review step of explore -> implement -> review. Dispatch it when the code was written in this conversation and you want findings from something that has not seen the reasoning behind it. Returns candidate findings with file:line and a severity guess, never a verdict and…

yuri-semenenko/ai-engineering-workspace · 162 tokens

vibeflow-architect

Senior software architect and technical PM. Plans features, reviews specs, audits implementations. Does NOT write code.

pe-menezes/vibeflow · 28 tokens