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.
/plugin marketplace add juanmhidalgo/claude-plugins/plugin install discussWrote 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/skills/juanmhidalgo/claude-plugins/adversarial-doc-review)<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.
<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>- NVIDIA SkillSpector pass
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.00153 | $0.03298 |
| Opus 5.5 | $0.00061 | $0.01319 |
| Sonnet 5.5 | $0.00031 | $0.00660 |
| Haiku 4.5 | $0.00015 | $0.00330 |
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.
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:
- Run the reviewer in a new session with only the doc path and the repo
(
--panedoes exactly this when inside Herdr). - 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.
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.
- 26d ago Changed · +7 lines cfe50439f13a
- 1mo ago Changed · +14 lines f734707ad79e
- 3mo ago First seen · 277 lines · 153 tokens per session scan A 40d8ac3acaa2
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.
adversarial-doc-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| adversarial-doc-reviewjuanmhidalgo/claude-plugins | Skill | 8 | 18d ago | MIT | A | 153 | Claude Code |
| ADR Decision Qualitys977043/river-review | Skill | 8 | yesterday | MIT | A | 28 | Claude Code |
| Architecture Traceability & Consistencys977043/river-review | Skill | 8 | yesterday | MIT | A | 32 | Claude Code |
| tech-speccamilooscargbaptista/cto-toolkit | Skill | 9 | 8mo ago | MIT | A | 124 | Claude Code |
| integration-reviewgoogle/adk-docs | Skill | 1.5k | today | Apache-2.0 | A | 118 | Claude Code, Codex |
| team-repairtikalk/adlc-team-skills | Skill | 147 | today | MIT | A | 61 | Claude Code |
| mission-brieftikalk/adlc-team-skills | Skill | 147 | today | MIT | A | 55 | Claude Code, Codex |