Preet0504

Locate Root Causes — Development skill for Claude Code

Development community

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

Terminal
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 Repository