Faultline — AI skill for Claude Code
Root-cause analysis for failed AI agent runs.
How to install Faultline
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open umangbagadi03/faultline and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Faultline does
Root-cause analysis for failed AI agent runs. LangGraph multi-agent investigation, evidence-checked hypotheses, sandbox replay that proves the fix, auto-generated regression tests.
Alternatives in AI
- Claude Replay — Convert AI coding agent sessions (Claude Code, Cursor, Codex, Gemini, OpenCode) into self-contained, embeddabl 644 ★
- OpenSRE — OpenSRE — the memory-first AI SRE 112 ★
- Temp Doc — Manage temporary documentation created during task execution - prevent git pollution from AI-generated checkli 64 ★
README
Faultline
Root-cause analysis for failed AI agent runs
**Observability tells you *what* happened. Faultline tells you *why*, proves the fix, and writes the regression test.**
     

The problem
When an LLM agent fails in production, tools like Langfuse and LangSmith show you a long trace of LLM calls and tool calls. Someone still has to read it and answer three questions:
- Which step actually broke the run? The error you see is usually a symptom. The cause sits a few steps earlier.
- What is the fix?
- How do we know the fix works, and that the bug never comes back?
Faultline automates all three.
What it does
You give Faultline the trace of a failed agent run. A **7-node LangGraph pipeline** investigates it:
| # | Node | What it does |
|---|---|---|
| 1 | Triage | Runs 7 deterministic detectors over the trace. No LLM, so no hallucination. |
| 2 | Researcher | Retrieves matching failure playbooks and similar past incidents (BM25 RAG). |
| 3 | Investigator | Forms root-cause hypotheses with quoted evidence (Claude, or rules when offline). |
| 4 | Critic | Rejects any hypothesis whose evidence is not literally in the trace, and sends it back for a retry. |
| 5 | Fixer | Maps the root cause to a concrete guard: retry, loop guard, permission gate, argument patch… |
| 6 | Replayer | Re-runs the failing steps in a sandbox with the fix applied to prove it works. |
| 7 | Test writer |
Related Skills
Bug Report Agent Skills
AI agent skill for automated bug report processing and systematic debugging. Enforces Detective Methodology wo
Find Bandaids
Find band-aid fixes left behind by AI sessions — swallowed errors, suppressions, magic delays, special-case pa
Autonomous Debugger
Evidence-driven debugging skill for Claude Code and AI coding agents. Investigates codebases, reproduces failu
Paytriage
Paytriage: AI payment recovery agent that detects failed recurring payments, analyzes failure root causes, and
Secondmate Reason
Ask a read-only reasoning model (via secondmate) a hard analysis question — root-cause, triage, plan review, p
Agent Debugger
A specialized AI debugging agent using Llama3 (Ollama) that performs root cause analysis, generates minimal co
Related Agents
Bug Investigation Engineer
Failure investigator. Delegate when a FAILED or ERROR result, a user bug report or a suspected finding has an
Team Investigator
Root cause investigation specialist. Phases 1-3 of systematic debugging: investigate, analyze patterns, form a
Thunai Debugging
Thunai debugging specialist for root-cause investigation and minimal verified fixes of one assigned failure. T