systematic-debugging

systematic-debugging is a skill for Claude Code, Codex from opensesh/karimo-overview. It costs 0 tokens per session (1,685 once invoked), scanned A, original, Apache-2.0.

A step-by-step method for investigating software bugs before changing code.

In plain words
What is it for?
It helps find root causes and patterns behind errors, broken behavior, and repeated failed fixes.
Why use it?
It reduces guesswork by requiring the error, reproduction steps, recent changes, and data flow to be examined first.

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/opensesh/karimo-overview/systematic-debugging
Any agent
npx skills add opensesh/karimo-overview --skill systematic-debugging
Clone the repo
git clone --depth 1 https://github.com/opensesh/karimo-overview

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/opensesh/karimo-overview/systematic-debugging.svg)](https://agentmods.dev/skills/opensesh/karimo-overview/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/opensesh/karimo-overview/systematic-debugging"><img src="https://agentmods.dev/badge/skills/opensesh/karimo-overview/systematic-debugging.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,685 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 $0.00000 $0.01685
Opus 5 $0.00000 $0.00843
Sonnet 5 $0.00000 $0.00337
Haiku 4.5 $0.00000 $0.00169

Measured yesterday against content hash d5af9fc9c4dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

systematic-debugging 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 yesterday.

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.

curl -v endpoint | jq
.claude/skills/systematic-debugging/SKILL.md · 269 lines

How it starts

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

Systematic Debugging

This skill activates when encountering bugs, errors, unexpected behavior, or when phrases like "not working", "broken", "fix", "debug", or "investigate" appear. Also activates after 2+ failed fix attempts.


The Iron Law

NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST

Proposing solutions before completing Phase 1 violates this process. Every fix attempt without understanding the root cause is a guess—and guesses compound complexity.


The Four Phases

Phase 1: Root Cause Investigation

Never skip this phase. Before any fix attempt:

  1. Read the error message thoroughly

    • Full stack trace, not just the first line
    • Note file paths, line numbers, variable values
    • For BOS: Check if error relates to CSS variables, React Aria, or design tokens
  2. Reproduce consistently

    • Document exact steps to trigger
    • Identify if it's deterministic or intermittent
    • For BOS UI bugs: Test in both light and dark themes
  3. Check recent changes

    • git diff HEAD~5 for recent modifications
    • Did we change design tokens, component props, or CSS?
    • Look for pattern: "It worked before X was changed"
  4. Trace data flow

    • Follow the data from source to error
    • For BOS: CSS variable chain → Tailwind config → Component usage
    • For API: Request → Route → Service → Database → Response
  5. Gather diagnostic evidence

    # For CSS/styling issues
    getComputedStyle(element).getPropertyValue('--bg-primary')
    
    # For state issues
    console.log('State:', JSON.stringify(state, null, 2))
    
    # For API issues
    curl -v endpoint | jq
    

Phase 2: Pattern Analysis

  1. Find working examples

    • What similar code works correctly?
    • For BOS: Check existing components using same tokens
  2. Study reference implementations

    • Read the WHOLE working example, not just the relevant line
    • For React Aria: Check their docs for correct usage patterns
  3. Identify differences

    • What's different between working and broken?
    • For BOS: Compare token usage, prop shapes, class patterns

Read the full file on GitHub · 269 lines

Files

What ships with it

3 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. yesterday First seen · 269 lines · 0 tokens per session scan A d5af9fc9c4dd

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository opensesh/karimo-overview (11 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,685 tokens. 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

Other skills, from other repositories

liquid-glass

Apple Liquid Glass design system. Use when building UI with translucent, depth-aware glass morphism following Apple's design language. Provides CSS tokens, component patterns, dark/light mode, and animation specs.

fengshao1227/ccg-workflow · 43 tokens

mcporter

Discover and call MCP Server tools via the mcporter CLI. Use when your coordinator notifies you about new MCP tools, or when you need to call external APIs. Includes workflow for generating skill documentation for new MCP servers.

agentscope-ai/AgentTeams · 47 tokens

task-management

Use before any Worker taskflow call or assigned-task workflow, including reading task state, acknowledging a task, executing a task, tracking progress, handling blockers/questions, submitting structured results, or reporting completion. Always use this skill when the message mentions assigned task, task ID…

agentscope-ai/AgentTeams · 89 tokens

task-coordination

Coordinate access to shared task directories using .processing marker files. Use before accessing a Worker's workspace to prevent conflicts when both Manager and Worker might modify files simultaneously.

agentscope-ai/AgentTeams · 36 tokens

pre-landing-review

Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust boundary violations, conditional side effects, and other structural issues. Use when explicitly asked for the specialized pre-landing workflow. Product /review requests are handled by BitFun's unified Review mechanism instead.…

GCWing/BitFun · 74 tokens

investigate

Systematic debugging with root cause investigation. Four phases: investigate, analyze, hypothesize, implement. Iron Law: no fixes without root cause. Use when asked to "debug this", "fix this bug", "why is this broken", "investigate this error", or "root cause analysis". Proactively invoke this skill (do NOT debug…

GCWing/BitFun · 112 tokens