systematic-debugging

systematic-debugging is a skill for Claude Code, Codex from Bilal140202/the-lord-of-the-skills. It costs 13 tokens per session (711 once invoked), scanned A, a copy of systematic-debugging, MIT.

A step-by-step method for finding and fixing software bugs by reproducing, isolating, diagnosing, fixing, and verifying them.

In plain words
What is it for?
Use it to investigate compile errors, crashes, incorrect output, timeouts, hangs, and other failures.
Why use it?
It replaces repeated guessing with a structured investigation based on the actual error and the smallest failing case.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate compile errors, crashes, incorrect output, timeouts, hangs, and other failures.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bilal140202/the-lord-of-the-skills/vstorm-co__pydantic-deepagents
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 Bilal140202/the-lord-of-the-skills --skill vstorm-co__pydantic-deepagents
Clone the repo
git clone --depth 1 https://github.com/Bilal140202/the-lord-of-the-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/bilal140202/the-lord-of-the-skills/vstorm-co__pydantic-deepagents/github.svg)](https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/vstorm-co__pydantic-deepagents)
Your own site
<a href="https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/vstorm-co__pydantic-deepagents"><img src="https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/vstorm-co__pydantic-deepagents/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/bilal140202/the-lord-of-the-skills/vstorm-co__pydantic-deepagents"><img src="https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/vstorm-co__pydantic-deepagents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 711 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 100% copy Near-identical to another mod 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.00013 $0.00711
Opus 5 $0.00006 $0.00356
Sonnet 5 $0.00003 $0.00142
Haiku 4.5 $0.00001 $0.00071

Measured 9d ago against content hash 1f65a08595e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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.

Origin

This is a copy

100% identical to systematic-debugging — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/gondor/claude-code/vstorm-co__pydantic-deepagents/SKILL.md · 89 lines

How it starts

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

Systematic Debugging

A structured approach to finding and fixing bugs.

The Debugging Loop

1. REPRODUCE → 2. ISOLATE → 3. DIAGNOSE → 4. FIX → 5. VERIFY

Never skip steps. Never guess-and-check repeatedly.

Step 1: Reproduce

  • Run the exact command that fails
  • Capture FULL output (stdout AND stderr)
  • Note: exit code, error message, stack trace
  • If intermittent, identify what changes between runs

Step 2: Isolate

  • What's the MINIMAL input that triggers the error?
  • Which specific line/function fails? (read the traceback bottom-up)
  • Is it a compile error, runtime error, or wrong output?
  • Does it fail on all inputs or specific ones?

Step 3: Diagnose

Read the error message carefully

Error type Where to look
Compile error The FIRST error (later ones are often cascading)
Segfault Last function in the stack trace, check array bounds and null pointers
Python traceback The innermost frame (bottom), but also check the middle for context
Wrong output Diff expected vs actual: diff <(expected) <(actual)
Timeout/hang Is it an infinite loop? Deadlock? I/O bound? Add a timer or counter

Add minimal instrumentation

  • C: fprintf(stderr, "reached checkpoint %d\n", __LINE__);
  • Python: print(f"DEBUG: {var=}", file=sys.stderr)
  • Check intermediate values, not just final output
  • Remove debug prints after fixing

Step 4: Fix

  • Change ONE thing at a time
  • If the same approach fails 3 times → completely different strategy
  • Don't add workarounds — fix the root cause
  • Common root causes:
    • Off-by-one errors (loop bounds, array indexing)
    • Type mismatches (int vs float, signed vs unsigned)
    • Encoding issues (UTF-8 vs bytes)
    • Path errors (relative vs absolute, missing trailing slash)
    • Race conditions (file not written yet, process not started)

Step 5: Verify

  • Run the same command that failed before
  • Test with multiple inputs, not just the one that was failing
  • Check edge cases: empty input, single element, very large input
  • Run any existing test suite

Read the full file on GitHub · 89 lines

Files

What ships with it

15 files 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. 9d ago First seen · 89 lines · 13 tokens per session scan A 1f65a08595e6

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository Bilal140202/the-lord-of-the-skills (4 stars, last pushed 6d ago), licensed MIT. It adds 13 tokens to every session and 711 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to systematic-debugging, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

tool-calling-tutor

Use when a tool-calling agent does not call a tool, sends wrong arguments, loops without stopping, or needs a function schema. Guides a four-branch diagnosis and five-step schema repair. Do not use for framework-specific, MCP-server, or production-observability questions.

WenyuChiou/awesome-agentic-ai-zh · 62 tokens

systematic-debugging

Systematic approach to diagnosing and fixing errors.

vstorm-co/pydantic-deepagents · 13 tokens

Debroid CLI Debugger

Orchestrate headless Android debugging via JDWP. ACTIVATE this skill whenever asked to debug an Android application, set line or exception breakpoints, inspect runtime variables or Jetpack Compose state, step through execution, evaluate live expressions, watch fields, or diagnose runtime crashes.

PatilShreyas/debroid · 61 tokens

detecting-process-injection-techniques

Detects and analyzes process injection techniques used by malware including classic DLL injection, process hollowing, APC injection, thread hijacking, and reflective loading. Uses memory forensics, API monitoring, and behavioral analysis to identify injection artifacts. Activates for requests involving process…

adriannoes/awesome-agentic-ai · 78 tokens

investigating-ransomware-attack-artifacts

Identify, collect, and analyze ransomware attack artifacts to determine the variant, initial access vector, encryption scope, and recovery options.

adriannoes/awesome-agentic-ai · 36 tokens

performance-optimizer

Identifies and fixes performance bottlenecks in code, databases, and APIs. Measures before and after to prove improvements.

tmolavi/mcp-agent-skills-hub · 28 tokens