root-cause-analysis

root-cause-analysis is a skill for Claude Code, Codex from microsoft/hve-core. It costs 70 tokens per session (10,331 once invoked), scanned A, original, MIT.

A structured investigation method for finding the underlying cause of an incident, software defect, or data or process failure. It tests possible explanations against available evidence rather than stopping at a guess.

In plain words
What is it for?
Use it to investigate incidents, test competing hypotheses, document supporting and conflicting evidence, and reach a verified explanation or identify what evidence is missing.
Why use it?
It prevents teams from treating symptoms, untested theories, or service recovery as a confirmed cause.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate incidents, test competing hypotheses, document supporting and conflicting evidence, and reach a verified explanation or identify what evidence is missing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/hve-core/root-cause-analysis
About the project

HVE Core is a collection of agents, prompts, coding instructions, and skills for building repeatable software-development workflows with GitHub Copilot. It is intended for individuals and teams that want structured AI-assisted research, planning, implementation, and review, while the catalogue entries provide many of its reusable workflow components.

microsoft/hve-core · 1,652 stars · on GitHub

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 microsoft/hve-core --skill root-cause-analysis
Clone the repo
git clone --depth 1 https://github.com/microsoft/hve-core

Made for: Claude Code, Codex.

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-analysis

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/hve-core/root-cause-analysis"><img src="https://agentmods.dev/badge/skills/microsoft/hve-core/root-cause-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,331 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.
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.00070 $0.10331
Opus 5.5 $0.00028 $0.04132
Sonnet 5.5 $0.00014 $0.02066
Haiku 4.5 $0.00007 $0.01033

Measured 19d ago against content hash 9f65319f7564, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

root-cause-analysis 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 19d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.github/skills/root-cause-analysis/root-cause-analysis/SKILL.md · 761 lines

How it starts

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

Root Cause Analysis

Goal

Identify the deepest actionable cause or combination of causes supported by executed tests. Own the investigation from the reported symptom through a reproducible causal explanation. Continue the hypothesis-test loop while a safe, authorized test can materially advance it. A plausible explanation, a query proposal, or service recovery is not a completed RCA.

Begin with every hypothesis, evidence item, and other observation the user supplied, including explicitly empty sets. When assessing hypothesis dispositions, invoke the sibling statistical-hypothesis-testing skill for applicable binary rates or average values across affected and unaffected cohorts. Invoke the sibling causal-evidence-likelihood skill for valid exploratory and confirmatory hypothesis-evidence pairs while preserving their different authority over disposition and completion. For statistically applicable confirmatory pairs, report significance after the declared multiple-comparisons correction and assess supporting and contradicting directions symmetrically; significance is not a prerequisite for causal-likelihood assessment. Other executed evidence remains subject to the investigation's disposition and completion criteria.

Use the host's actual tools and existing credentials; the skills grant no access. They cannot extend a host execution limit, schedule themselves, or guarantee a discoverable root cause. Before production use, follow references/setup-and-governance.md for installation, connector, privacy, verification, update, withdrawal, and human-review requirements.

Cost and Model Choice

Before starting a full real investigation, state the host-selected model, an anticipated AI-credit and monetary cost range, and the basis and uncertainty of that estimate. Use current host pricing and comparable measured usage when available. Distinguish consumption value from additional billing and an estimate from a spending limit; do not present benchmark costs as a real-incident price guarantee. If pricing or a defensible estimate is unavailable, say so and agree a spending limit before proceeding rather than inventing a price.

Read the full file on GitHub · 761 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. 19d ago First seen · 761 lines · 70 tokens per session scan A 9f65319f7564

Subscribe to this mod's changes

root-cause-analysis is a skill published in the GitHub repository microsoft/hve-core (1,652 stars, last pushed today), licensed MIT. It adds 70 tokens to every session and 10,331 once invoked, about $0.0003 per session on Opus 5.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-11-12.

Related

root-cause-analysis compared with skills from other repositories

root-cause-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
root-cause-analysismicrosoft/hve-coreSkill1.7ktodayMITA70Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
diagnosing-missing-recordingsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex