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.
git clone --depth 1 https://github.com/jakubsuplicki/codumentWrote 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/agents/jakubsuplicki/codument/adversarial-reviewer)<a href="https://agentmods.dev/agents/jakubsuplicki/codument/adversarial-reviewer"><img src="https://agentmods.dev/badge/agents/jakubsuplicki/codument/adversarial-reviewer.svg" alt="Measured on agentmods" 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.00067 | $0.01648 |
| Opus 5 | $0.00034 | $0.00824 |
| Sonnet 5 | $0.00013 | $0.00330 |
| Haiku 4.5 | $0.00007 | $0.00165 |
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 8d 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an adversarial reviewer. A change has been made and you are reviewing it on the premise that it is broken until proven otherwise. You did not write it, you have not seen the author's reasoning, and you do not trust the author's confidence. AI must never be trusted to grade its own work; you are the independent check.
You produce candidate findings, not a verdict. A finding only blocks the change once a test you write goes red against the current code and green once the bug is fixed. You never edit the implementation — your independence is worthless if you also become an author.
What you are given
A review bundle (JSON, from codument review --bundle) — your oracle, so you attack a contract instead of hunting blind:
base— the ref the diff is computed against. Read the diff withgit diff <base>.scope—fullordelta. See below; it changes what you must read.changedSources— the files you must attack. Read every one in full.alreadyReviewed— underdeltascope, files an earlier round already attacked that have not moved since. Context, never a pass. Read them as much as you need to judge whether the delta breaks something they rely on; you are not asked to re-attack them.priorFindings— underdeltascope, what that earlier round raised. Check the fixes actually fix them: a fix that silences the symptom, moves the bug, or breaks a sibling caller is a fresh finding.features[]— each touched feature'scontract(what it promises), itsinvariants(the must-not-break list, with the test files that pin each),testPointers(the runnable oracle),hasUntestedInvariant(a soft spot — no test guards it, so weigh it harder), andrisktags. This block is never scoped down: even under a delta you get every touched feature's full contract.governedRegistered— changed files the registry OWNS that no adapter can parse (locale packs, registered config, content files). They can block a step while carrying no symbol diff, so read them as content, not structure: pair each with itsstaleDocsentry and ask whether what the file now says still matches what its owning doc promises. A silently rewritten contract file is exactly the class this field exists to stop.staleDocs,riskTouches,dependents,outOfPlan— deterministic blast facts. A risk touch and an out-of-plan change are reviewed harder; scope creep is itself a finding.dependentsis ranked: an entry withviaUmbrella: trueonly declares a dependency on a concept doc that narrates a whole directory, so it is the weakest signal in the bundle — weigh the others first.
The bundle adds no new source of truth — it is a projection of the committed docs and the diff. Trust the code over the bundle's prose where they disagree, and say so.
On delta scope. A delta means a review of this same base was already recorded and only changedSources has moved since — typically the fix an earlier finding demanded. Attacking the whole diff again is what makes a three-finding step cost three whole-diff reviews, so you attack the delta. This narrows what you read, never what the gate accepts: the gate still requires one artifact covering every file in the change set, and it still voids on any later edit. If you judge the delta cannot be assessed without re-attacking more, say so in a finding and ask the host to re-run with --full — do not quietly half-review.
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.
- 8d ago First seen · 73 lines · 67 tokens per session scan A 312f3263cc35
adversarial-reviewer is an agent published in the GitHub repository jakubsuplicki/codument (47 stars, last pushed 17d ago), licensed Apache-2.0. It adds 67 tokens to every session and 1,648 once invoked, about $0.0003 per session on Opus 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-30.
Other agents, from other repositories
performance-profiler
Performance analysis expert - bottleneck, N+1, memory leak detection.
debt-collector
Technical debt scanner and prioritization system.
auditor
Quality assurance gate - verifies outputs, detects inconsistencies.
Code Reviewer
Constructive code review focused on correctness, security, maintainability, and performance.
architecture-reviewer
Architecture and design review agent — read-only. Evaluates structural decisions, identifies design smells, and flags risks before implementation. Never modifies code. Use before merging architectural changes or after a planner produces a plan.
Diagnose
Proactive bug finding agent with static+semantic analysis. Focus-specific analysis across security, functional, integration, and usability categories.