debugging

debugging is a skill for Claude Code, Codex from andreaswasita/copilot-agents-dojo. It costs 13 tokens per session (1,170 once invoked), scanned A, original, MIT.

A method for investigating difficult or unclear software bugs by collecting evidence, forming a testable explanation, and narrowing the possible cause. It uses reproduction steps, errors, logs, recent changes, and code history instead of guesswork.

In plain words
What is it for?
Use it when the error message does not make the cause obvious or normal debugging has failed. It reproduces the problem, tests one evidence-based hypothesis at a time, and narrows the failing component.
Why use it?
It helps with intermittent failures, bugs across several parts of a system, performance slowdowns, memory leaks, and race conditions. This avoids making unrelated changes until the actual cause is understood.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when the error message does not make the cause obvious or normal debugging has failed. It reproduces the problem, tests one evidence-based hypothesis at a time, and narrows the failing component.

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

Made for: Claude Code, Codex.

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/andreaswasita/copilot-agents-dojo/debugging/github.svg)](https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/debugging)
Your own site
<a href="https://agentmods.dev/skills/andreaswasita/copilot-agents-dojo/debugging"><img src="https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/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/andreaswasita/copilot-agents-dojo/debugging"><img src="https://agentmods.dev/badge/skills/andreaswasita/copilot-agents-dojo/debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,170 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
  • 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.00013 $0.01170
Opus 5.5 $0.00005 $0.00468
Sonnet 5.5 $0.00003 $0.00234
Haiku 4.5 $0.00001 $0.00117

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

skills/debugging/SKILL.md · 143 lines

How it starts

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

Debugging Skill

Investigates hard or non-obvious bugs by gathering evidence, forming a hypothesis, and narrowing the search space — never by guessing or shotgun-changing code. Complements autonomous-bug-fix with deeper diagnostic technique. Does NOT replace running the failing test and reading the actual error.

When to Use

  • The cause of a bug is not immediately obvious.
  • Intermittent or hard-to-reproduce failures.
  • Bugs spanning multiple components or layers.
  • Standard approaches ("read the error, fix the obvious") have failed.
  • Performance regressions, memory leaks, race conditions.
  • NOT when the failing test message already states the problem — just fix it.

Prerequisites

  • Ability to reproduce the failure (or evidence captured from production).
  • The view, grep, glob, and powershell Copilot tools.
  • git for history and bisect.
  • A test or repro script that exhibits the bug.

How to Run

1. Reproduce the failure. Capture the exact error and stack.
2. Gather evidence: recent commits, environment, inputs, logs.
3. Form ONE hypothesis based on evidence.
4. Test the hypothesis with the cheapest technique that disproves it.
5. Narrow the layer, then the line.
6. Write a regression test BEFORE the fix.
7. Fix the root cause, not the symptom.

Quick Reference

Technique Use when
git bisect Bug appeared recently, clean commit history
Print / log tracing Need to see execution flow
Minimal repro Complex system, need to isolate the variable
Breakpoint debugging Need to inspect state at a specific point
Diff analysis (git log, git diff) "It worked before" — something changed
Input shrinking Test with smaller inputs until the failure stops
Bug shape First place to look
Race condition Shared mutable state, missing await, missing lock
Memory leak Growing collections, unclosed resources, retained refs
Performance Database (N+1, missing index), network (uncached calls)
Intermittent Timing, external dependencies, ordering assumptions

Read the full file on GitHub · 143 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 · 143 lines · 13 tokens per session scan A 6d481bc5729a

Subscribe to this mod's changes

debugging is a skill published in the GitHub repository andreaswasita/copilot-agents-dojo (54 stars, last pushed 1mo ago), licensed MIT. It adds 13 tokens to every session and 1,170 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

analyze-project

Forensic root cause analyzer for Antigravity sessions. Classifies scope deltas, rework patterns, root causes, hotspots, and auto-improves prompts/health.

sinhoneyy/master-skills · 39 tokens

cpp

Use when writing, reviewing, modernizing, building, or debugging C++ - RAII and resource lifetime, smart-pointer ownership, move semantics and the Rule of Zero/Five, target-based CMake with FetchContent, and killing undefined behavior with ASan/UBSan/TSan plus clang-tidy. NOT borrow-checker / Result-Option / cargo…

ericrisco/rsc-harness · 81 tokens

observability

Use when instrumenting a service from the inside so an incident can be explained from telemetry alone — wiring OpenTelemetry logs, metrics and traces, standing up a Collector, exporting via OTLP, and defining telemetry-driven alerts. NOT outside-in uptime probes, on-call rotation, or who-gets-paged (that is…

ericrisco/rsc-harness · 70 tokens

angular

Use when building, refactoring, or debugging Angular (v20/21+): standalone components, signals, zoneless change detection, @if/@for/@defer control flow, inject() DI, resource()/httpResource(), RxJS interop, NgRx SignalStore, ng CLI. NOT React (that is react), NOT Next.js (that is nextjs), NOT a TypeScript language…

ericrisco/rsc-harness · 89 tokens

debug

Use when something is broken — a failing or flaky test, crash, wrong result or regression — and the root cause must be reproduced and proven before any fix. On-demand; callable mid-implement. NOT a feature to spec or build (that is specify/implement), NOT the lint/test gate (that is verify), NOT adversarial diff…

ericrisco/rsc-harness · 85 tokens

gamedev-physics

Use when working with a game engine's physics — rigid bodies, colliders, collision layers and masks, character controllers, joints, forces versus impulses, raycasts and shapecasts, or when a simulation is unstable (tunnelling, jitter, missed overlaps). Covers the Godot, Unity and Unreal equivalents. NOT rendering or…

ericrisco/rsc-harness · 102 tokens