root-cause-investigator

root-cause-investigator is a skill for Claude Code from umputun/cc-thingz. It costs 53 tokens per session (745 once invoked), scanned A, original, MIT.

A structured method for investigating errors, bugs, failed builds, failed tests, slow performance, and other unexpected behavior. It repeatedly asks why a problem happened to move from the visible symptom toward its underlying cause.

In plain words
What is it for?
Collecting reproduction details, examining logs and recent changes, and documenting a five-step analysis of what caused a problem.
Why use it?
It reduces the chance of applying a temporary fix to the wrong part of a system.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the thinking-tools plugin — 3 skills shipped together

Good fit Collecting reproduction details, examining logs and recent changes, and documenting a five-step analysis of what caused a problem.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/umputun/cc-thingz/root-cause-investigator
Install

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.

Any agent
npx skills add umputun/cc-thingz --skill root-cause-investigator
Clone the repo
git clone --depth 1 https://github.com/umputun/cc-thingz

Made for: Claude Code.

Or install thinking-tools, the plugin that ships this one along with the rest of its 3 skills.

Wrote 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.

agentmods badge for root-cause-investigator

README.md
[![agentmods](https://agentmods.dev/badge/skills/umputun/cc-thingz/root-cause-investigator/github.svg)](https://agentmods.dev/skills/umputun/cc-thingz/root-cause-investigator)
Your own site
<a href="https://agentmods.dev/skills/umputun/cc-thingz/root-cause-investigator"><img src="https://agentmods.dev/badge/skills/umputun/cc-thingz/root-cause-investigator/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.

agentmods 80×15 button for root-cause-investigator

Your own site · 80×15
<a href="https://agentmods.dev/skills/umputun/cc-thingz/root-cause-investigator"><img src="https://agentmods.dev/badge/skills/umputun/cc-thingz/root-cause-investigator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 745 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.00745
Opus 5 $0.00026 $0.00373
Sonnet 5 $0.00011 $0.00149
Haiku 4.5 $0.00005 $0.00075

Measured 11d ago against content hash eaeaeb08e6e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

root-cause-investigator 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 11d 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.

plugins/thinking-tools/skills/root-cause-investigator/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Root Cause Investigator

Apply systematic 5-Why methodology to identify fundamental root causes of issues rather than treating symptoms. Guide thorough investigation through structured evidence gathering and analysis.

Activation Triggers

  • errors, bugs, or unexpected behavior
  • build failures or test failures
  • performance issues or degradation
  • integration problems
  • any "it's not working" scenarios

The 5-Why Methodology

Systematically ask "why" five times to drill down to root cause:

  1. Why #1: identify immediate cause (symptoms)
  2. Why #2: uncover process/workflow issues
  3. Why #3: find system-level problems
  4. Why #4: discover design/architecture issues
  5. Why #5: reveal fundamental root cause

Investigation Workflow

1. Gather Initial Context

Collect information about the issue:

## Issue Summary
[brief description of reported problem]

## Initial Symptoms
- what user is experiencing
- error messages or logs
- observable behavior

## Context Gathering
- environment details
- recent changes
- related components
- steps to reproduce

2. Apply 5-Why Analysis

Structure the investigation with progressive depth:

## 5-Why Analysis

### Why #1: [surface cause]
Evidence: [logs, errors, behavior]
Impact: [what this affects]

### Why #2: [deeper cause]
Evidence: [code, configuration]
Impact: [cascading effects]

### Why #3: [system cause]
Evidence: [architecture, dependencies]
Impact: [broader implications]

### Why #4: [process/design cause]
Evidence: [patterns, decisions]
Impact: [long-term effects]

### Why #5: [root cause]
Evidence: [fundamental issue]
Impact: [core problem]

3. Identify Root Cause

Document the fundamental issue requiring attention:

## Root Cause Identified
[the fundamental issue that needs addressing]

## Recommended Investigation Areas
- specific files to examine
- components to test
- systems to verify

Investigation Principles

  1. Avoid solution bias - focus on understanding before fixing
  2. Gather evidence - don't assume, verify with data
  3. Consider multiple causes - issues often have multiple contributing factors
  4. Document findings - clear documentation prevents repeat issues
  5. Think systemically - consider broader implications
  6. Question assumptions - challenge "it should work" thinking
  7. Use version control - check when issue was introduced

Read the full file on GitHub · 118 lines

Files

What ships with it

2 files 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.

Changes

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.

  1. 11d ago First seen · 118 lines · 53 tokens per session scan A eaeaeb08e6e1

Subscribe to this mod's changes

root-cause-investigator is a skill published in the GitHub repository umputun/cc-thingz (471 stars, last pushed 2d ago), licensed MIT. It adds 53 tokens to every session and 745 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

smalltalk-debugger

Systematic debugging guide for Smalltalk (Pharo/Squeak) development. Provides expertise in error diagnosis (MessageNotUnderstood, KeyNotFound, SubscriptOutOfBounds, AssertionFailure), incremental code execution with eval tool, intermediate value inspection, error handling patterns (on:do: blocks), stack trace…

mumez/smalltalk-dev-plugin · 87 tokens

smalltalk-usage-finder

Class and method usage analyzer for Smalltalk (Pharo/Squeak). Provides expertise in understanding class responsibilities through class comments (getclasscomment), discovering usage patterns via references (searchreferencestoclass), finding example methods (exampleXXX patterns), analyzing method usage in context…

mumez/smalltalk-dev-plugin · 139 tokens

st-eval

Smalltalk code evaluator for Pharo or Squeak via MCP. Use when executing Smalltalk expressions, verifying object state or intermediate values, debugging code incrementally, checking the Smalltalk image connection, or running quick experiments.

mumez/smalltalk-dev-plugin · 49 tokens

structured-output

This skill should be used when the user mentions "structured output", "json mode", "tool schema", "function calling", "json parse error", "responseformat", "pydantic ai", "invalid json from the model", or "the model's JSON keeps breaking". It provides a methodology for getting reliably valid, schema-conformant…

sigistry/marketplace · 89 tokens

fhir-project-doctor

Inspect an HL7 FHIR, FSH/SUSHI, or Implementation Guide project for validator runtimes, FHIR package dependencies, cache state, version signals, privacy gates, and setup blockers. Use when FHIR validation cannot start, profiles or packages are missing, IG Publisher/Firely/HAPI/Records availability is unclear, or the…

sigistry/marketplace · 88 tokens

incident-response

This skill should be used when the user mentions "postmortem", "incident", "root cause analysis", "blameless", "severity", "SEV1", "on-call", "RCA", or "outage", or is writing up an incident. It provides a blameless postmortem methodology, a severity model, and reliability metric definitions.

sigistry/marketplace · 78 tokens