Root Cause Analysis logo

Root Cause Analysis

Community
qa-aman
root-cause-analysis

Find the root cause of a problem, not just symptoms. Use when the user says "root cause", "why does this keep happening", "5 whys", "fishbone diagram", "cause analysis", "problem investigation", "defect analysis", "incident analysis", "A3 problem solving", "what's causing this", "ishikawa" - even if they don't explicitly say "root cause analysis".

Overview

Publisherqa-aman
Repositoryclaude-skills
Skill nameroot-cause-analysis
Stars
26
Forks
4
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by qa-aman on GitHub. Read the source before you install it.

Installation

Install the Root Cause Analysis AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/qa-aman/claude-skills/tree/main/skills/by-role/business-analyst/root-cause-analysis
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/qa-aman/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/skills/by-role/business-analyst/root-cause-analysis .claude/skills/root-cause-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Root Cause Analysis in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Root Cause Analysis on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Root Cause Analysis is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Reference Files

  • references/fishbone-categories.md - Six fishbone categories adapted for BA context (People, Process, Technology, Policy, Environment, Data) with example causes for each. Read this in Step 4 when building the Ishikawa diagram.

Overview

Based on Business Process Change by Paul Harmon - integrating Six Sigma DMAIC root cause methodology into business process improvement. Also draws on Lean Business Analysis by Mark Sherrington for the A3 Problem Solving technique - a one-page structured format that forces clarity by constraining the entire analysis to a single sheet. The key insight: most "root causes" identified in practice are actually symptoms. True root cause analysis requires asking "why" until you reach a systemic cause you can change - something in the process, policy, or system design, never an individual person.

Workflow

Step 1: Write the problem statement

Be specific and measurable. A good problem statement answers: what, where, when, and how much.

BAD:  "The system is slow."
GOOD: "Order processing takes 4.2 hours on average, exceeding the 2-hour SLA.
       This has occurred for 67% of orders in the past 30 days, primarily
       affecting [region/segment]. Impact: $[X] in late delivery penalties."

Step 2: Gather data

Before hypothesizing causes, collect evidence:

  • Timeline of when the problem started and any changes that preceded it
  • Frequency and pattern (constant, intermittent, time-based, load-based)
  • Scope of impact (which users, processes, or systems are affected)
  • Prior attempts to fix and their outcomes

Step 3: Run 5 Whys analysis

Start with the problem statement and ask "why" iteratively:

Problem: Order processing exceeds 2-hour SLA
Why 1?  Manual validation step takes 90 minutes
Why 2?  Validator must cross-reference 3 systems manually
Why 3?  Systems don't share a common order ID
Why 4?  Each system was built independently without integration design
Why 5?  No enterprise data architecture was defined when systems were procured
ROOT CAUSE: Absence of enterprise data architecture standards for procurement

Rules for 5 Whys:

  • Branch when multiple causes exist at a level
  • Stop when you reach a cause that is systemic and actionable
  • If a "why" answer is a person's name, go deeper - root causes are systemic

Step 4: Build a Fishbone (Ishikawa) diagram

Use 6 BA-specific categories (see references/fishbone-categories.md):

  • People: skills, capacity, roles, communication
  • Process: steps, handoffs, bottlenecks, documentation
  • Technology: systems, integrations, performance, functionality
  • Policy: rules, approvals, compliance, SLAs
  • Environment: organizational context, budget, competing priorities
  • Data: quality, availability, accuracy, access

Place the problem at the head. Add potential causes along each bone. Circle the causes that appear across multiple categories - these are systemic.

Step 5: Apply Pareto analysis

Rank causes by frequency or impact. The 80/20 rule: typically 20% of causes drive 80% of the problem. Focus countermeasures on the vital few, not the trivial many.

Step 6: Validate the root cause

Before declaring a root cause, test it:

  • Can you reproduce the problem by triggering this cause?
  • Does removing this cause prevent recurrence?
  • Does the causal chain from root to symptom hold under scrutiny?
  • Is this cause actionable (you can change it)?

Step 7: Document using A3 format

| A3 Section | Content |
|------------|---------|
| Background | Why this problem matters |
| Current Condition | Problem statement with data |
| Goal | Target state after fix |
| Root Cause Analysis | 5 Whys + Fishbone summary |
| Countermeasures | Actions to address root cause |
| Implementation Plan | Who, what, when |
| Follow-up | How to verify the fix worked |
| Expected Results | Measurable improvement target |

Anti-Patterns

1. Stopping at symptoms Bad: "Users didn't follow the process." (Why didn't they? That's a symptom.) Good: "The process requires 12 steps across 3 systems with no integrated view, so users created workarounds."

2. Root cause is a person's name Bad: "John made an error." Good: "The process has no validation check at step 5, allowing data entry errors to propagate."

3. 5 Whys that go in circles Bad: Why? Because X. Why X? Because Y. Why Y? Because X again. Good: If you loop back, you've missed a branch. Split and explore both causal paths.

4. Fishbone with only technology causes Bad: All causes listed under "Technology" - ignoring process, people, and policy. Good: Populate at least 4 of the 6 categories before concluding.

5. No validation of the root cause Bad: "We think the root cause is X, so let's fix it." Good: Test the hypothesis - can you reproduce the problem? Does the fix address it?

Quality Checklist

  • Problem statement is specific, measurable, and time-bounded
  • Data gathered before hypothesizing (not after)
  • 5 Whys reaches a systemic cause (not an individual)
  • Fishbone covers at least 4 of 6 categories
  • Pareto analysis identifies the vital few causes
  • Root cause is validated (reproducible, removable, actionable)
  • Countermeasures address root cause, not symptoms
  • A3 document is complete with follow-up plan and expected results

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Root Cause Analysis AI skill do?

Find the root cause of a problem, not just symptoms. Use when the user says "root cause", "why does this keep happening", "5 whys", "fishbone diagram", "cause analysis", "problem investigation", "defect analysis", "incident analysis", "A3 problem solving", "what's causing this", "ishikawa" - even if they don't explicitly say "root cause analysis".

Why use Root Cause Analysis on TypingMind?

Because you install it once and use it with any model. Root Cause Analysis is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Root Cause Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/qa-aman/claude-skills/tree/main/skills/by-role/business-analyst/root-cause-analysis. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Root Cause Analysis?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Root Cause Analysis?

As many as you like. As long as a model supports skills, you can use Root Cause Analysis with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Root Cause Analysis AI skill free?

Yes. It is published on GitHub by qa-aman under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇