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.
npx skills add smallnest/goal-workflow --skill debug-itgit clone --depth 1 https://github.com/smallnest/goal-workflowWrote 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.
[](https://agentmods.dev/skills/smallnest/goal-workflow/debug-it)<a href="https://agentmods.dev/skills/smallnest/goal-workflow/debug-it"><img src="https://agentmods.dev/badge/skills/smallnest/goal-workflow/debug-it/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.
<a href="https://agentmods.dev/skills/smallnest/goal-workflow/debug-it"><img src="https://agentmods.dev/badge/skills/smallnest/goal-workflow/debug-it.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00098 | $0.01842 |
| Opus 5.5 | $0.00039 | $0.00737 |
| Sonnet 5.5 | $0.00020 | $0.00368 |
| Haiku 4.5 | $0.00010 | $0.00184 |
Grade A, and why
debug-it 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 yesterday.
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.
2. **HTTP / curl script** against a local dev server. 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.
Debug It — Disciplined Bug Diagnosis & Root-Cause Fixing
A phased debugging discipline for hard bugs, intermittent failures, and performance regressions. Skip a phase only when explicitly justified by the user or environment.
Before exploring, read GLOSSARY.md and relevant docs/adr/ entries if they exist so hypotheses use the codebase's real domain model.
Redact First
Never print raw secrets, tokens, cookies, or PII in commands, logs, or captured artifacts:
- Replace credentials with
<REDACTED>before quoting. - Drive reproduction loops via environment variables (
$API_TOKEN), never inline secrets. - Quote only the lines of captured headers/traces that carry diagnostic signal.
If redacted output strips the signal needed to diagnose, tell the user explicitly instead of guessing.
Phase 1: Build a Tight Red-Capable Feedback Loop
This is the leverage point. A fast, deterministic pass/fail command that goes red on this exact bug turns debugging into mechanical elimination. Do not read code to build theories before this command exists.
Construction Ladder (try in order, cheapest first)
- Failing test at the seam that reaches the bug (unit, integration, or E2E).
- HTTP / curl script against a local dev server.
- CLI invocation with a fixture input, diffing stdout/exit code against expected output.
- Headless browser script (Playwright / CDP) driving the UI and asserting on DOM, console, or network.
- Replay a captured trace (saved payload, webhook, event log, or HAR) through the target code path.
- Throwaway harness spinning up the smallest isolated slice of the system with mocked external boundaries.
- Property / fuzz loop running N randomized inputs when failures happen "sometimes."
- Bisection harness for
git bisect runwhen a bug appeared between two known commits/versions. - Differential loop comparing old vs. new versions or two configs on identical inputs.
- HITL bash script (last resort when a human must click/authenticate): copy
scripts/hitl-loop.template.sh, customize steps, and parse itsKEY=VALUEoutput.
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.
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.
- yesterday First seen · 143 lines · 98 tokens per session scan A 05bab2a65b1f
debug-it is a skill published in the GitHub repository smallnest/goal-workflow (304 stars, last pushed 2d ago), licensed MIT. It adds 98 tokens to every session and 1,842 once invoked, about $0.0004 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-12-03.
debug-it compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debug-itsmallnest/goal-workflow | Skill | 304 | 2d ago | MIT | A | 98 | Claude Code |
| inline-plan-devsentimony/skills | Skill | 8 | 2d ago | MIT | A | 49 | Claude Code |
| agent-browser-debugsentimony/skills | Skill | 8 | 2d ago | MIT | A | 62 | Claude Code |
| debugsentimony/skills | Skill | 8 | 2d ago | MIT | A | 34 | Claude Code |
| vitestsentimony/skills | Skill | 8 | 2d ago | MIT | B | 70 | Claude Code |
| experiment-iterative-coderEvoScientist/EvoSkills | Skill | 493 | 3d ago | Apache-2.0 | A | 145 | Claude Code |
| testing-blocksadobe/skills | Skill | 343 | today | Apache-2.0 | A | 114 | Claude Code |