RootCauseAnalysis

RootCauseAnalysis is a skill for Claude Code, Codex from danielmiessler/LifeOS. It costs 93 tokens per session (1,264 once invoked), scanned A, original, MIT.

A structured way to investigate why an incident or failure happened, including contributing conditions and deeper system problems.

In plain words
What is it for?
Use it for root-cause analysis, Five Whys, fishbone diagrams, blameless postmortems, fault-tree analysis, and failure-risk reviews.
Why use it?
It helps teams look beyond the immediate mistake and learn from failures without blaming individuals.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it for root-cause analysis, Five Whys, fishbone diagrams, blameless postmortems, fault-tree analysis, and failure-risk reviews.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielmiessler/lifeos/rootcauseanalysis
About the project

LifeOS is an AI-assisted personal operating system that records a person’s goals, values, context, and current situation to help move them toward a desired future state. It supports work such as building applications, starting businesses, and creative projects. Its catalogue entries extend the system through skills, hooks, agents, and commands.

danielmiessler/LifeOS · 20,687 stars · on GitHub · ourlifeos.ai

Install

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.

Any agent
npx skills add danielmiessler/LifeOS --skill rootcauseanalysis
Clone the repo
git clone --depth 1 https://github.com/danielmiessler/LifeOS

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for RootCauseAnalysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielmiessler/lifeos/rootcauseanalysis/github.svg)](https://agentmods.dev/skills/danielmiessler/lifeos/rootcauseanalysis)
Your own site
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/rootcauseanalysis"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/rootcauseanalysis/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.

agentmods 80×15 button for RootCauseAnalysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielmiessler/lifeos/rootcauseanalysis"><img src="https://agentmods.dev/badge/skills/danielmiessler/lifeos/rootcauseanalysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,264 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 23
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.01264
Opus 5.5 $0.00037 $0.00506
Sonnet 5.5 $0.00019 $0.00253
Haiku 4.5 $0.00009 $0.00126

Measured 1mo ago against content hash 4dbee281748e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

RootCauseAnalysis 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 1mo 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.

LifeOS/install/skills/RootCauseAnalysis/SKILL.md · 81 lines

How it starts

The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RootCauseAnalysis Skill

RootCauseAnalysis investigates incidents and recurring failures with causal methods (Five Whys, Fishbone, blameless Postmortem, Fault Tree, Kepner-Tregoe) and traces them to systemic root causes rather than to a person to blame. Apollo/RealityCharting and FMEA are supporting methods documented in Foundation.md and MethodSelection.md, not separate intents.

Ideal State

  • The method fits the failure class, as the situation table under Intent Routing maps it, and a non-trivial incident is written as a Postmortem with the other methods as its investigation tools.
  • Every diagnosis is evidence-backed and blameless, with 3+ actionable systemic contributing factors rather than a single blame target. It ends at causes that are both systemic and within authority to change, never at a person to blame, and each corrective action prevents a class of recurrence rather than the latest trigger.
  • Every conclusion that rests on a fact the request supplied cites that fact, checked at its source, and a caller's hypothesis is never taken as fact.
  • Decisions are judged using the information available at the time.
  • What the evidence cannot support is disclosed as a gap or a hypothesis, never filled with invented causes, probabilities or comparisons, and never padded with invented factors to meet the 3+ target.
  • The analysis delivered is finished; no sub-work is still running when it is handed over.

Intent Routing

Intent Trigger File
FiveWhys "5 whys", "five whys", quick causal chain, ask why until root Intents/FiveWhys.md
Fishbone "fishbone", "ishikawa", categorized cause map, 6 M's / 4 P's / 8 M's Intents/Fishbone.md
Postmortem "postmortem", "incident review", "blameless postmortem", production incident Intents/Postmortem.md
FaultTree "fault tree", "fta", top-down deductive, safety-critical, AND/OR logic Intents/FaultTree.md
KepnerTregoe "kepner tregoe", "is/is-not", "what changed", distinction analysis, subtle defects Intents/KepnerTregoe.md

Read the full file on GitHub · 81 lines

Files

What ships with it

7 files 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.

Changes

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.

  1. 1mo ago Changed · -97 lines 4dbee281748e
  2. 3mo ago First seen · 178 lines · 93 tokens per session scan A 0c46f478db84

Subscribe to this mod's changes

RootCauseAnalysis is a skill published in the GitHub repository danielmiessler/LifeOS (20,687 stars, last pushed 15d ago), licensed MIT. It adds 93 tokens to every session and 1,264 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-08-30.

Related

RootCauseAnalysis compared with skills from other repositories

RootCauseAnalysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
RootCauseAnalysisdanielmiessler/LifeOSSkill21k15d agoMITA93Claude Code, Codex
benchmark-workflowxberg-io/xbergSkill9.7kyesterdayMITA13Claude Code
tldr-routerparcadei/Continuous-Claude-v3Skill4.0k17d agoMITA20Claude Code
authoring-error-tracking-alertsPostHog/posthog-fossSkill736yesterdayMITA81Claude Code, Codex
recipe-diagnoseshinpr/claude-code-workflowsSkill7252d agoMITA15Claude Code
workflowzhinkgit/embeddedskillsSkill8272d agoMITA65Claude Code
prompt-debuggingmohitagw15856/pm-claude-skillsSkill1.6kyesterdayMITA131Claude Code