agentleFS
itseffiitseffi/agentic-os/.agents/skills/root-cause-analysis/SKILL.md

root-cause-analysis

Skill114 starsChanged 10 months agoMITView on GitHub

Uncover root causes through recursive Why questioning and consequence exploration. Use before acting on problems.

17 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use observability, adversarial-review and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 3 projects that use this

  • MicrosoftSkill

    adversarial-review

    Adversarial review of a system design from 6 critical perspectives -- SRE, security, staff engineer, finance, operator, and developer advocate. Produces a unified risk assessment. Use for INTERACTIVE on-demand reviews during a design conversation (/adversarial-review). For RECIPE-DRIVEN reviews (where prior step context is needed), use the systems-design-critic agent instead.

    Also in 3 projects that use this

  • GoogleSkill

    domain-modeling

    Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.

    Also in 4 projects that use this

  • GoogleSkill

    improve-codebase-architecture

    Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

  • +2 more from google

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When you need to deeply understand a problem, decision, or situation before acting.

    line 12
  2. Distinctive:

    Start with the initial question and ask "Why?" repeatedly:

    line 18
  3. Distinctive:

    Ask "Why?" at least 5 times

    line 19
  4. Distinctive:

    If multiple reasons emerge, explore each branch

    line 21
  5. Distinctive:

    After finding root causes, explore forward:

    line 32
  6. Distinctive:

    Consider both positive and negative outcomes.

    line 37
  7. Distinctive:

    Do not use this skill when the request is unrelated, low-stakes, or better handled by a simpler direct response.

    line 55

“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Root Cause Analysis

Uncover root causes and explore consequences through structured questioning.

When to Use

When you need to deeply understand a problem, decision, or situation before acting.

The Process

1. Recursive "Why" Questioning

Start with the initial question and ask "Why?" repeatedly:

  • Ask "Why?" at least 5 times
  • Go deeper until you reach fundamental causes
  • If multiple reasons emerge, explore each branch

Example:

  • Why did users churn? → Onboarding was confusing
  • Why was it confusing? → Too many steps
  • Why too many steps? → We added features without simplifying
  • Why didn't we simplify? → No ownership of onboarding experience
  • Why no ownership? → Org structure doesn't align to user journey

2. Consequence Exploration

After finding root causes, explore forward:

  • 1st order: Immediate consequences
  • 2nd order: What results from those?
  • 3rd-5th order: Downstream effects

Consider both positive and negative outcomes.

3. First Principles Check

  • What fundamental truths underlie this?
  • What assumptions are we making?
  • What alternative perspectives exist?
  • Where are the gaps in logic?

Output Format

  • Root causes (the "Why?" chain)
  • Consequences (1st through 5th order)
  • First principles (fundamental truths, assumptions)
  • Conclusion (key insights)

When Not to Use

Do not use this skill when the request is unrelated, low-stakes, or better handled by a simpler direct response.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.