systematic-debugging

systematic-debugging is a skill for Claude Code, Codex 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 CodeCodex

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.

agentmods
npx agentmods add skills/bhaumikmaan/claude-code-master-skills/systematic-debugging
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, 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/bhaumikmaan/claude-code-master-skills/systematic-debugging.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00026 $0.00743
Sonnet 5 $0.00010 $0.00297
Haiku 4.5 $0.00005 $0.00149

Measured 5d ago against content hash 2f0330125b0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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. 5d 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 5mo ago), licensed MIT. It adds 52 tokens to every session and 1,486 once invoked, about $0.0003 per session on Opus 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

metrics-instrumentation

Specification for instrumenting an opik-backend workflow with operational OpenTelemetry metrics — per-stage throughput/latency/error counters and native histograms, dimensioned per-customer (workspace). Use when a pipeline (scoring, ingestion, experiments, jobs) needs per-stage visibility. Covers metric emission only…

comet-ml/opik · 93 tokens

happiness-skill

当用户问「怎么才能更幸福/为什么得到了还不满足/怎么减少焦虑」时调用。 核心理念: 幸福是缺憾感清空的默认状态, 是可训练的技能; 欲望是与自己的契约(得到前不快乐), 同时只留一个重大欲望; 活在当下。 不适用于: 临床抑郁等需要专业治疗的场景(本书方法不能替代医疗)。 Triggers: 幸福/不快乐/欲望/焦虑/知足/活在当下/happiness/desire/anxiety.

kangarooking/cangjie-skill · 136 tokens

short-drama-storyboard

把剧本和视觉事实转成有镜头职责、空间连续性和可冻结起点的 剧集/ /分镜.md。 每镜使用二级标题 ## SHOT-...,同镜下用 ### 冻结关键帧提示词 写起始帧正文。.

zenstory-ai/drama-skills · 102 tokens

setup-matt-pocock-skills

为本仓库配置工程技能——设置其 issue tracker、分诊标签词汇表和领域文档布局。首次使用其他工程技能前运行一次。.

devcxl/mattpocock-skills-zh · 43 tokens

pixel-art-studio

Create production-quality pixel art and animations programmatically. Use when the user asks to "create pixel art", "draw a sprite", "make pixel animation", "generate sprite sheet", "convert image to pixel art", "pixelate this image", "make a pixel character", "пиксель арт", "пиксельная графика", "спрайт", "像素画"…

AnastasiyaW/codex-claude-code-config · 349 tokens

frontend-design

Создание высококачественных, визуально выдающихся фронтенд-интерфейсов. Используй ВСЕГДА когда пользователь просит создать веб-страницу, компонент, лендинг, дашборд, UI-кит, форму, карточки, навигацию, анимации, или любой другой веб-интерфейс. Скилл покрывает: HTML/CSS/JS компоненты, React/Vue/Svelte, Tailwind CSS…

AnastasiyaW/codex-claude-code-config · 264 tokens