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 autohandai/code-cli --skill root-cause-analysisgit clone --depth 1 https://github.com/autohandai/code-cliWrote 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/autohandai/code-cli/root-cause-analysis)<a href="https://agentmods.dev/skills/autohandai/code-cli/root-cause-analysis"><img src="https://agentmods.dev/badge/skills/autohandai/code-cli/root-cause-analysis/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/autohandai/code-cli/root-cause-analysis"><img src="https://agentmods.dev/badge/skills/autohandai/code-cli/root-cause-analysis.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.00050 | $0.00452 |
| Opus 5.5 | $0.00020 | $0.00181 |
| Sonnet 5.5 | $0.00010 | $0.00090 |
| Haiku 4.5 | $0.00005 | $0.00045 |
Grade A, and why
root-cause-analysis 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 2mo 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
Root-cause analysis
The goal is a document another engineer can act on: what happened, why it was possible, and what stops the class of failure, not just this instance.
Gather evidence first
- Establish the timeline from artifacts, not memory: commits (
git_log), deploys, config changes, alerts, logs, test runs. Timestamp everything. - Identify the trigger (the change or event) separately from the cause (why the system could not tolerate it) and the contributing factors (what let it reach users).
- Reproduce or at least confirm the mechanism in code with file paths and line numbers. Quote the exact lines.
Ask "why" until the answer is a design decision
Stop at a decision someone can change (a missing check, an assumed invariant, a shared resource, an unbounded wait), not at "human error". People make the same mistakes when the system makes them easy.
Write the report
Use this shape, kept short:
- Impact: who, what, how long, blast radius.
- Timeline: bullet list with times.
- Trigger: the change or event.
- Root cause: the design gap, with code references.
- Contributing factors: detection, rollout, tests, ownership.
- What went well: what limited the damage.
- Actions: each with an owner-shaped verb, a test or check that would have caught it, and whether it prevents, detects, or mitigates. Prefer changes to the system over reminders to people.
Verify before delivering
Every claim in the report must trace to evidence you collected. If something is inferred, label it as such. Offer to open the follow-up tasks.
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.
- 2mo ago First seen · 46 lines · 50 tokens per session scan A 8566f51fc2c0
root-cause-analysis is a skill published in the GitHub repository autohandai/code-cli (219 stars, last pushed 4d ago), licensed Apache-2.0. It adds 50 tokens to every session and 452 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-09-15.
root-cause-analysis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| root-cause-analysisautohandai/code-cli | Skill | 219 | 4d ago | Apache-2.0 | A | 50 | Claude Code |
| neuron-monitoringneuron-core/neuron-ai | Skill | 2.2k | 3d ago | MIT | A | 80 | Claude Code, Codex |
| evidence-auditWrongStack/WrongStack | Skill | 444 | today | MIT | A | 163 | Codex |
| bug-hunterWrongStack/WrongStack | Skill | 444 | today | MIT | A | 216 | Claude Code, Codex |
| debuggingWrongStack/WrongStack | Skill | 444 | today | MIT | A | 175 | Claude Code, Codex |
| observabilityWrongStack/WrongStack | Skill | 444 | today | MIT | A | 113 | Claude Code, Codex |
| incident-responseWrongStack/WrongStack | Skill | 444 | today | MIT | A | 87 | Claude Code, Codex |