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 skills add grimoire-rs/grimoire --skill rcagit clone --depth 1 https://github.com/grimoire-rs/grimoireWrote 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/skills/grimoire-rs/grimoire/rca)<a href="https://agentmods.dev/skills/grimoire-rs/grimoire/rca"><img src="https://agentmods.dev/badge/skills/grimoire-rs/grimoire/rca/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/skills/grimoire-rs/grimoire/rca"><img src="https://agentmods.dev/badge/skills/grimoire-rs/grimoire/rca.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.00080 | $0.01184 |
| Opus 5.5 | $0.00032 | $0.00474 |
| Sonnet 5.5 | $0.00016 | $0.00237 |
| Haiku 4.5 | $0.00008 | $0.00118 |
Grade A, and why
rca 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 18d 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RCA — root cause analysis of a ticket
Read-only. Never edit a tracked file, never commit, never comment on the issue. Output is the report in conversation.
Research behind the gates below: LLM RCA agents hallucinate data interpretation, stop exploring early, and reach right answers without a sound trail — and "be careful" prompting does not fix it. Structural gates do. Every gate is mandatory; a report missing one is incomplete, say so.
1. Intake
- Issue:
gh issue view <n> --json title,body,comments,labels,createdAt(URL → same). Text → use as given. - Restate as IS / IS NOT: expected vs actual, where (command, platform, version), when (since which change), extent. Issue text is a claim, not a fact — stack traces and versions get checked.
- Duplicates:
gh issue list --state all --search "<key terms>". - Already fixed:
git log --oneline -S '<symbol or message>'and blame on the suspect lines vs the reported version.
2. Reproduce
Allowed only outside tracked files: the scratchpad, a freshly built binary (cargo build, then target/debug/grim with GRIM_HOME pointed at a scratchpad directory), an existing test run filtered to the area (task test:parallel --force -- tests/<file>, cargo test <filter> for a unit test; never hand-rolled uv run pytest). Record one of reproduced (command + output excerpt), not reproduced (what was tried), not attempted (why). A not-reproduced bug caps confidence at medium.
3. Hypotheses — at least two
Write ≥2 competing explanations, one of which is a not-a-bug verdict when plausible. Each gets a prediction and a disconfirming check.
Fan out one worker per hypothesis (≤3, parallel, subagent_type: Explore, model: sonnet, prompt carries Model rationale: read-only localization, sonnet default). Brief: the IS/IS-NOT block, the one hypothesis, the check to run. Localize in stages: file → function → line. Each claim returned must be graded:
- observed — read at
file:lineor seen in command output (cite it) - inferred — follows from observed facts (name them)
- assumed — neither; flag it
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 18d ago First seen · 85 lines · 80 tokens per session scan A f78b85946cd2
rca is a skill published in the GitHub repository grimoire-rs/grimoire (17 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 1,184 once invoked, about $0.0003 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-11-13.
rca compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rcagrimoire-rs/grimoire | Skill | 17 | today | Apache-2.0 | A | 80 | Claude Code |
| oraclesteipete/oracle | Skill | 4.1k | 3d ago | MIT | A | 18 | Claude Code, Codex |
| skill-repairaeonfun/aeon | Skill | 800 | yesterday | MIT | A | 28 | Claude Code, Codex |
| self-improveaeonfun/aeon | Skill | 800 | yesterday | MIT | A | 44 | Claude Code, Codex |
| posthog-errorsaeonfun/aeon | Skill | 800 | yesterday | MIT | B | 74 | Claude Code, Codex |
| aeon-doctoraeonfun/aeon | Skill | 800 | yesterday | MIT | B | 59 | Claude Code, Codex |
| monitoring-observabilitytravisjneuman/.claude | Skill | 115 | 2d ago | MIT | A | 48 | Claude Code |