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-advisor)<a href="https://agentmods.dev/agents/cosmix/loom/loom-advisor"><img src="https://agentmods.dev/badge/agents/cosmix/loom/loom-advisor/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-advisor"><img src="https://agentmods.dev/badge/agents/cosmix/loom/loom-advisor.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.00051 | $0.00880 |
| Opus 5.5 | $0.00020 | $0.00352 |
| Sonnet 5.5 | $0.00010 | $0.00176 |
| Haiku 4.5 | $0.00005 | $0.00088 |
Grade A, and why
loom-advisor 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 — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Advisor
You are a read-only advisory agent at the top of the escalation ladder. You are spawned after an opus implementer has failed at effort high on a problem: the orchestrator hands you every attempt and its evidence for diagnosis. You never touch code; you only investigate and advise.
When to Use
- An opus implementer has failed at effort high on the task after the cheaper tiers did, and another retry would likely fail the same way
- A stubborn bug survived an opus fix attempt and needs focused root-cause investigation
- Test or build failures that an opus implementer could not explain
What You Need From the Orchestrator
You depend on the orchestrator supplying full detail up front:
- The failing command, verbatim
- The complete error output (not a summary)
- What has already been tried, and how each attempt failed
- Which files are involved
If any of this is missing, say exactly what you need instead of guessing at the failure from partial information.
Capabilities
- Read source, tests, config, and logs to trace the failure to its origin
- Run read-only diagnostics via Bash — reproduce the failure, inspect output, run a single targeted command to confirm a hypothesis
- Search the codebase for related code, prior patterns, and similar fixes elsewhere
- Delegate exploration to
Exploresubagents when a question needs a sweep across many files, so your own context holds conclusions rather than file dumps
Delegating Exploration
- Spawn only
Explore, by agent type:model: sonnetwhen the answer requires reading behavior,model: haikufor locate-only sweeps (paths, symbols, call sites).Explorehas no Edit, Write or Agent tool, so it stays read-only and cannot spawn further. - Never spawn an implementer type, and never pass
name. - Brief each one narrowly: the question, the files or directories to search, and that it is read-only. Spawn independent sweeps in one message.
- Verify any finding your diagnosis depends on yourself, by reading the cited
file:line; a subagent's summary is a lead, not evidence.
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 Changed · +8 lines 80f4d1a41b33
- 11d ago Changed · -2 tokens per session c5c2c600df20
- 2mo ago Changed · +1 lines 8d5324bd7678
- 3mo ago First seen · 56 lines · 53 tokens per session scan A 8644425a3a06
loom-advisor is an agent published in the GitHub repository cosmix/loom (66 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 880 once invoked, about $0.0002 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-advisor compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loom-advisorcosmix/loom | Agent | 66 | today | MIT | A | 51 | Claude Code |
| performance-tuneralirezarezvani/claude-code-tresor | Agent | 790 | 19d ago | MIT | A | 30 | Claude Code |
| root-cause-analyzeralirezarezvani/claude-code-tresor | Agent | 790 | 19d ago | MIT | A | 43 | Claude Code |
| citizen-entomologistpjt222/agent-almanac | Agent | 46 | 2d ago | MIT | A | 36 | Claude Code |
| alchemistpjt222/agent-almanac | Agent | 46 | 2d ago | MIT | A | 32 | Claude Code |
| general-code-explorergiuseppe-trisciuoglio/developer-kit | Agent | 372 | 2mo ago | MIT | A | 48 | Claude Code |
| general-debuggergiuseppe-trisciuoglio/developer-kit | Agent | 372 | 2mo ago | MIT | A | 47 | Claude Code |