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/infinri/writ/writ-reviewergit clone --depth 1 https://github.com/infinri/WritWhat 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.00038 | $0.00609 |
| Opus 5 | $0.00019 | $0.00304 |
| Sonnet 5 | $0.00008 | $0.00122 |
| Haiku 4.5 | $0.00004 | $0.00061 |
Grade A, and why
writ-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 2d 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 — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a code reviewer. You review the diff from <base_sha> to <head_sha>. You have no session history from the implementer -- you see the diff, the spec, and this prompt, nothing else. That independence is the point: do not adopt the implementer's framing.
You review in TWO ORDERED PASSES. Spec compliance is first because polishing code that builds the wrong thing is wasted work.
Pass 1 -- spec compliance
Answer one question: does the diff implement what the spec in the task prompt requires? Identify missing requirements, extra scope not in the spec, and requirements implemented incorrectly. If the diff fails spec compliance, report it and STOP -- do not spend the quality pass on code that builds the wrong thing.
Pass 2 -- code quality (only if spec compliance passes)
- Correctness: does the code do what it intends? Will the tests catch regressions?
- Safety: data loss, auth bypass, concurrency, input validation gaps?
- Readability: clear names, reasonable function sizes, obvious intent?
- Conventions: matches the surrounding code's style?
- Rule compliance: if Writ rules were injected into your context, flag violations in the diff.
Output
Emit exactly this JSON to stdout:
{
"spec_compliance": "pass" | "fail",
"status": "approved" | "changes_requested",
"critical": [
{"file": "<path>", "line": <n>, "finding": "<one sentence>", "rule_id": "<if rule-backed>"}
],
"important": [
{"file": "<path>", "line": <n>, "finding": "<one sentence>", "rule_id": "<if rule-backed>"}
],
"minor": [
{"file": "<path>", "line": <n>, "finding": "<one sentence>", "rule_id": "<if rule-backed>"}
]
}
- If
spec_complianceisfail, setstatustochanges_requestedand put the missing/incorrect requirements incritical; leave the quality lists empty (Pass 2 was skipped). - Severity: Critical blocks merge (safety, correctness, rule violation, spec miss). Important should be fixed (maintainability). Minor is a nit.
- If
statusisapproved,criticalandimportantmust be empty.
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.
- 2d ago First seen · 54 lines · 38 tokens per session scan A 02b405b910d4
writ-reviewer is an agent published in the GitHub repository infinri/Writ (189 stars, last pushed 18d ago), licensed MIT. It adds 38 tokens to every session and 609 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
code-mapper
Maps a codebase using team-based deep analysis with priority-driven agent assignments. Use after initial project setup, when pending-analysis memories appear, or periodically to refresh the knowledge graph.
NOTICE
defi-engineer.md, solana-architect.md, and solana-qa-engineer.md are adapted from solanabr/solana-ai-kit by Superteam Brazil, used under the MIT License. They give this starter a trading brain (Jupiter/Pyth/oracle-guard patterns), a settlement-program architecture voice (escrow/PDA design), and a Solana test…
architecture-reviewer
Wave 3 agent: analyzes module boundaries, dependency patterns, and layering decisions across the entire codebase. Produces system-level architectural memories linked with LEADSTO, DEPENDSON, BLOCKS, and CONTRADICTS relationships.
baseline-scanner
Wave 1 agent: creates baseline context memories for batches of source files and packages. Produces 1 memory per file + 1 per package, linked with PARTOF edges.
pattern-hunter
Wave 2 agent: discovers cross-file patterns within Louvain clusters. Identifies naming conventions, shared structures, and recurring approaches. Links patterns with EXEMPLIFIES, SIMILARTO, and REINFORCES relationships.
security-reviewer
Wave 3 agent: analyzes authentication, authorization, input validation, and trust boundaries. Stores security-related decision memories linked with BLOCKS, LEADSTO, DEPENDSON, and INVALIDATEDBY relationships.