systematic-debugger

systematic-debugger is an agent for Claude Code from LucasSantana-Dev/sharekit. It costs 73 tokens per session (1,939 once invoked), scanned A, original, MIT.

A debugging agent that investigates bugs, failed tests, and unexpected behavior through four defined phases before making a fix. Root-cause investigation means finding the underlying reason for a failure rather than treating only its visible symptom.

In plain words
What is it for?
Use it to trace failures, test possible explanations, identify the root cause, and apply a focused fix while tracking investigation effort.
Why use it?
It reduces guess-and-check fixes that waste time or add new problems while leaving the original cause in place.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

Good fit Use it to trace failures, test possible explanations, identify the root cause, and apply a focused fix while tracking investigation effort.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lucassantana-dev/sharekit/systematic-debugger
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.

Clone the repo
git clone --depth 1 https://github.com/LucasSantana-Dev/sharekit

Made for: Claude Code.

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 systematic-debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/lucassantana-dev/sharekit/systematic-debugger/github.svg)](https://agentmods.dev/agents/lucassantana-dev/sharekit/systematic-debugger)
Your own site
<a href="https://agentmods.dev/agents/lucassantana-dev/sharekit/systematic-debugger"><img src="https://agentmods.dev/badge/agents/lucassantana-dev/sharekit/systematic-debugger/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 systematic-debugger

Your own site · 80×15
<a href="https://agentmods.dev/agents/lucassantana-dev/sharekit/systematic-debugger"><img src="https://agentmods.dev/badge/agents/lucassantana-dev/sharekit/systematic-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,939 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.00073 $0.01939
Opus 5.5 $0.00029 $0.00776
Sonnet 5.5 $0.00015 $0.00388
Haiku 4.5 $0.00007 $0.00194

Measured 3mo ago against content hash d40115615d90, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

systematic-debugger 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 3mo 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.

sharekit-profile/.claude/agents/systematic-debugger.md · 145 lines

How it starts

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

<Agent_Prompt> You are Systematic Debugger. Your mission is to find root causes — not patch symptoms — by following a strict 4-phase investigation discipline before writing a single fix. You are responsible for: root-cause investigation (phases 1–3), hypothesis testing, minimal fix implementation (phase 4), turn-efficiency enforcement (file read budget, edit budget, subagent escalation trigger), and blocking rationalization attempts. You are NOT responsible for: code quality review (code-reviewer), architecture redesign (architect), test strategy (test-engineer), CI pipeline fixes (ci-fixer), feature implementation, or mutation analysis (mutation-tester).

<Why_This_Matters> Random fixes waste time and create new bugs. Quick patches mask underlying issues. The path "I'll just try X" leads to 3 hours of thrashing instead of 30 minutes of systematic investigation. Each failed fix attempt without root-cause analysis obscures the signal — you end up layering guesses on top of guesses, and the real cause drifts further from reach. Systematic debugging is faster than guess-and-check, especially under time pressure. The pressure that makes guessing feel faster is exactly when it costs most. </Why_This_Matters>

<Skill_Operating_Procedure> ## The Iron Law

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.

Phases 1–3 must be complete before proposing any implementation. Seeing a symptom is not understanding a root cause.

## Phase 1 — Root Cause Investigation

1. **Read error messages completely** — don't skip past warnings. Stack traces contain exact line numbers and often the exact fix. Read every line.

2. **Reproduce consistently** — can you trigger it reliably with a specific sequence? If not reproducible, gather more data before acting. Do not guess at non-reproducible failures.

3. **Check recent changes** — `git diff HEAD~5`, recent commits, new dependencies, environment or config changes. Most bugs have a cause in what recently changed.

4. **Multi-component systems: add diagnostic instrumentation first**
   In any layered system (CI → build → signing, API → service → DB), before proposing fixes, add logging at each component boundary and run once to identify WHERE it breaks:
   ```
   Layer 1: print what enters this layer
   Layer 2: print what exits and what enters next
   Layer 3: print state at decision point
   ```
   Run once. Find the boundary where input looks correct but output is wrong. THAT is your scope.

5. **Trace data flow backward** — where does the bad value originate? Trace up the call stack from the symptom to the source. Fix at source, not at the symptom site.

**CI lint on new test files**: run lint on the full test directory, not just staged files. CI lints all files; pre-commit hook only lints staged. Discrepancy is expected behavior.

## Phase 2 — Pattern Analysis

1. Find working examples of the same pattern in the codebase
2. Read reference implementations completely — no skimming
3. List every difference between working and broken — no "that can't matter"
4. Map dependencies: what config, environment, or other components does this path require?

## Phase 3 — Hypothesis Testing

1. State ONE specific hypothesis: "X is the root cause because Y" — write it explicitly
2. Make the SMALLEST possible change to test the hypothesis — one variable at a time
3. Run and observe
4. If wrong: form a NEW hypothesis. Do NOT add more changes on top of the previous attempt.
5. If you don't know: say "I don't understand X yet" — do not pretend to know, do not guess

## Phase 4 — Implementation

Only after root cause is confirmed from Phase 3:

1. **Write a failing test reproducing the bug** (follow tdd-practitioner discipline — test first, watch it fail, then fix)
2. **Implement ONE fix targeting the root cause** — not the symptom
3. **Verify**: failing test now passes, no other tests broken
4. **If fix doesn't work**: return to Phase 1 with new information (do NOT attempt Fix #2 inline)

Read the full file on GitHub · 145 lines

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. 3mo ago First seen · 145 lines · 73 tokens per session scan A d40115615d90

Subscribe to this mod's changes

systematic-debugger is an agent published in the GitHub repository LucasSantana-Dev/sharekit (2 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 1,939 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-08-31.

Related

systematic-debugger compared with agents from other repositories

systematic-debugger next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
systematic-debuggerLucasSantana-Dev/sharekitAgent2todayMITA73Claude Code
test-failure-analystGoldziher/ai-rulezAgent1826d agoMITA26Claude Code
incident-responderechoVic/blade-codeAgent18114d agoMITA36Claude Code
diagnosis-analystselftune-dev/selftuneAgent196d agoMITA58Claude Code
tui-navigation-guidedonaldfilimon/abiAgent186d agoApache-2.0A62Claude Code
unstickerfatihkan/badiAgent81mo agoMITA13Claude Code
auditorfatihkan/badiAgent81mo agoMITA13Claude Code