5whys

Performs root cause analysis by repeatedly asking “why” up to five times, suitable for debugging, troubleshooting, or understanding deeper reasons for an issue.

Last repository push
GitHub Stars
127
Forks
21
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "5whys" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f1db11157a0e5a47626fef6478cbd7607224c46dc56875a4d2e8341fa2b10ab3. Verify the upstream source and version against https://github.com/neurofoo/agent-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Performs root cause analysis by repeatedly asking “why” up to five times, suitable for debugging, troubleshooting, or understanding deeper reasons for an issue.

0 Downloads

Introduction source: third_party · neurofoo · 0.0.1 Reference

SkillPi interpretation

Tasks
Five Whys root cause analysis. Iteratively asks "why" to drill past symptoms to underlying causes. Use for debugging, investigating failures, or understanding why something went wrong.
Audience
Not specified in the source documentation.
Inputs and outputs
Problem Statement** Restate the problem clearly and specifically. Why Chain** | Level | Question | Answer | |-------|----------|--------| | 1 | Why did [problem]? | [Answer 1] | | 2 | Why did [Answer 1]? | [Answer 2] | | 3 | Why did [Answer 2]? | [Answer 3] | | 4 | Why did [Answer 3]? | [Answer 4] | | 5 | Why did [Answer 4]? | [Root Cause] | Root Cause** The fundamental issue identified. Explain why this is the root (not just another symptom). Branches** (if applicable) If multiple valid answers exist at any level, show the branching analysis. Corrective Actions** Immediate: What to do now to address the symptom Systemic: What to change to prevent recurrence Verification** How will you confi
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: 5whys
description: Five Whys root cause analysis. Iteratively asks "why" to drill past symptoms to underlying causes. Use for debugging, investigating failures, or understanding why something went wrong.
user-invocable: true

Five Whys Analysis

Perform iterative root cause analysis by asking "why" repeatedly until you reach the underlying cause.

Instructions

Start with the stated problem and ask "why" it occurred. For each answer, ask "why" again. Continue until you reach a root cause that:

  • Is actionable (you can do something about it)
  • Is fundamental (asking "why" further leads to abstract/unhelpful answers)
  • Explains the chain of causation

Typically this takes 5 iterations, but may be fewer or more.

Output Format

Problem Statement Restate the problem clearly and specifically.

Why Chain

Level Question Answer
1 Why did [problem]? [Answer 1]
2 Why did [Answer 1]? [Answer 2]
3 Why did [Answer 2]? [Answer 3]
4 Why did [Answer 3]? [Answer 4]
5 Why did [Answer 4]? [Root Cause]

Root Cause The fundamental issue identified. Explain why this is the root (not just another symptom).

Branches (if applicable) If multiple valid answers exist at any level, show the branching analysis.

Corrective Actions

  • Immediate: What to do now to address the symptom
  • Systemic: What to change to prevent recurrence

Verification How will you confirm the root cause is correct? (Test the hypothesis)

Guidelines

  • Each answer should be factual and verifiable
  • Avoid blame ("John didn't do X")—focus on systems and processes
  • If you're guessing, note it as a hypothesis to verify
  • Watch for circular logic
  • It's okay to branch if there are multiple valid causes
  • Stop when further "why" questions become philosophical or unhelpful

Examples

Software Bug

Problem: Users are seeing 500 errors on the checkout page

Level Question Answer
1 Why are users seeing 500 errors? The payment service is timing out
2 Why is the payment service timing out? Database queries are taking >30 seconds
3 Why are database queries slow? The orders table has 50M rows and no index on customer_id
4 Why is there no index? The table was created before we had this query pattern
5 Why wasn't an index added when the query was added? No database review process for new queries

Root Cause: Missing process for database review when adding new query patterns.

Corrective Actions:

  • Immediate: Add index on customer_id
  • Systemic: Add database review checklist to PR template

Customer Churn

Problem: Enterprise customer canceled after 6 months

Level Question Answer
1 Why did the customer cancel? They said the product wasn't delivering value
2 Why wasn't it delivering value? They only had 12% feature adoption
3 Why was adoption so low? Users weren't trained on key workflows
4 Why weren't users trained? Onboarding ended after technical setup
5 Why does onboarding end at setup? Success team is understaffed; prioritizes new sales

Root Cause: Success team capacity forces them to end onboarding prematurely.

Corrective Actions:

  • Immediate: Reach out to at-risk accounts with training
  • Systemic: Hire success capacity; redefine onboarding to include adoption milestone

$ARGUMENTS

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供完整的根本原因分析方法论
  • 包含多个真实场景示例
  • 输出格式清晰结构化
Trigger Precision90/100

Highlights

  • 触发描述清晰明确
  • 覆盖多种使用场景
  • 边界定义清楚
Structure and Standards95/100

Highlights

  • 步骤划分清晰完整
  • 包含端到端示例
  • frontmatter信息完整
Execution Reliability95/100

Highlights

  • 无外部依赖风险
  • 方法论可靠可重复
  • 示例验证执行流程
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.