debugging

debugging is a skill for Claude Code from DojoCodingLabs/code-sensei. It costs 36 tokens per session (710 once invoked), scanned A, original, MIT.

A skill for debugging, the process of finding why software behaves incorrectly and fixing the cause. It teaches agents to read error types, messages, file names, and line numbers as clues.

In plain words
What is it for?
It is for investigating error messages, locating bugs, explaining what went wrong, and fixing software problems.
Why use it?
It turns vague failures into specific problems that can be investigated. It covers common frontend errors and missing or undefined values.

Skill for Claude Code

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

Part of the code-sensei plugin — 10 skills, 10 commands, 1 agent, 3 hooks shipped together

Good fit It is for investigating error messages, locating bugs, explaining what went wrong, and fixing software problems.

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

Made for: Claude Code.

Or install code-sensei, the plugin that ships this one along with the rest of its 10 skills, 10 commands, 1 agent, 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 debugging

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dojocodinglabs/code-sensei/debugging"><img src="https://agentmods.dev/badge/skills/dojocodinglabs/code-sensei/debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 710 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.00036 $0.00710
Opus 5.5 $0.00014 $0.00284
Sonnet 5.5 $0.00007 $0.00142
Haiku 4.5 $0.00004 $0.00071

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

Security

Grade A, and why

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • debugging — 100% identical, 0 lines differ
skills/debugging/SKILL.md · 63 lines

How it starts

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

Debugging — CodeSensei Teaching Module

What is Debugging?

  • Analogy: Debugging is detective work. Something isn't working, and you need to find out why. Every error message is a clue.
  • Key insight: Errors are NOT failures. They're the computer telling you exactly what went wrong and where. Learning to read errors is the single most valuable programming skill.

How to Read Error Messages

Teach users to look for these three things in EVERY error:

  1. What happened — the error type (TypeError, SyntaxError, 404, etc.)
  2. Where it happened — the file name and line number
  3. Why it happened — the description message

Example:

TypeError: Cannot read property 'name' of undefined
    at UserCard (src/components/UserCard.jsx:12)

Translation: "On line 12 of UserCard.jsx, you tried to get .name from something that doesn't exist yet."

Common Error Types (teach as encountered)

Frontend Errors

  • "Cannot read property X of undefined" — you're trying to use data that hasn't loaded yet. Like trying to read a book that hasn't been delivered.
  • "X is not defined" — you're using a variable/function that doesn't exist. Likely a typo or missing import.
  • "X is not a function" — you're trying to call something as a function, but it's not one.
  • White screen of death — usually a component crashed during rendering. Check the browser console.

Backend Errors

  • 404 Not Found — the URL/route doesn't exist. Like going to a room number that doesn't exist in the building.
  • 500 Internal Server Error — something broke on the server. Check the server logs.
  • 401 Unauthorized — you're not logged in (or your token expired).
  • 403 Forbidden — you're logged in but don't have permission.
  • CORS error — your frontend is trying to talk to a backend that doesn't trust it. Like calling a secure building and not being on the approved list.

Database Errors

  • "relation X does not exist" — the table hasn't been created yet. Run your migrations.
  • "unique constraint violation" — you're trying to add a duplicate entry (like two users with the same email).
  • "null value in column X violates not-null constraint" — you forgot to include a required field.

Read the full file on GitHub · 63 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 · 63 lines · 36 tokens per session scan A 7812de715f7c

Subscribe to this mod's changes

debugging is a skill published in the GitHub repository DojoCodingLabs/code-sensei (14 stars, last pushed 25d ago), licensed MIT. It adds 36 tokens to every session and 710 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

cloudflare-workers-observability

Cloudflare Workers observability with logging, Analytics Engine, Tail Workers, metrics, and alerting. Use for monitoring, debugging, tracing, or encountering log parsing, metric aggregation, alert configuration errors.

secondsky/claude-skills · 47 tokens

cloudflare-workers-dev-experience

Cloudflare Workers local development with Wrangler, Miniflare, hot reload, debugging. Use for project setup, wrangler.jsonc configuration, or encountering local dev, HMR, binding simulation errors.

secondsky/claude-skills · 47 tokens

cloudflare-workers-performance

Cloudflare Workers performance optimization with CPU, memory, caching, bundle size. Use for slow workers, high latency, cold starts, or encountering CPU limits, memory issues, timeout errors.

secondsky/claude-skills · 42 tokens

api-error-handling

Implements standardized API error responses with proper status codes, logging, and user-friendly messages. Use when building production APIs, implementing error recovery patterns, or integrating error monitoring services.

secondsky/claude-skills · 40 tokens

claudemd-prove-it

Audit CLAUDE.md against .claude/settings.json. Reports which rules are enforced by hooks/permissions and which are prose, plus context cost, import resolution, contradictions, and structure. Use when the user asks to audit, check, lint, or grade their CLAUDE.md, or asks whether their Claude Code rules are enforced.

brefledev/claudemd-prove-it · 75 tokens

perf-check

Use when the user wants to check performance, find slow code, identify bottlenecks, or audit efficiency.

huzaifa525/claude-code-optimizer · 25 tokens