debug-methodical

debug-methodical is a skill for Claude Code from TheBeardedBearSAS/claude-craft. It costs 38 tokens per session (1,307 once invoked), scanned A, original, MIT.

A four-phase method for debugging: reproduce the problem, isolate its root cause, fix it, and verify the result. It applies to bugs, regressions, flaky tests, and unexpected behaviour.

In plain words
What is it for?
Use it to investigate bugs, create regression tests, find faulty commits, and verify that a fix actually works.
Why use it?
It replaces guesswork with a repeatable investigation and requires a reliable reproduction before changing code.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter.

Part of the claude-craft plugin — 58 skills, 96 commands, 58 agents, 5 hooks shipped together

Good fit Use it to investigate bugs, create regression tests, find faulty commits, and verify that a fix actually works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thebeardedbearsas/claude-craft/debug-methodical
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 TheBeardedBearSAS/claude-craft --skill debug-methodical
Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 58 skills, 96 commands, 58 agents, 5 hooks.

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 debug-methodical

README.md
[![agentmods](https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/debug-methodical/github.svg)](https://agentmods.dev/skills/thebeardedbearsas/claude-craft/debug-methodical)
Your own site
<a href="https://agentmods.dev/skills/thebeardedbearsas/claude-craft/debug-methodical"><img src="https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/debug-methodical/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 debug-methodical

Your own site · 80×15
<a href="https://agentmods.dev/skills/thebeardedbearsas/claude-craft/debug-methodical"><img src="https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/debug-methodical.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,307 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 87
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00038 $0.01307
Opus 5.5 $0.00015 $0.00523
Sonnet 5.5 $0.00008 $0.00261
Haiku 4.5 $0.00004 $0.00131

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

Security

Grade A, and why

debug-methodical scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Reproduire avec `curl` ou client minimal
.claude/skills/debug-methodical/SKILL.md · 127 lines

How it starts

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

Debug-Methodical — Debugging en 4 phases

Skill inspiré de obra/superpowers. Objectif : forcer une méthode rigoureuse au lieu de "try random fixes until it works".

Règle d'or : un bug sans reproduction stable est un bug mal compris. Ne JAMAIS fixer avant de reproduire.

Les 4 phases (strictes, dans l'ordre)

Phase 1 : REPRODUCE

Objectif : exécuter le bug à volonté, dans un environnement contrôlé.

Checklist :

  • Étapes de reproduction documentées (Given/When/Then)
  • Reproduction déterministe (>= 3 runs consécutifs identiques)
  • Environnement isolé (local, container, test env)
  • Inputs minimaux (le moins de données/steps possible)
  • Version/commit exacts identifiés

Sortie : test automatisé qui échoue en exposant le bug (test de régression).

Signal rouge : "ça marche sur ma machine" / "parfois ça fail" → reproduction insuffisante, retour Phase 1.

Phase 2 : ISOLATE

Objectif : identifier la cause racine, pas juste un symptôme.

Techniques :

  • Bisect : git bisect pour trouver le commit fautif
  • Binary search dans le code : commenter la moitié, puis itérer
  • Print-driven debugging : logs aux frontières (entrée/sortie fonctions)
  • Debugger : breakpoints, step-through, variable watch
  • Diff environnements : que diffère-t-il entre "qui marche" et "qui casse" ?
  • Question the premise : l'hypothèse initiale est-elle correcte ?

Checklist :

  • Cause identifiée (ligne / condition / input exact)
  • Explication du pourquoi (pas juste le quoi)
  • Chaîne de causalité documentée (A cause B cause C)
  • Autres manifestations potentielles du même bug identifiées

Signal rouge : "je pense que c'est X" sans preuve → retour isolate avec instrumentation.

Phase 3 : FIX

Objectif : corriger la cause racine avec le minimum de changement.

Checklist :

  • Fix au bon niveau (cause racine, pas symptôme)
  • Changement minimal (KISS, voir rule 05)
  • Pas d'effet de bord sur autres features
  • Pas de fix "au cas où" / spéculatif (voir rule 23 Karpathy)
  • Fix dans le bon layer (domain / infra / UI)

Read the full file on GitHub · 127 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 · 127 lines · 38 tokens per session scan A 022350db841f

Subscribe to this mod's changes

debug-methodical is a skill published in the GitHub repository TheBeardedBearSAS/claude-craft (108 stars, last pushed 19d ago), licensed MIT. It adds 38 tokens to every session and 1,307 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

debug-methodical compared with skills from other repositories

debug-methodical next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debug-methodicalTheBeardedBearSAS/claude-craftSkill10819d agoMITA38Claude Code
monitoring-observabilitytravisjneuman/.claudeSkill116todayMITA48Claude Code
debug-systematictravisjneuman/.claudeSkill116todayMITA33Claude Code
agent-refactoring-specialisttravisjneuman/.claudeSkill116todayMITA12Claude Code
agent-debugging-specialisttravisjneuman/.claudeSkill116todayMITA12Claude Code
extracting-code-structureSebastienDegodez/copilot-instructionsSkill19929d agoApache-2.0A39Claude Code, Codex
agent-cpp-experttravisjneuman/.claudeSkill116todayMITA88Claude Code