debug

debug is a skill for Claude Code from Yeachan-Heo/oh-my-claudecode. It costs 22 tokens per session (317 once invoked), scanned A, original, MIT.

A diagnostic workflow for investigating problems in an OMC session or code repository using logs, traces, state, and focused reproduction.

In plain words
What is it for?
Use it to investigate broken workflows, confusing runtime behavior, hook or orchestration problems, failing tests, and narrowly reproducible errors.
Why use it?
It helps separate the visible symptom from the underlying cause before choosing a fix.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the oh-my-claudecode plugin — 48 skills, 21 commands, 19 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it to investigate broken workflows, confusing runtime behavior, hook or orchestration problems, failing tests, and narrowly reproducible errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yeachan-heo/oh-my-claudecode/debug
About the project

Oh My Claude Code is a multi-agent orchestration system for Claude Code, coordinating specialized agents, commands, skills, hooks, and workflows. It is designed for developers who want Claude Code to handle coding tasks through coordinated agent roles. Catalogue entries are components of its Claude Code workflow, including agents, commands, skills, hooks, instructions, MCP configuration, and a plugin.

Yeachan-Heo/oh-my-claudecode · 40,265 stars · on GitHub · oh-my-claudecode.dev

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 Yeachan-Heo/oh-my-claudecode --skill debug
Clone the repo
git clone --depth 1 https://github.com/Yeachan-Heo/oh-my-claudecode

Made for: Claude Code.

Or install oh-my-claudecode, the plugin that ships this one along with the rest of its 48 skills, 21 commands, 19 agents, 11 hooks, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yeachan-heo/oh-my-claudecode/debug/github.svg)](https://agentmods.dev/skills/yeachan-heo/oh-my-claudecode/debug)
Your own site
<a href="https://agentmods.dev/skills/yeachan-heo/oh-my-claudecode/debug"><img src="https://agentmods.dev/badge/skills/yeachan-heo/oh-my-claudecode/debug/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/yeachan-heo/oh-my-claudecode/debug"><img src="https://agentmods.dev/badge/skills/yeachan-heo/oh-my-claudecode/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 317 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. Third-party audits
  • Socket pass 1 Oct 2026
  • Snyk pass 1 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00022 $0.00317
Opus 5.5 $0.00009 $0.00127
Sonnet 5.5 $0.00004 $0.00063
Haiku 4.5 $0.00002 $0.00032

Measured 24d ago against content hash ffe03e4bf2d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug 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 24d 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

Copies of this mod

2 near-identical copies found in the catalogue:

  • debug — 100% identical, 3 lines differ
  • debug — 100% identical, 0 lines differ
skills/debug/SKILL.md · 39 lines

What it actually says

Debug

Use this skill when the user wants help diagnosing a current OMC/Claude-Code session problem, workflow breakage, or confusing runtime behavior.

Goal

Find the real failure signal quickly and explain the next corrective step.

Workflow

  1. Read the user’s issue description carefully.
  2. Inspect the most relevant local evidence first:
    • trace tools
    • state tools
    • notepad / project memory when relevant
    • failing tests or commands
  3. Reproduce the issue narrowly if possible.
  4. Distinguish symptoms from root cause.
  5. Recommend the smallest next fix or verification step.

Rules

  • Prefer real evidence over guesses.
  • Use the trace/state surfaces when the issue involves orchestration, hooks, or agent flow.
  • If the issue is actually a product/runtime bug rather than app code, say so plainly.
  • Do not prescribe broad rewrites before isolating the failure.
  • Tag temporary debug output [DEBUG-<4hex>]; cleanup is then a single grep.
  • Redact secrets from logs and traces before they leave the session.
  • If the failure traces to a missing or wrong seam, say so as the finding and point at refit or architecture-survey — the environment lesson outlives the fix.

Output

  • Observed failure
  • Root-cause hypothesis
  • Evidence for that hypothesis
  • Smallest next action
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. 24d ago Changed · +3 lines ffe03e4bf2d3
  2. 1mo ago First seen · 36 lines · 22 tokens per session scan A b54c1263f4a9

Subscribe to this mod's changes

debug is a skill published in the GitHub repository Yeachan-Heo/oh-my-claudecode (40,265 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 317 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

oracle-debug

Disciplined debugging methodology. Triggers on bug reports, test failures, "debug this", "diagnose this", unexpected behavior, build failures, integration issues, or performance regressions. Find root cause before a permanent corrective fix; contain urgent harm safely first.

martinffx/atelier · 56 tokens

patch-opencode

Patch the live OpenCode binary with a minimal fix. Use when fixing bugs in OpenCode's Go/TypeScript binary — checkout the exact live version, apply the fix, build, install, and test. NEVER build from dev branch to patch a stable release.

EZotoff/ez-omo-config · 53 tokens

add-provider

MUST USE when adding or changing models/providers in this repo's OpenCode config: new provider blocks, new model entries, enabledproviders edits, fallback chains, smallmodel / agent.title.model / OMO agent model assignments, or provider auth wiring. Encodes the checklist that prevents the six recurring setup failure…

EZotoff/ez-omo-config · 93 tokens

patch-opencode.tmp

Patch the live OpenCode binary with a minimal fix. Use when fixing bugs in OpenCode's Go/TypeScript binary — checkout the exact live version, apply the fix, build, install, and test. NEVER build from dev branch to patch a stable release.

EZotoff/ez-omo-config · 53 tokens

register-retry-error

Register a new retryable error pattern in the error retry registry. Use when encountering errors that should trigger automatic retry.

EZotoff/ez-omo-config · 28 tokens

register-retry-error

Register a new retryable error pattern in the error retry registry. Use when encountering errors that should trigger automatic retry.

EZotoff/ez-omo-config · 28 tokens