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 miptah21/skills --skill rca-diagnosticsgit clone --depth 1 https://github.com/miptah21/skillsWrote 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/miptah21/skills/rca-diagnostics)<a href="https://agentmods.dev/skills/miptah21/skills/rca-diagnostics"><img src="https://agentmods.dev/badge/skills/miptah21/skills/rca-diagnostics/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/miptah21/skills/rca-diagnostics"><img src="https://agentmods.dev/badge/skills/miptah21/skills/rca-diagnostics.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.00091 | $0.00521 |
| Opus 5.5 | $0.00036 | $0.00208 |
| Sonnet 5.5 | $0.00018 | $0.00104 |
| Haiku 4.5 | $0.00009 | $0.00052 |
Grade A, and why
rca-diagnostics 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 3mo 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 (RCA) Diagnostics
Cross-system incident response. For single Airflow DAG failures, use debugging-dags. For single dbt errors, use debugging-dbt-errors.
When to Apply
Use this skill when:
- Multiple pipelines or systems failed simultaneously (cascading failure)
- Correlating failures with infrastructure changes (deploys, config changes)
- Correlating failures with upstream data source changes
- Writing post-mortem / incident reports
- Investigating systemic reliability issues (recurring failures, intermittent errors)
- Analyzing patterns across multiple incident occurrences
Scope Boundaries
| Task | Correct Skill |
|---|---|
| "My DAG failed, fix it" | debugging-dags |
| "dbt build failed with error" | debugging-dbt-errors |
| "3 pipelines broke after deploy" | this skill ✅ |
| "Write a post-mortem for the outage" | this skill ✅ |
| "Why do these errors keep recurring?" | this skill ✅ |
Best Practices
- Methodical Tracing: Work backward from the point of failure to the source.
- Holistic View: Look beyond the code (check infrastructure, upstream API changes, network timeouts).
- Blameless Culture: Focus on systemic failures and how to prevent them in the future.
- Actionable Fixes: Always provide a short-term mitigation and a long-term architectural fix.
Execution Pattern
- Gather all available logs, error messages, and context from all affected systems.
- Build a timeline of events leading to the incident.
- Perform backward tracing to isolate the root cause.
- Provide a clear explanation of why it failed.
- Propose immediate remediation and long-term preventative measures.
- Draft a post-mortem document if requested.
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.
- 3mo ago First seen · 49 lines · 91 tokens per session scan A 5c9168467b91
rca-diagnostics is a skill published in the GitHub repository miptah21/skills (2 stars, last pushed 6mo ago), licensed MIT. It adds 91 tokens to every session and 521 once invoked, about $0.0004 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-03.
rca-diagnostics compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rca-diagnosticsmiptah21/skills | Skill | 2 | 6mo ago | MIT | A | 91 | Claude Code, Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | today | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 343 | today | Apache-2.0 | A | 112 | Claude Code |
| performance-verificationvalkor-ai/loom | Skill | 1.6k | 3d ago | Apache-2.0 | A | 45 | Claude Code, Codex |
| loop-engineeringhuytieu/COG-second-brain | Skill | 1.6k | yesterday | MIT | A | 63 | Claude Code |