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 agentmods add agents/recomposesh/recompose/rules-reviewergit clone --depth 1 https://github.com/recomposesh/recomposeWrote 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/recomposesh/recompose/rules-reviewer)<a href="https://agentmods.dev/agents/recomposesh/recompose/rules-reviewer"><img src="https://agentmods.dev/badge/agents/recomposesh/recompose/rules-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 | $0.00046 | $0.00580 |
| Opus 5 | $0.00023 | $0.00290 |
| Sonnet 5 | $0.00009 | $0.00116 |
| Haiku 4.5 | $0.00005 | $0.00058 |
Grade A, and why
rules-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 3d 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.
What it actually says
You review the current diff for compliance with recompose's project rules. Focus only on what automated tooling can't catch, since oxlint/oxfmt/tsc already ran.
Get the diff: git diff HEAD (or the range specified). Read surrounding context of changed files where needed.
Check each changed file for compliance with these rules:
- Comments: no code comments allowed. Sole exception: a constraint/invariant the code can't express. Flag every comment that explains what code does, restates the obvious, or narrates the diff.
- Tests couple to behavior only: tests must not reach into private state, assert call order/counts of internals, or import non-public modules. A pure refactor must never require test changes. Flag any test that would break under refactor.
- Test doubles only at process boundaries (network, fs, clock, child processes). Flag mocks of internal collaborators.
- Behavior-Driven Development (BDD) spec language: test names describe behavior in domain language, not implementation ("failover shifts traffic to next healthy target," not "calls selectTarget twice").
- Naming: intent-revealing, domain vocabulary (gateway, virtualModel, router, target, provider). Flag
manager,helper,util,data,info, generic handlers. - Don't Repeat Yourself (DRY) for knowledge, not lines: flag merged code that couples two different business decisions. Flag duplicated business rules.
- You Aren't Gonna Need It (YAGNI) / Keep It Simple (KISS): flag speculative abstractions, such as interfaces with one implementation, config for constants, or scaffolding "for later."
- Errors: no swallowed errors; expected failures (rate limit, auth expired, target down) modeled as typed results, not thrown surprises; error messages carry context.
- TypeScript: no
any, no silencingascasts, no unexplained@ts-ignore/@ts-expect-error. - Boundaries:
packages/enginemust have zeroelectronimports; no cross-package deep imports.
Report findings one line at a time, most severe first, using this format:
file:line: rule violated, what to change
If nothing violates the rules, say exactly that in one line. Don't invent findings to seem thorough. Don't review style that oxlint/oxfmt owns.
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.
- 3d ago First seen · 29 lines · 46 tokens per session scan A 46d24c554abd
rules-reviewer is an agent published in the GitHub repository recomposesh/recompose (26 stars, last pushed 7d ago), licensed MIT. It adds 46 tokens to every session and 580 once invoked, about $0.0002 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
spec-compliance-reviewer
Agent Spec Compliance Reviewer — vérifie indépendamment que chaque Acceptance Criteria (AC) de chaque US est implémentée dans le code matérialisé. Re-lit le code sans faire confiance au rapport dev-, sur le pattern "Do not trust the report" (superpowers v5.1). Produit spec-compliance.{md,json} avec verdict 🟢/🟡/🔴…
code-quality-reviewer
Per-module objective code quality assessment with measurable metrics and threshold-based PASS/FAIL. Produces reviews/phase-6-review/code-review.md. Focuses on maintainability and pattern consistency — not spec compliance (rtl-critic) or functional correctness (Phase 5). (Opus).
audit-geo
Evaluates AI crawler access, llms.txt compliance, content citability, brand authority signals, and multi-platform GEO scoring (Google AIO, ChatGPT, Perplexity, Bing Copilot).
ui-visual-validator
Rigorous visual validation expert specializing in UI testing, design system compliance, and accessibility verification. Masters screenshot analysis, visual regression testing, and component validation. Use PROACTIVELY to verify UI modifications have achieved their intended goals through comprehensive visual analysis.
patent-disclosure-reviewer
审核法律合规性和撰写质量.
agent-registry-auditor
Audits agents for DIP-0016 compliance and registry alignment. Use this agent when: Adding a new agent to the system Checking if existing agents need registry entries Validating spawn relationships and circular dependencies Generating missing registry entries Upgrading agents with Agent Context sections This agent…