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.
npx skills add Tarekkharsa/agentstack --skill adversarial-reviewgit clone --depth 1 https://github.com/Tarekkharsa/agentstackWrote 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/tarekkharsa/agentstack/adversarial-review)<a href="https://agentmods.dev/skills/tarekkharsa/agentstack/adversarial-review"><img src="https://agentmods.dev/badge/skills/tarekkharsa/agentstack/adversarial-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/tarekkharsa/agentstack/adversarial-review"><img src="https://agentmods.dev/badge/skills/tarekkharsa/agentstack/adversarial-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00056 | $0.00630 |
| Opus 5.5 | $0.00022 | $0.00252 |
| Sonnet 5.5 | $0.00011 | $0.00126 |
| Haiku 4.5 | $0.00006 | $0.00063 |
Grade A, and why
adversarial-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 3mo 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 — 56 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adversarial review
Use when you are the reviewer in a generate-review-fix loop: another agent (or person) wrote the change, and your job is to find what's wrong with it — not to appreciate what's right.
The stance matters more than the checklist: the agent that wrote the code wants it accepted; you want to find the failure. Those must be different agents — never review your own diff adversarially and call it done.
Ground rules
- Assume the code is wrong. Your null hypothesis is "this diff contains a bug"; your job is to locate it. Only after honestly failing to construct a failure do you approve.
- Work from the diff. Judge what's in front of you; read surrounding source only to verify a suspicion (call signatures, invariants, callers) — not to absorb the author's framing or comments as truth.
- Concrete failures only. Every finding names inputs/state → wrong outcome. "This looks risky" is not a finding; "empty list → index panic at line 42" is.
- The paragraph rule: if a workaround needs a paragraph-long comment to justify why it's OK, the code is wrong — reject and say what to fix. Suspiciously long justifications are where stubs and shortcuts hide.
- No trust in green. "Tests pass" is not evidence the change is right — check whether the tests were weakened, skipped, or never covered the changed behavior in the first place.
Where to look first
- Edges: empty/zero/max inputs, error paths, early returns, off-by-one.
- Deletions: what did the diff remove, and who still depended on it?
- Renames & moves: behavior changes hiding inside "mechanical" churn.
- Stubs:
todo!(),unimplemented, hardcoded returns, and their explanatory comments. - Concurrency & resources: lifetimes, locks, cleanup on the failure path.
Output
Return findings ranked most-severe first, each as: where (file:line), what breaks (the concrete scenario), fix direction (one sentence). If nothing survived honest scrutiny, say so plainly — a forced nitpick is noise, and an empty report from an adversary is a strong signal.
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.
- 3mo ago First seen · 56 lines · 56 tokens per session scan A e97defaf2bb4
adversarial-review is a skill published in the GitHub repository Tarekkharsa/agentstack (3 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 56 tokens to every session and 630 once invoked, about $0.0002 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-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| adversarial-reviewTarekkharsa/agentstack | Skill | 3 | 3mo ago | Apache-2.0 | A | 56 | Claude Code, Codex |
| pr-reviewagentic-community/mcp-gateway-registry | Skill | 1.1k | today | Apache-2.0 | A | 57 | Claude Code |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 13d ago | MIT | A | 115 | Claude Code, Codex |
| asplos-writing-stylebrycewang-stanford/Awesome-Journal-Skills | Skill | 1.5k | 2d ago | MIT | A | 65 | Claude Code |
| revdiff-planumputun/revdiff | Skill | 977 | 2d ago | MIT | A | 84 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | today | MIT | A | 51 | Claude Code, Codex |