After an AI drafts code or research notes, asking it to “review this” is common. That pass is useful for polish.
📑Table of Contents
But self-evaluation in the same conversation often softens critique and leaves weak release criteria.
What this article covers
This article explains adversarial verification (also called adversarial review) for Claude agent workflows, grounded in Anthropic’s named pattern plus independent sources.
You will get:
- the contrast with ordinary review
- Claude Code startup patterns
- token-cost bounds
- a human accept/weaken/reject checklist
Bottom line: keep “review this” for light first passes.
For high rework-cost deliverables, add adversarial verification that assumes defects, challenges the artifact, and returns a verdict plus evidence.
What adversarial verification is
Definition
Adversarial verification means a second viewpoint—separate from the implementer—stress-tests the artifact on the assumption that something is wrong.
It then returns severity-tagged findings with rationale.
Key contrast:
- It is not a generic list of “nice improvements.”
- It is a controlled challenge against a rubric or acceptance criteria.
Anthropic’s named pattern
Anthropic’s Claude Code blog defines Adversarial verification as a named dynamic-workflow pattern.
In practice:
- Whenever one agent produces work, a second spawned agent challenges that output against an explicit rubric or acceptance criteria.
- Deep-research style skills may search first, adversarially check claims, then synthesize.
Practical properties
That definition implies three practical properties:
- Independence — the evaluator sees the artifact and criteria, not the implementer’s self-justifying narrative.
- Adversarial premise — look for failure modes first, not optional polish.
- Actionable output — severity, evidence, and confidence so a human can decide.
The analogy to red teams or a devil’s advocate is fine at a high level; operationally, what matters is fixing criteria + fresh context + decision-ready output.
Terminology note — not the same as security-exam “adversarial” attacks
Exam and security senses of “adversarial”
In security and ML exam prep, “adversarial” often names attacker-side techniques, not an agent quality workflow. A short Japanese exam-prep video on attack methods (Information Security Specialist / Information Security Management style terminology) lists names such as the table below.
Example attacker-side terms
| Exam / security term | Rough attacker goal |
|---|---|
| Adversarial Examples attack | Tiny input perturbations that still look normal to humans but flip a model’s decision |
| Model Inversion attack | Infer or reconstruct training-data traits from model I/O |
| Adaptively Chosen Message attack | Choose the next query using prior responses (adaptive crypto/signing-style attack family) |
| DRDoS (Distributed Reflection DoS) | Distributed denial of service via reflection/amplification |
For a concise walkthrough of those attack names, see this educational video (Toppakou channel, ~3 minutes).
Contrast with adversarial verification in this article
That cluster is not the topic of this article.
| Term | Target | Goal |
|---|---|---|
| Adversarial-example and related exam attacks | Model inputs, queries, or infrastructure | Fool, extract, or disrupt (attacker view) |
| Adversarial verification (this article) | AI-produced artifacts (code, research notes) | Challenge the artifact and return verdict + evidence (quality workflow) |
Search and sharing wording
When sharing or searching, prefer “adversarial verification / adversarial review.” Broad queries on “adversarial” alone often surface exam attack pages (examples, inversion, DRDoS) unrelated to this workflow.
Ordinary review vs adversarial verification
| Dimension | Ordinary “review this” | In-Claude adversarial verification | Cross-model (e.g., Codex adversarial) |
|---|---|---|---|
| Premise | Find improvements | Assume defects; try to falsify | Another model attacks weaknesses/design |
| Context | Same conversation bias | Fresh subagent / separate role | Separate runtime and model family |
| Output | Mostly a finding list | Verdict, severity, evidence | Aggressive review; optional review gate |
| Cost | Relatively low | Higher under multi-agent | Extra quota/time cost |
| Best fit | Light polish, first pass | Pre-ship, research verification, ADRs | High-risk design, auth, competitive claims |
Sources and when each fits
Sources (as of July 2026):
Ordinary review still belongs in the toolkit. Adversarial verification is the deeper pass when the question is “is this safe to ship or publish?”
Independence in Japanese practice write-ups
Japanese practice write-ups describe:
- splitting implementer and evaluator
- instructing the evaluator to assume the code is wrong and list critiques first
- withholding the implementer’s self-justification notes
See Clawd / note. That matches the official preference for fresh-context independence.
How to run it in Claude Code
Fastest path
Fastest path after a deliverable is ready:
- “Adversarially verify this artifact. Assume defects, falsify claims, and return verdict + severity + evidence.”
- Optionally: “Use a subagent so implementation context does not leak into the review.”
Official best-practice step
Official Claude Code best practices recommend an adversarial review step before treating work as done: have a subagent review the diff in a fresh context and report gaps.
Key points:
- the reviewer sees the diff and criteria—not the original reasoning
- for correctness-focused reviews, the bundled
/code-reviewskill is cited as an example - for plan conformance, spell out the target, the plan, and what counts as a finding
Source: Claude Code best practices — Add an adversarial review step
Outside Claude Code
Outside Claude Code, recreate independence operationally:
- Open a new session (avoid continuing the builder thread).
- Paste only the artifact (omit implementer rationalization notes).
- Give a skeptic prompt (independence, adversarial role, primary-source grounding, decision-ready format).
- For each finding, record accept / weaken / reject as a human.
Generator-then-critic framing
Independent analyses (e.g., MindStudio) frame adversarial verification as a generator-then-critic loop:
- a critic challenges output before trust
- the same pattern applies to research claim fact-checking, not only code
- it tends to pay for itself on high-stakes work—shipping broken code, locking a bad design decision, or publishing a wrong analysis
When to use it — cost and failure modes
Token cost
Adversarial verification is not free. Anthropic reports multi-agent implementations often use about 3–10× more tokens than single-agent approaches for equivalent tasks.
Drivers include:
- duplicated context
- coordination messages
- handoff summaries

Source: Building multi-agent systems: when and how to use them (Anthropic blog, Jan 2026).
High rework-cost targets
Reserve the technique for high rework-cost artifacts:
- Pre-publish articles or research notes where factual errors go public
- Pre-release code, especially auth/permissions paths
- ADRs and decision docs that are expensive to reverse
- Merge-time review after multi-worktree changes
Skip it for trivial diffs already covered by strong tests.
Failure modes
Watch three failure modes:
Over-flagging
- Over-flagging – Gap-seeking reviewers often invent findings even when work is sound. – Official guidance: flag only correctness/requirements gaps; treat the rest as optional. – Chasing everything produces over-engineering.
Lazy pass
- Lazy pass – The verifier may rubber-stamp “looks fine.” – Treat a clean bill of health as input, not proof; re-check critical claims against primary sources yourself.
Shared model blind spots
- Shared model blind spots – Same-family models may miss the same classes of defects. – For high-risk design, cross-model adversarial review (for example via the Codex plugin path described by Chase AI and THE DECODER) is a candidate escalation. – That path includes more aggressive review and optional review gates that block finalizing changes until review completes.
Practical checklist — humans decide acceptance
The point is not to implement every AI finding. It is to give a human better decision material.
Procedure
- Freeze the artifact version (design note / PR diff / research report).
- Run adversarial verification in a fresh context.
- Require primary-source grounding for factual claims (with URLs).
- Record accept / weaken / reject per finding.
- Do not chase findings that do not affect correctness or requirements.
Decision table
Decision table template:
| Finding | Severity | Evidence | Decision (accept/weaken/reject) | Change made |
|---|---|---|---|---|
| Example: missing auth guard | High | No guard on path X | Accept | Add guard in PR |
| Example: verbose naming | Low | Style preference | Reject | None |
Next actions
Suggested next actions:
- Try “adversarially verify this” once on a real artifact
- For code, use a fresh subagent or
/code-reviewon the diff - Attach “ground claims in primary sources” to factual work
- Log accept / weaken / reject in a finding table
- Limit routine use to high rework-cost deliverables
- Escalate to cross-model adversarial review only when needed
Related reading
Related reading on Claude Code × Codex collaboration and sandbox boundaries:
- OpenAI Codex plugin for Claude Code — multi-agent review and rescue
- Choosing sandboxes for Claude Code and Codex
- Claude Code vs Codex CLI comparison (2026)
FAQ
Is “review this” obsolete?
Can I do this without Claude Code?
Should I fix every finding?
How expensive is it?
Is cross-model review mandatory?
Is this the same as adversarial-example attacks?
Summary — what to do next
Ordinary AI review is not always enough for ship/publish decisions. Anthropic’s named adversarial verification pattern adds a second, adversarial pass that returns verdict and evidence.
Token cost rises under multi-agent orchestration, and both over-flagging and lazy passes are real.
Run the technique once on a live artifact, decide findings with a human table, reserve routine use for high rework-cost work, and add cross-model review only when the risk justifies it.
Related articles:
- Codex Plugin for Claude Code Review and Rescue Setup
- Docker Sandboxes (sbx) Guide: Run Claude Code Safely in a microVM
- Claude Code Harness Explained: Model, Inner Loop, Outer Config
Related new article:
- Role-Based Model Routing for Claude Agent Teams (2026) – This published update adds current operational context for Adversarial Verification for Claude Agents: Practical Checklist.
- Graph vs Loop Engineering: Adoption Checklist (2026) – This published update adds current operational context for Adversarial Verification for Claude Agents: Practical Checklist.
- Claude Cowork Record a Skill: Plans, Steps, Privacy Limits – This published update adds current operational context for Adversarial Verification for Claude Agents: Practical Checklist.
Author
krona23
Over 20 years in the IT industry, serving as Division Head and CTO at multiple companies running large-scale web services in Japan. Experienced across Windows, iOS, Android, and web development. Currently focused on AI-native transformation. At DevGENT, sharing practical guides on AI code editors, automation tools, and LLMs in three languages.
🔥 Most Popular
- Claude Pricing: I Tested All 5 Plans — Here's My Verdict (2026)
- Claude Desktop Won't Install? Windows & Mac Fixes That Worked (2026)
- How to Spot and Defend Against Two-Stage Phishing Emails in 2026
- Cursor Pricing 2026: Plans & Real Costs After 3 Years of Pro
- n8n vs Dify vs Zapier vs Make: Tested in Production (2026)















Leave a Reply