Best for
- A resolved incident needs a structured cause investigation before
- A bug recurs and the team needs to understand the underlying system
- Invoked directly or by blameless-post-mortem
event4u-app/agent-config/src/skills/root-cause-frameworks/SKILL.md
Use when tracing the root cause of a resolved incident or recurring bug — 5-whys chain, fishbone categorisation, contributing-factors split — even if the user says 'why does this keep breaking?'.
Decision brief
Structured root-cause analysis for resolved incidents and recurring bugs. Sibling of systematic-debugging (live reproduction loop) and bug-analyzer (static call-site analysis) — this skill takes the post-resolution "why did this happen and how do we stop it recurring?" view.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/root-cause-frameworks"Inspect the Agent Skill "root-cause-frameworks" from https://github.com/event4u-app/agent-config/blob/0adf49a8ae84b0ff6e2de8759eea43257e020eff/src/skills/root-cause-frameworks/SKILL.md at commit 0adf49a8ae84b0ff6e2de8759eea43257e020eff. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Work through the three methods in order; return the best-supported result.
A resolved incident needs a structured cause investigation before
Ask "Why did X happen?" iteratively, attaching evidence to each link. Continue until the link is unfalsifiable, evidence runs out, or you reach a systemic condition outside the team's control.
When the 5-whys chain stalls before reaching a systemic cause, or branches into more than three independent paths, map contributing factors across six categories:
Classify every cause surfaced in steps 1–2 into exactly one bucket:
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 92/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 7 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Structured root-cause analysis for resolved incidents and recurring bugs. Sibling of
systematic-debugging(live reproduction loop) andbug-analyzer(static call-site analysis) — this skill takes the post-resolution "why did this happen and how do we stop it recurring?" view.
blameless-post-mortem
to populate the cause section.Do NOT use when:
systematic-debugging instead.blast-radius-analyzer instead.Work through the three methods in order; return the best-supported result.
Ask "Why did X happen?" iteratively, attaching evidence to each link. Continue until the link is unfalsifiable, evidence runs out, or you reach a systemic condition outside the team's control.
Rules:
[speculative].When the 5-whys chain stalls before reaching a systemic cause, or branches into more than three independent paths, map contributing factors across six categories:
| Category | Sample questions |
|---|---|
| People | Knowledge gap, on-call fatigue, ambiguous ownership? |
| Process | Missing review step, deploy gate skipped, alert threshold wrong? |
| Technology | Library version, configuration drift, race condition, hardware limit? |
| Data | Unexpected input shape, stale cache, missing validation, schema mismatch? |
| Environment | Infra difference between environments, dependency version skew? |
| Communication | Unclear spec, siloed knowledge, delayed escalation? |
List each identified factor as a bullet under its category. A factor may appear in more than one category — that is evidence of a systemic coupling worth naming.
Classify every cause surfaced in steps 1–2 into exactly one bucket:
| Bucket | Definition |
|---|---|
root | The condition that, if absent, the incident would not have occurred. |
contributing | A condition that increased likelihood or severity, but not sufficient alone. |
amplifying | A condition that made recovery slower or harder once the incident started. |
coincidence | Present at the time but causally unrelated. |
A well-formed analysis typically has one root cause and two to
four contributing causes. Multiple root entries indicate the chain
has not been traced far enough, or that the incident was a genuine
compound failure — label it explicitly.
The output has three ordered sections:
[speculative] flag) and any branch markers.root / contributing / amplifying / coincidence, with a
one-sentence justification.May invoke systematic-debugging or
bug-analyzer mid-procedure to gather
evidence for a specific hypothesis, then continue the analysis.
[speculative] link as confirmed cause.blameless-post-mortem — invokes
this skill for the cause section.systematic-debugging — live
reproduction and fix loop.bug-analyzer — static call-site analysis.risk-officer — mitigation framing for
corrective actions after the cause is established.Alternatives
event4u-app/agent-config
Use when the user says "review the design", "check the UI", or wants a comprehensive UI/UX review. Uses a 7-phase methodology covering interaction, responsiveness, accessibility, and more.
K-Dense-AI/scientific-agent-skills
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.
K-Dense-AI/scientific-agent-skills
Use NeuroKit2 to build or audit reproducible research workflows for physiological time-series preprocessing, event/interval analysis, multimodal alignment, variability, and complexity. Trigger when code imports neurokit2 or needs its current APIs, schemas, and method-aware validation—not for diagnosis or device validation.
affaan-m/ECC
Use it for engineering and operations tasks; the detail page covers purpose, installation, and practical steps.