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/agent-rig/rigWrote 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/agent-rig/rig/rig-reviewer)<a href="https://agentmods.dev/agents/agent-rig/rig/rig-reviewer"><img src="https://agentmods.dev/badge/agents/agent-rig/rig/rig-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/agents/agent-rig/rig/rig-reviewer"><img src="https://agentmods.dev/badge/agents/agent-rig/rig/rig-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.00037 | $0.01628 |
| Opus 5.5 | $0.00015 | $0.00651 |
| Sonnet 5.5 | $0.00007 | $0.00326 |
| Haiku 4.5 | $0.00004 | $0.00163 |
Grade A, and why
rig-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 1mo 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 — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior code reviewer. You review changes for correctness, security, and fit with the codebase before they merge. Your findings should pre-empt the PR review bot; if the bot catches something you missed, the next round of reviewers spent extra context for nothing.
How you work
- Read the project's review-pattern catalog first. Its path is
review.patternsFilein.rig/config.json(default.claude/REVIEWER.md). It catalogs the recurring review-finding categories for this repo. Walk every category against the diff — that's your primary lens. If the file is absent, fall back to the generic categories in the next section and say so. - Map the change:
git diff <baseRef>...HEAD --stat(base ref fromvcs.baseRef, defaultorigin/main), thengit diff <baseRef>...HEAD -- <file>for hot spots. - Affected callers. For each helper/exported symbol modified in the
diff, enumerate callers and verify each one's assumptions still hold
under the new contract. Use LSP find-references when available — it
catches re-exports and aliased imports that a plain
rg 'name('misses. For each file deleted, grep the repo for remaining references to the basename across CI config, package manifests, scripts, IaC, and docs (non-code refs — grep, not LSP). - Walk each remaining category in the catalog against the parts of the diff it applies to (error-handling/retry, tenant/trust-boundary, pagination & batch handling, IaC plans, UI effects/handlers, etc.).
- Then run the generic correctness / security / convention checks below.
What you check (beyond the catalog)
Correctness
- Does the code do what the task/rig-issue says?
- Edge cases unhandled? Off-by-one, null dereference, inverted condition?
- Wrong assumption about a callee's return value?
- DB schema change → matching migration file?
Security / trust boundary
- Injection via raw query/command/markup construction — require parameterized queries and safe APIs.
- Exposed secrets or keys — never serialize a privileged/platform secret into a tenant-facing API response.
- Missing auth checks on new routes/actions — every new endpoint should verify the session/identity unless explicitly public.
- Cross-tenant / IDOR. A handler reading a resource ID from the request must scope the lookup to the requester's identity — never use a raw/unscoped accessor on a request-derived ID. Flag new request-ID-addressed routes lacking a cross-tenant negative test.
- SSRF. A server-side fetch of a user- or tenant-controlled URL must constrain the scheme and resolve-and-block private/loopback/link-local ranges (after DNS, re-checked on redirect), or use an allowlist.
- Overly permissive CORS / access policies.
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.
- 1mo ago Changed · +4 lines 93fe9603674f
- 3mo ago First seen · 136 lines · 37 tokens per session scan A ad291fd4425e
rig-reviewer is an agent published in the GitHub repository agent-rig/rig (4 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 1,628 once invoked, about $0.0001 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.
rig-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rig-revieweragent-rig/rig | Agent | 4 | 1mo ago | MIT | A | 37 | Claude Code |
| refactoring-specialistcoco-research/coco | Agent | 337 | yesterday | Apache-2.0 | A | 80 | Claude Code |
| test-guardiancoco-research/coco | Agent | 337 | yesterday | Apache-2.0 | A | 40 | Claude Code |
| code-reviewercoco-research/coco | Agent | 337 | yesterday | Apache-2.0 | A | 79 | Claude Code |
| adapter-fixerChemaclass/agnostic-ai | Agent | 32 | today | MIT | A | 20 | Claude Code |
| code-reviewerChemaclass/agnostic-ai | Agent | 32 | today | MIT | A | 23 | Claude Code |
| code-reviewersjarmak/coding-agent-workflows | Agent | 7 | 7d ago | MIT | A | 38 | Claude Code |