systematic-debugging

systematic-debugging is a skill for Claude Code from bhaumikmaan/claude-code-master-skills. It costs 52 tokens per session (1,486 once invoked), scanned A, original, MIT.

A step-by-step method for diagnosing bugs, errors, stuck processes and performance problems. It starts with symptoms and evidence, maps them to possible causes, reads bounded logs and checks whether a problem can be reproduced.

In plain words
What is it for?
Use it to investigate errors, high CPU or memory, hung or stopped processes, zombie processes, slow systems and other failures. It produces hypotheses, targeted checks and an actionable diagnostic report before any fix is attempted.
Why use it?
It reduces guesswork and prevents attempted fixes from being mistaken for diagnosis. It also keeps investigations focused on evidence and avoids changing or stopping systems without being asked.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Good fit Use it to investigate errors, high CPU or memory, hung or stopped processes, zombie processes, slow systems and other failures. It produces hypotheses, targeted checks and an actionable diagnostic report before any fix is attempted.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/bhaumikmaan/claude-code-master-skills/systematic-debugging/github.svg)](https://agentmods.dev/skills/bhaumikmaan/claude-code-master-skills/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/bhaumikmaan/claude-code-master-skills/systematic-debugging"><img src="https://agentmods.dev/badge/skills/bhaumikmaan/claude-code-master-skills/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/bhaumikmaan/claude-code-master-skills/systematic-debugging"><img src="https://agentmods.dev/badge/skills/bhaumikmaan/claude-code-master-skills/systematic-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,486 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.00052 $0.01486
Opus 5.5 $0.00021 $0.00594
Sonnet 5.5 $0.00010 $0.00297
Haiku 4.5 $0.00005 $0.00149

Measured 1mo ago against content hash 2f0330125b0f, 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 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.

skills/systematic-debugging/SKILL.md · 129 lines

How it starts

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

Systematic Debugging

CRITICAL: This is a diagnostic skill. Investigate first, fix second. Don't guess — gather evidence.

Diagnostic Mindset

  • Don't report when healthy. If everything looks fine, say so directly — don't manufacture issues.
  • Don't kill or signal processes unless explicitly asked. This is diagnostic only.
  • Read errors before guessing causes. The error message is the first evidence.
  • Reproduce before fixing. A fix you can't verify is a guess.

Symptom-to-Hypothesis Map

Start here. Match the symptom to candidate hypotheses, then investigate:

Symptom Likely Hypotheses First Investigation
High CPU (≥90% sustained) Infinite loop, runaway regex, tight polling Sample twice 1-2s apart to confirm sustained; check stack/profile
Process in D state (uninterruptible sleep) I/O hang, disk full, NFS stall, lock contention Check dmesg, disk usage, mount status
Process in T state (stopped) Accidental Ctrl+Z, debugger attached Check parent process, fg to resume
Zombie process (Z state) Parent not reaping children Check parent PID, signal parent
High memory (≥4GB RSS) Memory leak, unbounded cache, large dataset loaded Check growth over time, heap snapshot if available
Slow response N+1 queries, blocking I/O on hot path, missing index Profile request, check DB query count and timing
Hung child process Waiting for stdin, deadlock, network timeout pgrep -lP <pid>, check child's full command line
Intermittent failure Race condition, resource exhaustion, DNS flake Check timing patterns, add logging, reproduce under load
Build failure Dependency version mismatch, stale cache, missing env var Clean build, check lock file, diff with working state
Test failure (flaky) Shared state, timing dependency, order dependency Run test in isolation, check setup/teardown, look for shared mutable state

Investigation Steps

1. Gather Context

  • Read the error message / stack trace carefully. Most errors tell you exactly what's wrong.
  • Check recent changes: git log --oneline -10 and git diff — was something just changed?
  • Read relevant log files. Use bounded reading: tail the last 50-100 lines, don't read the entire log.

Read the full file on GitHub · 129 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 129 lines · 52 tokens per session scan A 2f0330125b0f

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository bhaumikmaan/claude-code-master-skills (3 stars, last pushed 6mo ago), licensed MIT. It adds 52 tokens to every session and 1,486 once invoked, about $0.0002 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

Other skills, from other repositories