systematic-debugging

systematic-debugging is a skill for Claude Code, Codex from isaacsight/kernel. It costs 31 tokens per session (737 once invoked), scanned A, original, MIT.

A root-cause debugging workflow for test failures, bugs, exceptions, and unexpected behavior. Root-cause analysis means finding the underlying reason something broke before changing the code.

In plain words
What is it for?
It helps investigate failing tests, log errors, regressions, flaky behavior, and build failures through reproduction, isolation, and evidence-based fixes.
Why use it?
It prevents random fixes that may hide the symptom or create new problems. It requires reproducing the issue, isolating its source, and naming the cause before editing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It helps investigate failing tests, log errors, regressions, flaky behavior, and build failures through reproduction, isolation, and evidence-based fixes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/isaacsight/kernel/systematic-debugging
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 isaacsight/kernel --skill systematic-debugging
Clone the repo
git clone --depth 1 https://github.com/isaacsight/kernel

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/isaacsight/kernel/systematic-debugging"><img src="https://agentmods.dev/badge/skills/isaacsight/kernel/systematic-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 737 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00031 $0.00737
Opus 5.5 $0.00012 $0.00295
Sonnet 5.5 $0.00006 $0.00147
Haiku 4.5 $0.00003 $0.00074

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

Security

Grade A, and why

systematic-debugging 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 2mo 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.

packages/kbot/skills/software-development/systematic-debugging/SKILL.md · 87 lines

How it starts

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

Systematic Debugging

Random fixes waste time and create new bugs. Before writing a single line of fix, you must understand why it broke.

Iron Law

NO FIX WITHOUT A NAMED ROOT CAUSE.

If you can't finish the sentence "It broke because ___", you are not ready to edit.

When to Use

  • Any failing test
  • Any exception in a log
  • Any "this used to work"
  • Any UI regression
  • Any flaky behavior
  • Any build failure

Especially use this under time pressure — "quick fix" almost always means "new bug tomorrow."

Four Phases

Phase 1 — Reproduce

  • Run the failing case exactly. Don't paraphrase the command.
  • Capture the full error: message, stack, file, line.
  • If you can't reproduce, you don't understand the bug yet — stop and gather more evidence.

Tools: bash to run the command, kbot_read to open the file at the stack trace line, git_diff to see what changed recently.

Phase 2 — Isolate

  • Binary-search the change set. Use git log --oneline -20 and check the last commit that touched the area.
  • Trace the data flow upstream from the symptom. The bug almost never lives where the exception fires.
  • Find a working similar case in the same codebase. What's different?

Tools: grep for the bad value, git_log for history, subagent with Explore to map the call graph.

Phase 3 — Hypothesize

  • Write down one sentence: "I think this is caused by X because Y."
  • Predict what the smallest possible reproduction looks like.
  • Predict what the smallest possible fix looks like.

Do not write code yet. Share the hypothesis first if the user is watching.

Phase 4 — Fix

  1. Write a failing test that captures the bug (see test-driven-development).
  2. Make the minimal change that turns it green.
  3. Run the full suite. No regressions.
  4. Commit with a message that names the root cause, not the symptom.

The Rule of Three

If your third fix attempt failed, stop. Don't try a fourth. The bug is not where you think it is, or the architecture is wrong. Escalate — use kbot_plan or hand off to a specialist agent.

Read the full file on GitHub · 87 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. 2mo ago First seen · 87 lines · 31 tokens per session scan A 29bae8d7cba9

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository isaacsight/kernel (16 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 737 once invoked, about $0.0001 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-09-03.

Related

systematic-debugging compared with skills from other repositories

systematic-debugging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
systematic-debuggingisaacsight/kernelSkill162mo agoMITA31Claude Code, Codex
sre-agentomnara-ai/omnaraSkill3.5ktodayApache-2.0A55Claude Code, Codex
investigate-sentry-issuedesplega-ai/agent-swarmSkill1.1ktodayMITA17Claude Code
agentsight-bugfixalibaba/anolisaSkill6889d agoApache-2.0A67Claude Code, Codex
clawevolve-diagnoseinclusionAI/AvernetSkill612todayApache-2.0A117Codex
clawevolve-reviewinclusionAI/AvernetSkill612todayApache-2.0A68Claude Code, Codex
unicli-repairolo-dot-io/Uni-CLISkill229yesterdayApache-2.0A68Claude Code