kamehadb: Skill for Claude Code

.agents/skills/systematic-debugging/SKILL.md

systematic-debugging is a skill for Claude Code, Codex from asta-nguyen/kamehadb. It costs 37 tokens per session (2,086 once invoked), scanned A, a copy of systematic-debugging, Apache-2.0.

A debugging procedure for finding the underlying cause of bugs, failed tests, build problems, and other unexpected behaviour before suggesting a fix.

In plain words
What is it for?
Use it when investigating test failures, production bugs, performance issues, build failures, or integration problems.
Why use it?
It helps prevent guesswork and repeated fixes that only hide symptoms. The process makes technical problems easier to understand and verify.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is asta-nguyen/kamehadb's own configuration. It tells Claude Code and Codex how to work on kamehadb itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kamehadb configures →

Reuse

Borrowing it

Nothing to install: this file belongs to asta-nguyen/kamehadb. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/asta-nguyen/kamehadb/main/.agents/skills/systematic-debugging/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/asta-nguyen/kamehadb

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/asta-nguyen/kamehadb/systematic-debugging/github.svg)](https://agentmods.dev/skills/asta-nguyen/kamehadb/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/asta-nguyen/kamehadb/systematic-debugging"><img src="https://agentmods.dev/badge/skills/asta-nguyen/kamehadb/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/asta-nguyen/kamehadb/systematic-debugging"><img src="https://agentmods.dev/badge/skills/asta-nguyen/kamehadb/systematic-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,086 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.00037 $0.02086
Opus 5.5 $0.00015 $0.00834
Sonnet 5.5 $0.00007 $0.00417
Haiku 4.5 $0.00004 $0.00209

Measured 19d ago against content hash be9e700952d7, 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 19d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (condition-based-waiting-example.ts, find-polluter.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 — 379 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.

.agents/skills/systematic-debugging/SKILL.md · 167 lines

How it starts

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

Systematic Debugging

Iron Law

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST

If you have not completed Phase 1, you cannot propose fixes. Symptom fixes are failure.

When to use

Use for any technical issue: test failures, bugs, unexpected behavior, performance problems, build failures, integration issues.

Especially when: under time pressure (emergencies make guessing tempting), "just one quick fix" seems obvious, a previous fix did not work, or you do not fully understand the issue. Do not skip when the issue seems simple (simple bugs have root causes too) or you are in a hurry (rushing guarantees rework).

The four phases

When implement-task calls this skill to repair an active task, keep that task's scope and approval. Investigate and verify the fix, then return evidence and blockers to the caller; do not run final review, archive the parent change, or mark its task done here. A fix needing new behavior or scope returns that decision to the caller's approval flow. Standalone debugging runs the full route. Complete each phase before the next.

Phase 1: Root cause investigation

Before attempting any fix:

  1. Read error messages carefully — read stack traces completely; note line numbers, file paths, and error codes.
  2. Reproduce consistently — what are the exact steps? If you cannot reproduce, gather more data; do not guess.
  3. Check recent changes — git diff, recent commits, new dependencies, config and environment differences. Use review-and-verify's ### Trace changed callers to list changed symbols and trace callers and string/route/config variants. Name the traced callers so Phase 4 can verify each one.
  4. Gather evidence in multi-component systems — add diagnostic logging at each component boundary (what enters and exits each layer) and run once to see where it breaks. Treat added logs as temporary: remove them before reporting a Bug question result or entering Phase 4, and leave none in the final diff unless the approved fix requires it.
  5. Trace data flow — where does the bad value originate, and what called this with it? Keep tracing up to the source and fix there, not at the symptom.

Read the full file on GitHub · 167 lines

Files

What ships with it

10 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. 19d ago Changed · -54 lines be9e700952d7
  2. 26d ago Changed · +25 lines 3801f0785f19
  3. 1mo ago Changed · -95 lines · +16 tokens per session b934b423155a
  4. 2mo ago First seen · 291 lines · 21 tokens per session scan A ec295cbf5079

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository asta-nguyen/kamehadb (14 stars, last pushed 10d ago), licensed Apache-2.0. It adds 37 tokens to every session and 2,086 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to systematic-debugging, differing in 379 lines, and is treated as a copy.

Related

systematic-debugging compared with skills from other repositories

systematic-debugging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
systematic-debuggingasta-nguyen/kamehadbSkill1410d agoApache-2.0A37Claude Code, Codex
reproduce-buggoogleapis/mcp-toolboxSkill17kyesterdayApache-2.0A130Claude Code, Codex
fix-failing-testsgoogleapis/mcp-toolboxSkill17kyesterdayApache-2.0A87Claude Code, Codex
triage-issuesgoogleapis/mcp-toolboxSkill17kyesterdayApache-2.0A164Claude Code, Codex
statusnicholasglazer/gnosis-mcpSkill3122d agoMITA31Claude Code
slow-query-optimizeDeepSQLAI/deepsqlSkill405d agoApache-2.0A28Claude Code, Codex
remote-serveranatolykoptev/dozorSkill62d agoMITA45Claude Code, Codex