Run a 5 Whys Analysis
Purpose
Trace a concrete symptom through a chain of evidenced cause-effect links to a root cause the organization can act on, so the countermeasure prevents recurrence instead of patching the latest occurrence.
When to use
- An incident, defect or process failure has been contained and now needs a root cause.
- The same problem recurs and previous fixes did not hold.
- A postmortem, lessons-learned or corrective action report needs causal reasoning.
When not to use
- The problem itself is vague or disputed. Use
problem-statement first.
- Many interacting causes are suspected across people, process, tools and environment. Use
fishbone-analysis, then run 5 Whys on the strongest branches.
- A live technical failure is being debugged. Use
debugging-hypotheses.
Inputs
Required:
- The symptom: what happened, where, when, and its impact.
Optional, improves quality:
- Timeline, logs, metrics, tickets, change history (personal data masked).
- Who was involved in detection and response (roles, not blame).
- Previous fixes and why they did not hold.
If the symptom is missing or only described as a solution ("we need monitoring"), ask what actually happened. Ask one question at a time about any link you cannot support.
Process
- Write the symptom as a factual, bounded statement: what, where, when, how often, impact. No causes in it.
- Ask "Why did this happen?" and write the direct cause as a verifiable fact about a system or process, not a person ("the retry limit was 0", not "Ali forgot").
- For each answer, record the evidence (log line, metric, config, document, interview) or mark it
[ASSUMPTION — verify by <check>].
- Run the "therefore" test backwards: read the chain from bottom to top with "therefore"; every step must follow logically.
- When an answer has several contributing causes, branch; analyze each branch separately instead of forcing one line.
- Continue until you reach a cause that is within the organization's control and whose removal would prevent recurrence. Five is a heuristic: stop earlier or go further as the evidence allows.
- Stop a branch at "human error", "lack of time" or "budget" only after asking why the system allowed that error or constraint; these are rarely root causes.
- Distinguish the root cause from contributing factors and from why the problem was not detected earlier (detection gap).
- Define countermeasures per root cause: immediate containment, permanent corrective action, and a detection improvement; each with an owner role and a verification method.
- List the assumptions and evidence gaps that would change the conclusion.
- If the user's goal continues, suggest
postmortem to document the incident, fishbone-analysis if the causes remain broad, or lessons-learned to share the learning.
Output format
# 5 Whys: <symptom short title>
**Symptom:** <what, where, when, how often, impact>
| # | Why? | Answer (cause) | Evidence |
|---|---|---|---|
| 1 | Why did <symptom>? | ... | <source> / [ASSUMPTION] |
| 2 | Why did <answer 1>? | ... | ... |
| ... | | | |
**Branch B (if any):** <same table>
## Root Cause(s)
- <root cause> – within our control: yes/no
## Contributing Factors and Detection Gap
- ...
## Countermeasures
| Type | Action | Owner (role) | Verification |
|---|---|---|---|
| Containment | ... | ... | ... |
| Corrective | ... | ... | ... |
| Detection | ... | ... | ... |
## Assumptions and Open Questions
- [ASSUMPTION] ...
Quality checklist
Common pitfalls
- Following the first plausible answer. Check each link against evidence; an unverified chain produces confident but wrong fixes.
- Stopping at the symptom's owner ("the ops team missed the alert"). Ask why the alert was missable.
- Jumping outside your control ("the vendor is unreliable"). Go one step back to what your process assumed about the vendor.
- Countermeasures that only add a manual check. Prefer changes that remove the failure mode.
Example
Input: "The nightly customer export failed three times this month; finance got the report late each time."
Excerpt of output:
| # |
Why? |
Answer |
Evidence |
| 1 |
Why was the report late? |
The export job failed and nobody re-ran it before 08:00. |
Scheduler history |
| 2 |
Why did the job fail? |
The source database was in its maintenance window when the job started. |
DB maintenance calendar |
| 3 |
Why did they overlap? |
The maintenance window moved last month; the job schedule was not updated. |
Change record [ASSUMPTION — confirm change ID] |
| 4 |
Why was the job not updated? |
Job dependencies on maintenance windows are not recorded anywhere. |
[ASSUMPTION] |
Root cause: schedule dependencies are undocumented, so changes to one side do not trigger a review of the other. Detection gap: job failure alerts go to a shared mailbox nobody watches at night.
1---2name: five-whys3description: "Runs a disciplined 5 Whys analysis from a clearly stated symptom down to one or more verifiable root causes, with evidence for each link, a branch per contributing cause and countermeasures that address the cause, not the symptom. Use when an incident, defect, missed target or recurring problem needs a root cause, when someone asks 'why does this keep happening', or when a postmortem or lessons-learned needs causal depth."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/five-whys7 version: "1.0.0"8 language: en9 category: 00-shared10 role: thinking-tools11 area: problem12 title: "Run a 5 Whys analysis"13 related: "problem-statement, fishbone-analysis, postmortem, debugging-hypotheses, lessons-learned"14 prompt: "Run a 5 Whys on this: the nightly customer export failed three times this month and finance got the report late each time."15---1617# Run a 5 Whys Analysis1819## Purpose20Trace a concrete symptom through a chain of evidenced cause-effect links to a root cause the organization can act on, so the countermeasure prevents recurrence instead of patching the latest occurrence.2122## When to use23- An incident, defect or process failure has been contained and now needs a root cause.24- The same problem recurs and previous fixes did not hold.25- A postmortem, lessons-learned or corrective action report needs causal reasoning.2627## When not to use28- The problem itself is vague or disputed. Use `problem-statement` first.29- Many interacting causes are suspected across people, process, tools and environment. Use `fishbone-analysis`, then run 5 Whys on the strongest branches.30- A live technical failure is being debugged. Use `debugging-hypotheses`.3132## Inputs33Required:34- The symptom: what happened, where, when, and its impact.3536Optional, improves quality:37- Timeline, logs, metrics, tickets, change history (personal data masked).38- Who was involved in detection and response (roles, not blame).39- Previous fixes and why they did not hold.4041If the symptom is missing or only described as a solution ("we need monitoring"), ask what actually happened. Ask one question at a time about any link you cannot support.4243## Process441. Write the symptom as a factual, bounded statement: what, where, when, how often, impact. No causes in it.452. Ask "Why did this happen?" and write the direct cause as a verifiable fact about a system or process, not a person ("the retry limit was 0", not "Ali forgot").463. For each answer, record the evidence (log line, metric, config, document, interview) or mark it `[ASSUMPTION — verify by <check>]`.474. Run the "therefore" test backwards: read the chain from bottom to top with "therefore"; every step must follow logically.485. When an answer has several contributing causes, branch; analyze each branch separately instead of forcing one line.496. Continue until you reach a cause that is within the organization's control and whose removal would prevent recurrence. Five is a heuristic: stop earlier or go further as the evidence allows.507. Stop a branch at "human error", "lack of time" or "budget" only after asking why the system allowed that error or constraint; these are rarely root causes.518. Distinguish the root cause from contributing factors and from why the problem was not detected earlier (detection gap).529. Define countermeasures per root cause: immediate containment, permanent corrective action, and a detection improvement; each with an owner role and a verification method.5310. List the assumptions and evidence gaps that would change the conclusion.5411. If the user's goal continues, suggest `postmortem` to document the incident, `fishbone-analysis` if the causes remain broad, or `lessons-learned` to share the learning.5556## Output format57```markdown58# 5 Whys: <symptom short title>5960**Symptom:** <what, where, when, how often, impact>6162| # | Why? | Answer (cause) | Evidence |63|---|---|---|---|64| 1 | Why did <symptom>? | ... | <source> / [ASSUMPTION] |65| 2 | Why did <answer 1>? | ... | ... |66| ... | | | |6768**Branch B (if any):** <same table>6970## Root Cause(s)71- <root cause> – within our control: yes/no7273## Contributing Factors and Detection Gap74- ...7576## Countermeasures77| Type | Action | Owner (role) | Verification |78|---|---|---|---|79| Containment | ... | ... | ... |80| Corrective | ... | ... | ... |81| Detection | ... | ... | ... |8283## Assumptions and Open Questions84- [ASSUMPTION] ...85```8687## Quality checklist88- [ ] The symptom statement contains no cause or solution.89- [ ] Every link has evidence or is marked `[ASSUMPTION]` with a verification step.90- [ ] The chain reads logically bottom-up with "therefore".91- [ ] No root cause is a person's name or "human error" without the system reason behind it.92- [ ] Each root cause has a corrective action and a way to verify it worked.93- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.9495## Common pitfalls96- Following the first plausible answer. Check each link against evidence; an unverified chain produces confident but wrong fixes.97- Stopping at the symptom's owner ("the ops team missed the alert"). Ask why the alert was missable.98- Jumping outside your control ("the vendor is unreliable"). Go one step back to what your process assumed about the vendor.99- Countermeasures that only add a manual check. Prefer changes that remove the failure mode.100101## Example102Input: "The nightly customer export failed three times this month; finance got the report late each time."103104Excerpt of output:105| # | Why? | Answer | Evidence |106|---|---|---|---|107| 1 | Why was the report late? | The export job failed and nobody re-ran it before 08:00. | Scheduler history |108| 2 | Why did the job fail? | The source database was in its maintenance window when the job started. | DB maintenance calendar |109| 3 | Why did they overlap? | The maintenance window moved last month; the job schedule was not updated. | Change record `[ASSUMPTION — confirm change ID]` |110| 4 | Why was the job not updated? | Job dependencies on maintenance windows are not recorded anywhere. | [ASSUMPTION] |111112Root cause: schedule dependencies are undocumented, so changes to one side do not trigger a review of the other. Detection gap: job failure alerts go to a shared mailbox nobody watches at night.