root-cause-loop

root-cause-loop is a skill for Claude Code from uqeu/estelle-cli. It costs 0 tokens per session (189 once invoked), scanned A, original, Apache-2.0.

A step-by-step debugging method that confirms the underlying cause before changing code. It compares the actual and expected behavior, tests competing explanations, and then verifies the fix.

In plain words
What is it for?
Use it for bugs, flaky tests, and intermittent failures that are difficult to reproduce. It produces a confirmed cause and a test showing that the fix works.
Why use it?
Changing code based on a guess can hide the real problem or make recurring failures return. Testing the cause first helps fix the source rather than only the visible symptom.

Skill for Claude Code

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

Part of the estelle plugin — 26 skills, 4 agents, 9 hooks shipped together

Good fit Use it for bugs, flaky tests, and intermittent failures that are difficult to reproduce. It produces a confirmed cause and a test showing that the fix works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/uqeu/estelle-cli/root-cause-loop
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 uqeu/estelle-cli --skill root-cause-loop
Clone the repo
git clone --depth 1 https://github.com/uqeu/estelle-cli

Made for: Claude Code.

Or install estelle, the plugin that ships this one along with the rest of its 26 skills, 4 agents, 9 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/uqeu/estelle-cli/root-cause-loop"><img src="https://agentmods.dev/badge/skills/uqeu/estelle-cli/root-cause-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 189 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.00000 $0.00189
Opus 5.5 $0.00000 $0.00076
Sonnet 5.5 $0.00000 $0.00038
Haiku 4.5 $0.00000 $0.00019

Measured 1mo ago against content hash 832276a1d9e1, 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-loop 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 1mo 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.

estelle-plugin/skills/root-cause-loop/SKILL.md · 19 lines

What it actually says

root-cause-loop

Estelle's systematic-debugging discipline (pairs with bug-hunt). The fix addresses the cause, not the symptom.

Procedure

  1. State the observed behavior precisely + the expected behavior.
  2. Form competing hypotheses for the cause; rank them.
  3. Design the cheapest experiment that discriminates between the top hypotheses; run it before touching code.
  4. Only once the cause is confirmed, fix it — and prove the fix with a test that fails before / passes after.
  5. If the cause is systemic (recurs), fix the class, not the instance.

Output

A confirmed root cause + a minimal, tested fix. Serves flaky/heisenbugs and recurring failures.

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. 1mo ago First seen · 19 lines · 0 tokens per session scan A 832276a1d9e1

Subscribe to this mod's changes

root-cause-loop is a skill published in the GitHub repository uqeu/estelle-cli (0 stars, last pushed 14d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 189 tokens. 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-09-12.

Related

Other skills, from other repositories

printing-press-output-review

Internal sub-skill: agentic review of a printed CLI's sampled command output for plausibility issues that rule-based checks can't encode (substring-match relevance, format bugs, silent source drops, ranking failures). Invoked via the Skill tool by the main printing-press skill at Phase 4.85 and printing-press-polish…

mvanhorn/cli-printing-press · 102 tokens

autofix

Review and repair current local changes until they converge, or run Qwen Code Autofix issue and review workflows from GitHub Actions.

QwenLM/qwen-code · 30 tokens

tilth

Use the tilth CLI for code reading, outlining, search, callers, blast-radius deps, and structural diffs. Activate when the user asks to explore a repo, find a symbol, trace callers, read a file, view a diff, or analyze impact. Prefer tilth over grep/cat/find/ls — one invocation returns AST-aware outlines, definitions…

jahala/tilth · 95 tokens

audit

Fast quality gate — detects stack, runs static analysis, checks cross-layer consistency, fixes issues. Run between every pipeline phase, before every commit push, after every feature batch. Lighter than /analyze but catches the same critical issues.

skillmds/skillmd · 50 tokens

logic-lens

AI-powered Claude Code skill that performs deep code review using formal logic and reasoning frameworks to detect bugs, anti-patterns, and security risks beyond what linters catch.

skillmds/skillmd · 37 tokens

fix

Resolve blocking review gaps through bounded repairs and independent re-review; diagnose stalled attempts without expanding scope.

automagik-dev/genie · 21 tokens