adversarial-review
Spawn a fresh-context subagent that is told a mistake exists in your work and tasked with finding it.
Skill by MihaiOnSoftware
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mihaionsoftware-adversarial-review
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/adversarial-review
What's inside
- Skill name
adversarial-review- Description
- Spawn a fresh-context subagent that is told a mistake exists in your work and tasked with finding it. Useful as a self-check after reaching a conclusion or end state when no automated oracle is available.
- License
- MIT
- Metadata
- category: review
- Instructions
- 78 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- anti-patterns.md · references/
- subagent-prompt.md · references/
SKILL.md (first lines)
Spawn a subagent with an intentionally biased prompt: it is told the conclusion is wrong and its job is to find the mistake. The adversarial framing forces a harder look than a neutral "review my work" prompt. ## When to Use This **User-triggered**: Whenever the user asks for an adversarial or second-opinion check on completed work. **LLM-triggered**: Reach for this on your own, **before declaring a task done**, when *both* of these hold: - The conclusion isn't independently verifiable (no test, no oracle, no ground truth to compare against) - Stakes are high enough to warrant a second pass (production code, irreversible action, user is relying on the result, research conclusion that will be acted on) If a test or other automated check is available, run that first. This skill exists for the cases where automation can't verify the result. ## What This Skill Does **Input**: None directly — uses your current session state. **Output**: The subagent's findings, returned inline. Either: - The mistake(s) found and how they affected the conclusion / end state - "I cannot find a mistake" plus the avenues investigated (treat with care — the framing biases toward finding one, so a clean bill of health is meaningful) **Does**: - Capture your conclusion / end state - Summarize the approach you took to reach it - Spawn a **fresh-context** subagent with adversarial framing - Surface the subagent's findings to the user **Does NOT**: - Apply fixes silently — the user decides the next step - Soften the framing — the prompt asserts a mistake exists on purpose - Recurse — never run this skill on the subagent's own report (see Anti-Patterns) ## Workflow ### Step 1: Capture the End State Write down, plainly, in your own response so it's auditable: 1. **Conclusion / end state**: The exact answer, output, or final state you arrived at. Be specific — quote it, paste the relevant snippet, or describe the resulting file changes (paths + summary). No paraphrasing into vagueness. 2. **Approach summary**: A short narrative of how you got there. Cover: - The problem as you understood it - The key steps or decisions - Assumptions you made - Tools, files, or sources you relied on Be brutally honest. Include any "I think" / "probably" / "I assumed" steps. The subagent only sees what you give it — hiding uncertain steps defeats the point. ### Step 2: Launch the Subagent Before launching, stop and report instead of improvising a lower-signal review if any required piece is missing: - You cannot launch a fresh-context subagent in the current harness. - You cannot read `references/subagent-prompt.md` and therefore cannot use the required prompt template verbatim. - You cannot capture enough concrete context for the subagent to verify the work (for example, no exact conclusion, no relevant paths/outputs, or only a vague approach summary). When this happens, tell the user the adversarial review was **not run**, name the blocker, and list the specific context or capability needed to run it properly. Do not replace it with an inherited-context review or a softened self-review while implying the skill was followed. Spawn a subagent **in a fresh context** — no inherited session history, only the prompt you provide. Use whichever subagent / Task mechanism your harness offers (Claude Code's Task tool, OpenCode's subagent invocation, pi's `subagent` tool, etc.). The fresh context is required: it prevents the subagent from anchoring on the original reasoning. If your harness provides a **purpose-built adversarial-review subagent**, use it rather than a generic fresh-context subagent. A dedicated reviewer typically carries a different model family and tighter toolset; grabbing a generic subagent silently drops that. For the prompt template (use verbatim, substituting only the bracketed sections), see [references/subagent-prompt.md](references/subagent-prompt.md). ### Step 3: Surface the Result Relay the subagent's findings to the user. Include: - The subagent's response in full (or a faithful summary if it's long, with the full text available on request) - Your own short take: whether mistakes were found, severity (does the conclusion change?), and a recommended next action — fix now / investigate further / accept and move on Do **not** silently apply fixes. Let the user decide. ## Anti-Patterns See [references/anti-patterns.md](references/anti-patterns.md) for the full DO / DO NOT list.
From MihaiOnSoftware/.ai, MIT.
More from MihaiOnSoftware/.ai
- 0.592score
shape-review-comments
MihaiOnSoftware
Shapes raw review findings into postable file:line comments written in Mihai's voice.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
mihai-code-review
MihaiOnSoftware
Review a PR, branch, or diff the way Mihai would: mechanical style/test sweeps first, then precedent diffing, then an adversarial correctness hunt.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
review-pipeline
MihaiOnSoftware
Parallel code review pipeline: run adversarial-review-loop and mihai-code-review simultaneously, merge their findings, shape into postable comments, and…
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
monitor-gh-pr
MihaiOnSoftware
Monitor a GitHub PR for CI failures, CI success, and new comments (including inline review comments).
SkillAFreshness: A★ 1Claude Code +9 - 0.502score
create-implementation-plan
MihaiOnSoftware
Break a large task into incremental slices using story splitting patterns.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
adversarial-review-loop
MihaiOnSoftware
Run fresh adversarial subagent, incorporate findings, repeat until findings are weak/repeated/invalid.
SkillCFreshness: C★ 1Claude Code +9 - 0.499score
solve-this-problem
MihaiOnSoftware
End-to-end: problem → design → plan → TDD slices.
SkillCFreshness: C★ 1Claude Code +9 - 0.496score
tdd-slice
MihaiOnSoftware
Implement a complete TDD slice with multiple micro-tdd cycles and validation
SkillCFreshness: C★ 1Claude Code +9 - 0.495score
explore-and-design
MihaiOnSoftware
Investigate, scope, and shape a solution before breaking it into implementation slices.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
write-validation-report
MihaiOnSoftware
Write a validation report with pass/fail verdict
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
write-agent-report
MihaiOnSoftware
Write an agent report with proper naming and location
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
commit
MihaiOnSoftware
Create a commit following message rules and writing style guidelines
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 9, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/MihaiOnSoftware/.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from MihaiOnSoftware
- 0.592score
mihai-code-review
MihaiOnSoftware
Review a PR, branch, or diff the way Mihai would: mechanical style/test sweeps first, then precedent diffing, then an adversarial correctness hunt.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
shape-review-comments
MihaiOnSoftware
Shapes raw review findings into postable file:line comments written in Mihai's voice.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
review-pipeline
MihaiOnSoftware
Parallel code review pipeline: run adversarial-review-loop and mihai-code-review simultaneously, merge their findings, shape into postable comments, and…
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
monitor-gh-pr
MihaiOnSoftware
Monitor a GitHub PR for CI failures, CI success, and new comments (including inline review comments).
SkillAFreshness: A★ 1Claude Code +9 - 0.502score
adversarial-review-loop
MihaiOnSoftware
Run fresh adversarial subagent, incorporate findings, repeat until findings are weak/repeated/invalid.
SkillCFreshness: C★ 1Claude Code +9 - 0.502score
create-implementation-plan
MihaiOnSoftware
Break a large task into incremental slices using story splitting patterns.
SkillCFreshness: C★ 1Claude Code +9
Cite this page
adversarial-review skill. Agent Mart. https://agentmart.dev/skills/mihaionsoftware-adversarial-review (last updated 2026-10-24)