Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add RBraga01/Quality-Engineering-Skills --skill 5why-root-causegit clone --depth 1 https://github.com/RBraga01/Quality-Engineering-SkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/rbraga01/quality-engineering-skills/5why-root-cause)<a href="https://agentmods.dev/skills/rbraga01/quality-engineering-skills/5why-root-cause"><img src="https://agentmods.dev/badge/skills/rbraga01/quality-engineering-skills/5why-root-cause/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rbraga01/quality-engineering-skills/5why-root-cause"><img src="https://agentmods.dev/badge/skills/rbraga01/quality-engineering-skills/5why-root-cause.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.01889 |
| Opus 5 | $0.00039 | $0.00945 |
| Sonnet 5 | $0.00015 | $0.00378 |
| Haiku 4.5 | $0.00008 | $0.00189 |
Grade A, and why
5why-root-cause scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.
5-Why Root Cause Analysis
Goal
Identify and validate a systemic root cause through a structured, evidence-based Why chain that can be directly linked to a corrective action.
Required Execution Checklist
- Problem defined with measurable data (value vs. specification)
- Linear Why chain built — one cause path at a time, no branching
- Each Why supported by objective evidence (not opinion or "probably")
- Logical consistency verified — reversal check passed
- Systemic root cause identified (not "human error" or symptom)
- Root cause validated: reproducibility test + elimination test
- Output enables definition of corrective action (PCA or CAPA)
When to use
Use 5-Why for any quality problem with a single, linear cause chain. Works best for process failures, equipment failures, and procedural non-compliances. For complex problems with multiple contributing causes, use Fishbone first to identify candidate root causes, then use 5-Why to drill into each.
If multiple potential cause paths exist — do not combine them into one chain. Run separate 5-Why chains for each path and determine which is confirmed by evidence.
Prerequisites
- Problem is clearly defined (use Is/Is-Not to scope if needed)
- The investigation team has access to the process, machine, or system where the defect occurred
- Physical evidence or production records are available
Use within 8D — Occurrence and Escape
When used for 8D D4, two separate Why chains are required:
| Chain | Starting question | What it finds |
|---|---|---|
| Occurrence chain | "Why did the defect happen?" | Root Cause of Occurrence (RCO) — the process or design failure that created the defect |
| Escape chain | "Why was the defect not detected before reaching the customer?" | Root Cause of Escape (RCE) — the detection system failure |
Run each chain independently. Do not mix occurrence and escape causes in the same chain — they have different corrective actions. The occurrence chain addresses prevention; the escape chain addresses detection.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 191 lines · 77 tokens per session scan A 492a3f50c07e
5why-root-cause is a skill published in the GitHub repository RBraga01/Quality-Engineering-Skills (28 stars, last pushed 5d ago), licensed MIT. It adds 77 tokens to every session and 1,889 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
agent-refinement
Agent skill for refinement - invoke with $agent-refinement.
performance-analysis
Comprehensive performance analysis, bottleneck detection, and optimization recommendations for Claude Flow swarms.
agent-code-analyzer
Agent skill for code-analyzer - invoke with $agent-code-analyzer.
agent-performance-analyzer
Agent skill for performance-analyzer - invoke with $agent-performance-analyzer.
debug-optimize-lcp
Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…
systematic-debugging
Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.