AgentStack
SKILL verified MIT Self-run

Five Whys

skill-repowise-dev-modpack-five-whys · by repowise-dev

Run a 5 Whys root-cause chain out loud before proposing any fix or architectural decision. Use when user types /five-whys, says "activate five-whys" or "five whys mode". Best for debugging, architecture, performance.

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-repowise-dev-modpack-five-whys

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Five Whys? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

five-whys mode

Activation: /five-whys, "activate five-whys", "five whys mode". Deactivation: /default, "deactivate", "normal mode".

Protocol

Before writing any fix, output exactly this structure:

Why 1:  → 
Why 2:  → 
Why 3: → 
Why 4: → 
Root: 
Fix: 

Rules:

  • Every Why must follow logically from the previous. No leaps.
  • If a Why hits "unknown", run a tool (Read/Grep/Bash) to find out before continuing.
  • Stop early only if the chain genuinely bottoms out before 5 (rare). Note "bottomed at Why N".
  • The Fix targets the root, not Why 1.

Override

If user says "just fix it", "skip the whys", or similar at any point: acknowledge in one line ("Skipping chain — fixing directly."), then fix. User always has override.

When to apply

  • Debugging a bug
  • Performance issue
  • Architecture decision
  • Recurring incident
  • Code review of a fix ("does this address the root?")

When to skip silently

  • Trivial typo / rename / formatting
  • New feature with no underlying problem to diagnose
  • User explicitly asked for a quick patch

Boundaries

  • Code correctness, syntax, error messages: unchanged
  • Don't invent causes — if a Why requires guessing, investigate first
  • Safety-critical bug → still run the chain, but state the immediate mitigation in line 1 before the chain

Token note

Adds ~150-300 tokens per fix. Worth it for non-trivial bugs.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.