debugging-troubleshooting

debugging-troubleshooting is a skill for Claude Code, Codex from DojoGenesis/mcp. It costs 52 tokens per session (3,061 once invoked), scanned A, original, MIT.

A seven-step method for diagnosing problems in code, systems, and workflows: reproduce, isolate, form a hypothesis, test, fix, verify, and learn.

In plain words
What is it for?
Use it for errors, crashes, incorrect results, slow performance, inconsistent data, broken integrations, and other unexpected behavior.
Why use it?
It reduces random trial and error by requiring evidence about the root cause before changing the system.

Skill for Claude CodeCodex

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

Good fit Use it for errors, crashes, incorrect results, slow performance, inconsistent data, broken integrations, and other unexpected behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dojogenesis/mcp/debugging
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 DojoGenesis/mcp --skill debugging
Clone the repo
git clone --depth 1 https://github.com/DojoGenesis/mcp

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 debugging-troubleshooting

README.md
[![agentmods](https://agentmods.dev/badge/skills/dojogenesis/mcp/debugging/github.svg)](https://agentmods.dev/skills/dojogenesis/mcp/debugging)
Your own site
<a href="https://agentmods.dev/skills/dojogenesis/mcp/debugging"><img src="https://agentmods.dev/badge/skills/dojogenesis/mcp/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 debugging-troubleshooting

Your own site · 80×15
<a href="https://agentmods.dev/skills/dojogenesis/mcp/debugging"><img src="https://agentmods.dev/badge/skills/dojogenesis/mcp/debugging.svg" alt="Reviewed on agentmods" width="80" 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 3,061 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 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.03061
Opus 5.5 $0.00021 $0.01224
Sonnet 5.5 $0.00010 $0.00612
Haiku 4.5 $0.00005 $0.00306

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

Security

Grade A, and why

debugging-troubleshooting 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 1mo 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.

internal/skills/bundled/continuous-learning/debugging/SKILL.md · 408 lines

How it starts

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

Debugging & Troubleshooting Skill

Version: 1.2 Author: Tres Pies Design Purpose: Systematic debugging and troubleshooting that finds root causes, not just patches symptoms.


I. Philosophy: Systematic Diagnosis

Debugging is systematic investigation, not random guessing. One change at a time, test, observe, learn. Intuition is useful but methodology prevents rabbit holes.

Core principle: You can't fix what you can't reproduce.


II. When to Use This Skill

  • Code behaves unexpectedly (errors, crashes, wrong output)
  • Performance degradation (slow queries, long build times)
  • Data inconsistency (state out of sync)
  • Integration failure (API returns errors, sync breaks)
  • Feature not working as expected (UI bug, logic error)

III. The 7-Step Debugging Workflow

Always follow these steps in order. Never jump to fixing without reproducing.

Step 1: Reproduce

Can the user reproduce the problem consistently?

  • Identify exact steps to trigger the issue
  • Run reproduction 3+ times
  • Note if it happens every time or intermittently
  • If intermittent, identify patterns (time of day, data size, user count, load)

If you can't reproduce it, you can't fix it. Invest time here.

Information Gathering Template:

## Debug: [Issue Title]

**Gathered:** [Date/Time]

**Error Message:**
[Exact error text]

**Stack Trace:**
[Copy relevant portion]

**Logs:**
[Key log lines with timestamps]

**Context:**
- What triggered the issue:
- Recent changes:
- Environment:
  - Node: [version]
  - Database: [version]
  - OS: [platform]

**Expected Behavior:**
[What should happen]

**Actual Behavior:**
[What actually happened]

Step 2: Isolate

Narrow the scope. Which component, file, function, or line?

Bisection strategy: When many variables exist, use binary search to narrow down:

  1. Split the system in half
  2. Test each half independently
  3. The half that fails contains the bug
  4. Repeat until you've isolated the specific component

Read the full file on GitHub · 408 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. 1mo ago First seen · 408 lines · 52 tokens per session scan A 799f8151373b

Subscribe to this mod's changes

debugging-troubleshooting is a skill published in the GitHub repository DojoGenesis/mcp (0 stars, last pushed 2mo ago), licensed MIT. It adds 52 tokens to every session and 3,061 once invoked, about $0.0002 per session on Opus 5.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

mma-investigator

Expert system for investigating MMA (Multi-Metric Allocator) behavior on CockroachDB clusters. Helps oncall engineers diagnose load imbalances, understand rebalancing decisions, and identify why MMA did or didn't act.

cockroachdb/cockroach · 47 tokens

pi-loop-forensics

Diagnose pi-go agent loops and degenerate turns — "agent loop aborted", runaway thinking with no tool calls, repeated phrases. Discriminates genuine model repetition collapse from a race, a tool-parse failure, or a too-low guard, and A/B replays a seed session across providers.

dimetron/pi-go · 65 tokens

nightly-session-watch

Nightly sweep of the last 24h of pi-go sessions — anomalous runs, loop aborts, tool error rates, token waste, real prompt-token spend, and whether the observation and palace pipelines are still recording. Triages each finding to the specialist skill that diagnoses it. Use for an unattended daily health check, or on…

dimetron/pi-go · 78 tokens

lsp-inspect

Full code quality audit for a file, package, or directory. Supports batch mode (directory walk with --top ranking), comparison mode (--diff for branch-only issues), severity calibration by blast radius, fix suggestions, and confidence tiers. Applies a check taxonomy (dead symbols, silent failures, error wrapping…

blackwell-systems/agent-lsp · 126 tokens

lsp-refactor

End-to-end safe refactor workflow — blast-radius analysis, speculative preview, apply to disk, verify build, run affected tests. Inlines lsp-impact + lsp-safe-edit + lsp-verify + lsp-test-correlation into one coordinated sequence.

blackwell-systems/agent-lsp · 57 tokens

lsp-understand

Deep-dive exploration of unfamiliar code — given a symbol or file, builds a complete Code Map showing type info, implementations, call hierarchy (2-level depth limit), all references, and source. Broader than lsp-explore: accepts files, synthesizes multi-symbol relationships, and produces a navigable dependency map.

blackwell-systems/agent-lsp · 69 tokens