debug

debug is a skill for Claude Code from Rune-kit/rune. It costs 76 tokens per session (6,804 once invoked), scanned A, original, MIT.

A bug investigation tool that finds the underlying cause of errors and unexpected behaviour. It examines stack traces, failing tests, and related code, but does not apply the fix.

In plain words
What is it for?
Use it to trace failures through a codebase, test possible explanations, investigate browser errors, or hand a diagnosis to a fixing step.
Why use it?
It separates finding the cause from changing the code, reducing guesswork when an error has several possible sources.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the rune plugin — 66 skills, 1 command, 66 agents, 6 hooks shipped together

Good fit Use it to trace failures through a codebase, test possible explanations, investigate browser errors, or hand a diagnosis to a fixing step.

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

Made for: Claude Code.

Or install rune, the plugin that ships this one along with the rest of its 66 skills, 1 command, 66 agents, 6 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/rune-kit/rune/debug/github.svg)](https://agentmods.dev/skills/rune-kit/rune/debug)
Your own site
<a href="https://agentmods.dev/skills/rune-kit/rune/debug"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/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/rune-kit/rune/debug"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,804 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00076 $0.06804
Opus 5.5 $0.00030 $0.02722
Sonnet 5.5 $0.00015 $0.01361
Haiku 4.5 $0.00008 $0.00680

Measured 8d ago against content hash 4bd4af8d76b8, 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 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Otherwise, before Step 1: pick the highest viable rung from `references/feedback-loop-ladder.md` (10-rank ladder: failing test → curl → CLI snapshot → headless browser → trace replay → throwaway harness → fuzz → bisectio
skills/debug/SKILL.md · 487 lines

How it starts

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

debug

Purpose

Root cause analysis ONLY. Debug investigates — it does NOT fix. It traces errors through code, analyzes stack traces, forms and tests hypotheses, and identifies the exact cause before handing off to rune:fix.

Triggers

  • Called by cook when implementation hits unexpected errors
  • Called by test when a test fails with unclear reason
  • Called by fix when root cause is unclear before fixing
  • /rune debug <issue> — manual debugging
  • Auto-trigger: when error output contains stack trace or error code

Calls (outbound)

  • scout (L2): find related code, trace imports, identify affected modules
  • fix (L2): when root cause found, hand off with diagnosis for fix application
  • brainstorm (L2): 3-Fix Escalation when root cause is "wrong approach" — invoke with mode="rescue" for category-diverse alternatives
  • plan (L2): 3-Fix Escalation when root cause is "wrong module design" — invoke for redesign
  • docs-seeker (L3): lookup API docs for unclear errors or deprecated APIs
  • problem-solver (L3): structured reasoning (5 Whys, Fishbone) for complex bugs
  • browser-pilot (L3): capture browser console errors, network failures, visual bugs
  • sequential-thinking (L3): multi-variable root cause analysis
  • neural-memory (L3): after root cause found — capture error pattern for future recognition
  • adversary (L2): on agent.stuck — oracle-mode dispatches stateless second-model pass to break confirmation-bias loop (parallel with scout zoom-out)

Read the full file on GitHub · 487 lines

Files

What ships with it

1 file 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. 8d ago First seen · 487 lines · 76 tokens per session scan A 4bd4af8d76b8

Subscribe to this mod's changes

debug is a skill published in the GitHub repository Rune-kit/rune (96 stars, last pushed 2d ago), licensed MIT. It adds 76 tokens to every session and 6,804 once invoked, about $0.0003 per session on Opus 5.5. 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-11-22.

Related

debug compared with skills from other repositories

debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debugRune-kit/runeSkill962d agoMITA76Claude Code
autonomous-tdd-debuggerroedyrustam/vibes-plugSkill1293d agoMITA43Cursor
repro-firstedonadei/caliperSkill239yesterdayMITA30Claude Code
pair-programmingfrankxai/claude-skills-librarySkill51todayMITA85Claude Code
debug-flowDVNghiem/FlowDeckSkill4415d agoMITA34Claude Code, Codex
refactoring-patternscosmicstack-labs/mercury-agent-skillsSkill4923mo agoMITA21Claude Code, Codex
debugsentimony/skillsSkill8todayMITA34Claude Code