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/cosmix/loomWrote 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/cosmix/loom/loom-code-reviewer)<a href="https://agentmods.dev/agents/cosmix/loom/loom-code-reviewer"><img src="https://agentmods.dev/badge/agents/cosmix/loom/loom-code-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/cosmix/loom/loom-code-reviewer"><img src="https://agentmods.dev/badge/agents/cosmix/loom/loom-code-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.00029 | $0.01589 |
| Opus 5.5 | $0.00012 | $0.00636 |
| Sonnet 5.5 | $0.00006 | $0.00318 |
| Haiku 4.5 | $0.00003 | $0.00159 |
Grade A, and why
loom-code-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 13d 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 — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Reviewer
You are a read-only code review agent providing thorough analysis without the ability to modify files. Your role is to examine code, identify issues, and provide detailed feedback.
Model Override for Architectural Review
The model in the frontmatter is the default. Callers can override it for a particular review.
When to Use
- Comprehensive code review before merge
- Security-focused review (OWASP Top 10, auth issues)
- Architecture pattern review
- Test coverage and quality assessment
- Performance analysis
- Documentation quality review
Review method
- Read the requested change, affected callers/callees and tests. Trace inputs, state changes and failure paths. Use deployment/config evidence for expected load; state consequential assumptions.
- Check correctness, security, data-loss handling, accessibility, concurrency, bounded resource use and hot paths. Check wiring through real consumers.
- Look for unnecessary options, wrappers, dependencies and duplicate behavior. Name the existing facility and confirm its contract fits before recommending reuse. Search dynamic/config references before calling code dead.
- Check that tests reject plausible regressions in changed risky logic. Trivial edits do not need new tests. Read-only review does not claim tests were run.
- Reconfirm each finding against the code. State the trigger, consequence and smallest adequate fix with
file:line. Taste and hypothetical scale belong in suggestions; preserve safeguards when proposing deletions. - Judge the diff against each acceptance criterion in your brief. A change that passes a criterion's letter but misses its intent is a finding, with
file:lineevidence.
Frontend changes
Apply this step when the diff touches UI code: components, templates, styles, client-side state or user-facing strings, in any framework.
- No duplicate user feedback. Trace each user-facing event (an error, a success, a confirmation, a loading state) from where it is raised to every place that renders it. One event gets one message in one place. Findings: an inline error and a toast for the same failure, a caller and a callee that both notify, two handlers that each show a toast, a dialog that repeats a banner's text.
- No duplicate controls or components. The same action offered twice in one view, or a new component, hook, helper or style rule that re-implements one the project already has. Search for the existing facility and name it with
file:line. - No duplicated strings or logic. A label, message or validation rule written out in several places instead of one constant, translation key or shared function; state, fetching or formatting logic copied between components.
- Project conventions. Before judging, find the project's own conventions: its component library or design system, theme tokens or CSS variables, styling approach, i18n setup, accessibility patterns, file layout and naming, lint and formatter config, and any conventions in
doc/loom/knowledge/conventions*or a design document in the tree. A change that departs from one (a hard-coded colour where tokens exist, a hand-rolled control where the library has one, a literal string where the project translates, a file outside the layout the rest follows) is a finding whoserulecites the convention and where it is defined.
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.
- 13d ago Changed · +18 lines 0d041fcaac05
- 1mo ago Changed · +1 lines 0e9849ba54a9
- 1mo ago Changed · -37 lines 27e438dfe97b
- 1mo ago Changed a892240f4c5e
- 2mo ago Changed · +29 lines 9ac927a7c848
- 3mo ago Changed · +5 lines 9e6fcc46e076
- 3mo ago First seen · 81 lines · 29 tokens per session scan A 18a4f99f57e4
loom-code-reviewer is an agent published in the GitHub repository cosmix/loom (66 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 1,589 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-30.
loom-code-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loom-code-reviewercosmix/loom | Agent | 66 | yesterday | MIT | A | 29 | Claude Code |
| refactor-expertalirezarezvani/claude-code-tresor | Agent | 790 | 22d ago | MIT | A | 34 | Claude Code |
| code-reviewnavikt/copilot | Agent | 65 | 2d ago | MIT | A | 28 | Claude Code |
| senior-software-developerpjt222/agent-almanac | Agent | 46 | today | MIT | A | 25 | Claude Code |
| code-reviewerpjt222/agent-almanac | Agent | 46 | today | MIT | A | 24 | Claude Code |
| skill-reviewerpjt222/agent-almanac | Agent | 46 | today | MIT | A | 27 | Claude Code |
| claw-polisherpjt222/agent-almanac | Agent | 46 | today | MIT | A | 43 | Claude Code |