debug

debug is a skill for Claude Code from TheWinci/mimirs. It costs 35 tokens per session (312 once invoked), scanned A, original, Apache-2.0.

A debugging skill for tracing errors, regressions, and unexpected behavior back to their root cause. It follows code paths, callers, history, known issues, and earlier attempts.

In plain words
What is it for?
Investigating errors, finding the responsible code and change, explaining the failure path, and recording the cause and fix.
Why use it?
It connects the visible failure to the code or change that caused it instead of stopping at the symptom.

Skill for Claude Code

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

Part of the mimirs plugin — 11 skills, 3 hooks shipped together

Good fit Investigating errors, finding the responsible code and change, explaining the failure path, and recording the cause and fix.

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

Made for: Claude Code.

Or install mimirs, the plugin that ships this one along with the rest of its 11 skills, 3 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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thewinci/mimirs/debug/github.svg)](https://agentmods.dev/skills/thewinci/mimirs/debug)
Your own site
<a href="https://agentmods.dev/skills/thewinci/mimirs/debug"><img src="https://agentmods.dev/badge/skills/thewinci/mimirs/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/thewinci/mimirs/debug"><img src="https://agentmods.dev/badge/skills/thewinci/mimirs/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 312 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.00035 $0.00312
Opus 5.5 $0.00014 $0.00125
Sonnet 5.5 $0.00007 $0.00062
Haiku 4.5 $0.00003 $0.00031

Measured 1mo ago against content hash 1288b2551d80, 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 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.

skills/debug/SKILL.md · 18 lines

What it actually says

Debug

Goal: find the cause, not just the symptom.

  1. Locate the symptom — search "<error text / behavior>"; if you have a name, search_symbols <name> (exact lookup). read_relevant the suspect code.
  2. Follow the path — trace from:<entrypoint> to:<suspect> to see how execution reaches the failure (shortest path is highlighted; a dynamic-dispatch hop ends a chain and is reported as such). usages <symbol> for who calls the suspect.
  3. Known issues — get_annotations (search across notes) — the bug may already be flagged as a caveat.
  4. When introduced — file_history <file> and search_commits "<symptom/area>" to find the change that likely caused it; git_context for recent uncommitted edits.
  5. Past attempts — search_conversation "<symptom>" — was this hit or discussed before?
  6. Fix & record — once fixed, annotate the root cause on the file and create_checkpoint what was wrong and how it was resolved.

Finish: state the root cause (file:line), the path from trigger to failure, and the fix.

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 · 18 lines · 35 tokens per session scan A 1288b2551d80

Subscribe to this mod's changes

debug is a skill published in the GitHub repository TheWinci/mimirs (30 stars, last pushed yesterday), licensed Apache-2.0. It adds 35 tokens to every session and 312 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

memorix-troubleshooting

Use when Memorix MCP, setup, project binding, HTTP control plane, hooks, skills, or agent integration is missing, stale, or failing.

AVIDS2/memorix · 36 tokens

lsp-mcp-server

Use with Codex, Claude Code, or another MCP client when lsp-mcp-server is connected and semantic code navigation, analysis, refactoring, or diagnostics are needed. Covers all 29 lsp tools for TypeScript, Python, Rust, Go, C/C++, Ruby, PHP, Elixir, Kotlin, Java, and user-configured languages. Prefer these tools to text…

ProfessioneIT/lsp-mcp-server · 108 tokens

papi-verify

Use when the user says "verify", "health check", "check papi", "verify cycle", or after completing all cycle tasks before release. Runs a structured health check on the current PAPI cycle state: plan validity, build state, review coverage, branch hygiene, and data consistency.

getpapi/papi · 63 tokens

mcp-debug

Use when testing MCP servers, debugging MCP tool responses, exploring MCP capabilities, or diagnosing why an MCP tool returns unexpected data.

TechNickAI/ai-coding-config · 28 tokens

lain

Structural code intelligence for AI coding agents. Use this skill when the user wants to understand how a codebase is organized (modules, call graphs, file dependencies), find where to start reading, trace the impact of a change, find code by meaning, or understand what a symbol does in its full context. Do NOT use…

spuentesp/lain · 90 tokens

deployment-completeness-audit

Read-only audit of changes that were built but not wired, deployed or exercised. Trace the target project's actual release path, runtime, migrations and adapters; report evidence and missing access honestly.

getpapi/papi · 44 tokens