Locate Root Causes — Development skill for Claude Code
GRACE Phase 3 - Backward causal slicing, failure attribution, and root-cause aggregation.
How to install Locate Root Causes
Installs to ~/.claude/commands/preet0504-grace-locate_root_causes.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/Preet0504/GRACE/HEAD/.claude/commands/locate_root_causes.md -o ~/.claude/commands/preet0504-grace-locate_root_causes.md Restart Claude Code, or start a new session, for it to be picked up.
What Locate Root Causes does
description: "GRACE Phase 3 - Backward causal slicing, failure attribution, and root-cause aggregation" argument-hint: "" model: claude-sonnet-5
/locate_root_causes
**GRACE Phase 3.** A parent (this command) plus a fan-out of `causal-localizer` subagents - **one worker per representative trace** - covering steps 3.1 + 3.2. The parent then aggregates.
- 3.1 Backward Causal Slicing (per worker) →
causal_segments.json - **3.2 Failure Attributio
Alternatives in Development
- Root Cause Tracing — Use when errors occur deep in execution and you need to trace back to find the original trigger 102.5k ★
- Engage.Crash — Crash → root cause → reachability → empirical exploitability verdict (native bugs) 348 ★
- StatsPAI — StatsPAI is the first Agent-native Python library for causal inference and applied econometrics — unified API 302 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Root Cause Tracing
Use when errors occur deep in execution and you need to trace back to find the original trigger - systematical
Find Bug
Investigate a reported symptom, form hypotheses, and locate the root cause.
Debug Blitz
Parallel debug assault — fires debug-detective + silent-failure-hunter + env-debugger simultaneously. Three ro
Ix Debug
Root cause analysis — trace execution path to a failure, narrow candidates, read minimal source only at suspec
Massive Agent Repo 1003
AGGREGATION — 1005 Claude Code subagents from 10 open-source projects. Full credit to original authors (see AT
Analyze CI
Fetch and analyze failing CI checks across all open PRs, identify root causes, and summarize actionable fixes
Related Agents
Causal Localizer
GRACE Phase 3 worker, spawned by /locate_root_causes one per representative trace: backward-slices that trace
Root Cause
Establishes whether a suspected cause actually causes an observed symptom, before any fix or revert is made. U
Experiment Log Analyzer
Use this agent when you need to analyze experiment logs, error traces, or execution failures to identify root