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 moonlight-lupin/agent-skills --skill debuggit clone --depth 1 https://github.com/moonlight-lupin/agent-skillsWrote 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/moonlight-lupin/agent-skills/debug)<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/debug"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/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.
<a href="https://agentmods.dev/skills/moonlight-lupin/agent-skills/debug"><img src="https://agentmods.dev/badge/skills/moonlight-lupin/agent-skills/debug.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.00104 | $0.01247 |
| Opus 5.5 | $0.00042 | $0.00499 |
| Sonnet 5.5 | $0.00021 | $0.00249 |
| Haiku 4.5 | $0.00010 | $0.00125 |
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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debug
Bug-shaped work: a defect with no feature ask. The orchestrator routes here instead of running the full feature chain (orchestrator/references/risk-routing.md).
Scope
- In: failing test or suite; stack trace or crash; wrong output vs stated expectation; regression after a change — each with the reproduction material the user already has.
- Out: new behavior requests (that is the orchestrator's feature chain:
grill→spec→test-evals→build); post-hoc review (that isreview-commit). If the fix surfaces a new important fork, stop as an important fork (orchestrator/references/unattended.md) — do not silently expand scope.
The Process (in order)
- Reproduce. Build the reproduction from the user's report or the failing test. A bug you cannot reproduce is a question, not a fix: report exactly what you ran, the expected vs actual, and the missing input — then continue with any part you CAN execute (read-only diagnosis). Never "fix" from the stack trace alone.
- Failing test at the highest public seam. Write the test that fails because of the bug, at the highest seam the fix will be visible at (public API over internals; the seam vocabulary is
test-evals's:../test-evals/references/test-doctrine.md§ Seams). Name why no automated test is possible (not reachable at any public seam / reproduction needs a live external system) and say exactly what verification replaces it (the command, the observed output). An unreproducible claim is not a fix. - Minimal fix. Change the least code that makes the test pass without breaking the contract around it: state assumptions or return
NEEDS_CONTEXT; every changed line traces to the defect; no drive-by refactors; unrelated dead code is mentioned, not deleted; dependency-injected seams stay injectable. Coding principles verbatim:../orchestrator/references/coding-principles.md. - Run the named test, then the full acceptance suite. Both, in that order, and both green. If the full suite exposes another failing test, either it is the same defect (fix covers it) or it is a second defect — fix it through this process again, its own test, rather than editing the failing test into passing.
- Enter
review-commitat the risk-derived tier. A one-line typo with no behavior change may be T0/T1 (skill_create gate + self-check); a production bug at a trust boundary is still R2/R3 with its tier's reviewer dispatch and confirm budget. The tier comes fromorchestrator/references/risk-routing.md— severity of what the bug touches, not the diff size.
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 Changed · -2 tokens per session 81b793f2d50e
- 2d ago Changed · +3 lines 2fe49dce882f
- 3d ago First seen · 56 lines · 106 tokens per session scan A 8ddf27e3675c
debug is a skill published in the GitHub repository moonlight-lupin/agent-skills (136 stars, last pushed 2d ago), licensed MIT. It adds 104 tokens to every session and 1,247 once invoked, about $0.0004 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-11-28.
debug compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debugmoonlight-lupin/agent-skills | Skill | 136 | 2d ago | MIT | A | 104 | Claude Code, Codex |
| systematic-debuggingNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 16 | Claude Code, Codex |
| build-testnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 31 | Claude Code, Codex |
| reenable-testchromium/chromium | Skill | 25k | today | BSD-3-Clause | A | 85 | Claude Code, Codex |
| loopx-self-repairhuangruiteng/loopx | Skill | 6.8k | 2d ago | Apache-2.0 | A | 102 | Codex |
| resolve-author-fixomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 24 | Claude Code, Codex |
| fixing-flaky-testsamplifthq/opentag | Skill | 1.4k | 11d ago | MIT | A | 220 | Claude Code, Codex |