debug

A troubleshooting workflow for finding why software fails, crashes, or behaves incorrectly.

In plain words
What is it for?
Use it to investigate regressions, failed tests, runtime errors, rendering problems, stale state, and repeated unsuccessful fixes.
Why use it?
It replaces guesswork with a documented cause, a small targeted fix, and evidence that the problem is resolved.

Skill for Claude CodeCodex

Part of the tasted plugin — 6 skills, 1 MCP server shipped together

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/sssstwee/tastedistill/debug
Any agent
npx skills add sssstwee/tastedistill --skill debug
Clone the repo
git clone --depth 1 https://github.com/sssstwee/tastedistill

Made for: Claude Code, Codex.

Or install tasted, the plugin that ships this one along with the rest of its 6 skills, 1 MCP server.

Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 592 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00060 $0.00592
Opus 5 $0.00030 $0.00296
Sonnet 5 $0.00012 $0.00118
Haiku 4.5 $0.00006 $0.00059

Measured 2d ago against content hash 36da945760a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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

1 near-identical copy found in the catalogue:

plugins/tastedistill-claude/claude-skills/debug/SKILL.md · 61 lines

How it starts

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

Debug: Prove The Cause

Use this skill when the task starts from a symptom.

Prefix your first response line with ⚗️ inline, not as its own paragraph.

Before the workflow, apply ../../shared-rules/personalization.md for explicit TasteD/TasteDistill invocations. Apply ../../shared-rules/runtime-hygiene.md when debugging uses helper scripts, browser checks, local servers, screenshots, traces, or other generated artifacts.

Outcome Contract

  • Outcome: proven root cause, minimal fix or handoff, and verification evidence.
  • Done when: every observed symptom fits the explanation and the fix is checked by a reproducible test or runtime observation.
  • Evidence: repro steps, logs, traces, state, source paths, generated artifacts, tests, screenshots, and command output.

Workflow

  1. List the observed symptoms.
  2. Reproduce the issue or define the missing evidence.
  3. Trace from symptom to source.
  4. State a one-sentence root-cause hypothesis with evidence.
  5. Make the smallest fix that addresses the cause.
  6. Run the narrow regression check.
  7. Search for the same bug shape if the root cause is reusable.

Coding Guardrails

For fixes, apply ../../shared-rules/coding-guardrails.md:

  • Think before coding: do not edit until the root-cause hypothesis is specific and evidence-backed.
  • Simplicity first: fix the cause directly; avoid broad rewrites, new abstractions, or speculative compatibility.
  • Surgical changes: keep the patch to the failure path; search siblings only for the same bug shape.
  • Goal-driven execution: prove the original symptom changed with a reproducible check.

CodeGraph

For root-cause analysis in a Git repository, ../../shared-rules/personalization.md should already have ensured the local CodeGraph index. When codegraph_* tools are available, prefer codegraph_trace for "how does X reach Y", codegraph_callers / codegraph_callees for one-hop flow, and codegraph_context for nearby implementation context. Read target files directly before editing.

Read the full file on GitHub · 61 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. 2d ago First seen · 61 lines · 60 tokens per session scan A 36da945760a0

Subscribe to this mod's changes

debug is a skill published in the GitHub repository sssstwee/tastedistill (2 stars, last pushed 3mo ago), licensed MIT. It adds 60 tokens to every session and 592 once invoked, about $0.0003 per session on Opus 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

design-is

Audit a design against Dieter Rams' ten "Good design is..." principles, then hand off a /make-plan prompt for one of three outcomes — new design, refine design, or redesign. Use when the user says "audit this design", "design review", "check this UI against Rams", "is this UI good", "critique this design", "design…

thedotmack/claude-mem · 91 tokens

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens

ix

This skill should be used when answering structural questions about a codebase: understanding what a symbol is, tracing flows, measuring change impact, finding callers/callees/imports, or detecting code smells. It drives the Ix CLI (ix map/explain/trace/impact/search/rank/smells) against a persistent code graph stored…

ix-infrastructure/Ix · 103 tokens

subagent-driven-development

Execute plan by dispatching fresh subagent per task, with two-stage review after each: spec compliance review first, then code quality review.

itmisx/deepx-code · 37 tokens

epistemic-transaction

Use when starting complex work, planning implementation, breaking down tasks, creating specs, or when the user says 'plan this as transactions', 'plan transactions', 'break this down', 'create a spec', 'how should I approach this', 'transaction plan', or mentions needing a structured approach to multi-step work. This…

EmpiricaAI/empirica · 96 tokens