adversarial-doc-review

adversarial-doc-review is a skill for Claude Code from juanmhidalgo/claude-plugins. It costs 153 tokens per session (3,298 once invoked), scanned A, original, MIT.

A review of an existing technical document that looks for flaws likely to cause bad architecture or implementation decisions. It covers documents such as product requirements, architecture decisions, technical specifications, and design proposals.

In plain words
What is it for?
Finding risky decisions, missing constraints, and design problems in technical documents before development begins.
Why use it?
It challenges the document's assumptions and framing instead of only checking spelling or whether sections are present.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the discuss plugin — 4 skills, 4 commands, 1 agent shipped together

Good fit Finding risky decisions, missing constraints, and design problems in technical documents before development begins.

Compare 6 skills from other repositories ↓
Install

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.

Claude Code
/plugin marketplace add juanmhidalgo/claude-plugins
Claude Code
/plugin install discuss

Made for: Claude Code.

Or install discuss, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 1 agent.

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-doc-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/juanmhidalgo/claude-plugins/adversarial-doc-review/github.svg)](https://agentmods.dev/skills/juanmhidalgo/claude-plugins/adversarial-doc-review)
Your own site
<a href="https://agentmods.dev/skills/juanmhidalgo/claude-plugins/adversarial-doc-review"><img src="https://agentmods.dev/badge/skills/juanmhidalgo/claude-plugins/adversarial-doc-review/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-doc-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/juanmhidalgo/claude-plugins/adversarial-doc-review"><img src="https://agentmods.dev/badge/skills/juanmhidalgo/claude-plugins/adversarial-doc-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,298 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00153 $0.03298
Opus 5.5 $0.00061 $0.01319
Sonnet 5.5 $0.00031 $0.00660
Haiku 4.5 $0.00015 $0.00330

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

Security

Grade A, and why

adversarial-doc-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 26d 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.

discuss/skills/adversarial-doc-review/SKILL.md · 298 lines

How it starts

The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Adversarial Doc Review

Dispatches a reviewer that hunts for the subset of documentation problems that actually matter: the ones that cause a bad architecture, design, or implementation decision. It is not a proofreader and not a completeness checker.

The reviewer is the discuss:doc-adversary subagent.

Why this is dispatched and not inlined

The review depends on the reviewer forming an independent model of the problem before absorbing the document's framing. That is impossible in a context window that already contains the document, its drafts, or the discussion that produced it — the framing is already there and the blind-read phase becomes theater.

Therefore: always run the reviewer in a fresh context. Never perform this review yourself in the main conversation.

If subagents are unavailable, tell the user plainly that the review will be weaker and why, and offer these fallbacks in order:

  1. Run the reviewer in a new session with only the doc path and the repo (--pane does exactly this when inside Herdr).
  2. Run it inline anyway, and mark the report as context-contaminated.

Do not silently downgrade. The contamination is the single largest failure mode of this skill.

Context

  • Arguments: !bash "${CLAUDE_PLUGIN_ROOT}/scripts/args.sh" '$ARGUMENTS'

The doc path is positional[0] (none: STOP and ask for one). The mode is positional[1] when it is design or descriptive; otherwise it is decided below. pane is the Herdr flag: true opens a pane, false or null runs here.

Herdr pane

When pane is true, run the review in a Herdr pane in collect mode: follow ${CLAUDE_PLUGIN_ROOT}/references/herdr-pane.md. It falls back to the normal run outside Herdr. Questions the run asks happen in the pane, and Herdr notifies the user.

  • Command string: /discuss:adversarial-doc-review <doc-path> <mode, if given> --no-pane
  • Report: <scratchpad dir>/doc-review-<doc name>.md
  • Present: the report as written, including its falsification log; the checks in "After the report" apply to it unchanged.

Read the full file on GitHub · 298 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. 26d ago Changed · +7 lines cfe50439f13a
  2. 1mo ago Changed · +14 lines f734707ad79e
  3. 3mo ago First seen · 277 lines · 153 tokens per session scan A 40d8ac3acaa2

Subscribe to this mod's changes

adversarial-doc-review is a skill published in the GitHub repository juanmhidalgo/claude-plugins (8 stars, last pushed 18d ago), licensed MIT. It adds 153 tokens to every session and 3,298 once invoked, about $0.0006 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-08-31.

Related

adversarial-doc-review compared with skills from other repositories

adversarial-doc-review next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adversarial-doc-reviewjuanmhidalgo/claude-pluginsSkill818d agoMITA153Claude Code
ADR Decision Qualitys977043/river-reviewSkill8yesterdayMITA28Claude Code
Architecture Traceability & Consistencys977043/river-reviewSkill8yesterdayMITA32Claude Code
tech-speccamilooscargbaptista/cto-toolkitSkill98mo agoMITA124Claude Code
integration-reviewgoogle/adk-docsSkill1.5ktodayApache-2.0A118Claude Code, Codex
team-repairtikalk/adlc-team-skillsSkill147todayMITA61Claude Code
mission-brieftikalk/adlc-team-skillsSkill147todayMITA55Claude Code, Codex