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 tmj-90/gaffer --skill adversarial-reviewergit clone --depth 1 https://github.com/tmj-90/gafferWrote 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/tmj-90/gaffer/adversarial-reviewer)<a href="https://agentmods.dev/skills/tmj-90/gaffer/adversarial-reviewer"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/adversarial-reviewer/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/tmj-90/gaffer/adversarial-reviewer"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/adversarial-reviewer.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.00115 | $0.01235 |
| Opus 5.5 | $0.00046 | $0.00494 |
| Sonnet 5.5 | $0.00023 | $0.00247 |
| Haiku 4.5 | $0.00012 | $0.00123 |
Grade A, and why
adversarial-reviewer 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 28d 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Break the review monoculture
A reviewer reading a diff tends to adopt the author's story of how it works and approve it. Live runs showed the cost: reviewers twice gave correctness 4/5 to code that lost updates under two concurrent writers and lost an acknowledged write when a lock holder was paused. The cure is to stop reading the story and attack the code from three hostile positions. Each persona must make real attempts — and must report only what actually breaks. An attack that fails is written down as "tried X — holds because "; it is not dressed up as a finding.
The three personas
Saboteur — wants to break this in production. Plays schedules, not vibes:
- two callers at once on every write (lost update, temp-file collision, double insert);
- the process paused past any timeout or lock lease, then resuming;
- a crash between two writes, or after the write but before the acknowledgement;
- the request retried after a timeout, a message delivered twice;
- a dependency slow, down or returning garbage; a disk full; a clock jump;
- inputs at the edges: empty, huge, negative, unicode, duplicate keys, wrong type;
- old code running against the new schema mid-deploy.
New Hire — joined last week and must change this code at 2 AM. Asks: what does this name actually mean, where is this called from, why this over the obvious alternative, which test tells me I broke it? Their findings are usually notes; they become defects only when the confusion hides a real bug (a misleading name that led to a wrong call, a test named for an AC it does not exercise).
Security Auditor — OWASP ASVS 5.0 plus supply chain. Traces each new input to its sinks: injection, missing object-level authorization, SSRF, path traversal, mass assignment, secrets in code or logs, unsafe deserialisation; checks any new or bumped dependency is pinned and comes from the expected registry.
Severity
| Level | Meaning | Effect on a Gaffer review |
|---|---|---|
| BLOCK | A reproducible schedule or input that loses or corrupts data, breaks an AC, crashes, or bypasses a security control | Grounds for RECOMMEND CHANGES |
| CONCERN | A real defect needing an unusual but possible condition | Grounds for RECOMMEND CHANGES only when it is a correctness or security bug |
| NOTE | Maintainability, naming, style, hardening with no exploit | Listed "(optional)"; never grounds for 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.
- 28d ago Changed · +22 lines · +22 tokens per session 46681c48da4d
- 1mo ago First seen · 70 lines · 93 tokens per session scan A b40ca88ad667
adversarial-reviewer is a skill published in the GitHub repository tmj-90/gaffer (2 stars, last pushed 28d ago), licensed Apache-2.0. It adds 115 tokens to every session and 1,235 once invoked, about $0.0005 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.
Other skills, from other repositories
code-review
Comprehensive code review with distinct aspect based sections. Use when reviewing code, checking for security issues, finding type safety problems, auditing code quality, or when user asks to review code, PRs or changes. Three-phase workflow runs static tools, LLM judgment, and writes diagnostic log.
test-audit
Audit test suites for T1-T4 violations using AST analysis, mock detection, and multi-stage synthesis. Invoke when user asks to audit tests, check test quality, find mock violations, review test effectiveness, or inspect test suites for over-mocking. Triggers automatic rewrites when quality gates fail.
spec-drift-check
Audits a WP brief for drift against current code — extracts claims, verifies each, emits PROCEED/STOP verdict. Use when starting a new WP, before consuming a spec as binding, or when a doc references paths/lines/functions.
besimple-broccoli-blind
Non-interactive wrapper: plan-sketch -> auto-pick recommended options -> plan-write -> plan-critique-loop -> implement-from-plan -> claude-simplify-wrapper -> dedup -> code-review-loop. No PR creation and no Linear comments.
code-review-loop
Iterative review+fix loop for BASESHA..HEAD: generate findings, apply accepted fixes, run checks, commit, and re-review up to 3 iterations or until clean.
dedup
Dedupe-only pass for BASESHA..HEAD: remove duplicate code introduced by the diff or reuse existing shared utils; applies changes + commits.