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 kreek/consult --skill debugginggit clone --depth 1 https://github.com/kreek/consultWrote 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/kreek/consult/debugging)<a href="https://agentmods.dev/skills/kreek/consult/debugging"><img src="https://agentmods.dev/badge/skills/kreek/consult/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.
<a href="https://agentmods.dev/skills/kreek/consult/debugging"><img src="https://agentmods.dev/badge/skills/kreek/consult/debugging.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.00028 | $0.00713 |
| Opus 5.5 | $0.00011 | $0.00285 |
| Sonnet 5.5 | $0.00006 | $0.00143 |
| Haiku 4.5 | $0.00003 | $0.00071 |
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 2mo 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.
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
Iron Law
NO FIX WITHOUT ROOT-CAUSE EVIDENCE.
When to Use
- Defects, flakes, timing-sensitive bugs, regressions, production incidents, unclear failures, or stuck debugging sessions.
When NOT to Use
- Planned refactors with no failing behavior; use
refactoring. - Slowness as the symptom; use
performance. - Bisect and reflog mechanics; pair with
git-workflow.
Rules
- Reproduce before fixing, or record why reproduction is not yet possible. Capture the exact symptom: command, input, output, stack trace, timing, environment.
- One hypothesis at a time. Predict what else must be true, run the smallest experiment that confirms or refutes it, and change one variable per experiment. After the third experiment, keep a short debug log.
- Before editing, state the failure model: likely cause, evidence for it, and the observation that would disprove it. A fix you cannot explain is not a fix.
- The root cause is named in one sentence, explains every observed symptom, and names the evidence that ruled out the main alternatives.
- The fix is one atomic change aimed at that cause, with a regression test or operational guard that fails before and passes after.
- A flake is a bug. Identify whether the test, the code, or the environment failed; never retry it away.
- Timing-sensitive bugs are verified with non-invasive observation or replay, not by adding sleeps.
- Incidents produce blameless learning with owned, dated follow-ups. "Human error" is never the root cause.
- Unproven root-cause or fix claims are reported as unproven.
Tripwires
| Trigger | Do this instead | False alarm |
|---|---|---|
| "Probably X, let me try fixing" | Gather evidence that confirms X before editing. | The user asked for a speculative explanation, not a fix. |
| "No time to reproduce" | Create the smallest reproduction or state why it is blocked. | Production-only incident where logs and traces are the reproduction. |
| "One more guess and it'll work" | Stop editing. Collect a new observation that changes the model. | A syntax or wiring typo visible in the failing output. |
| "Fixed it locally, ship it" | Name the root cause and run the regression guard. | The local run is the requested diagnostic, not a completion claim. |
| "Flake, just retry" | Treat it as a bug and find which of test, code, or environment failed. | Infrastructure outage already confirmed outside the code under review. |
| "Probably a race condition" | Show interleaving, shared state, or timing evidence before touching concurrency code. | A failing sanitizer or trace already demonstrates the race. |
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.
- 2mo ago Changed · +8 tokens per session e79baed1f108
- 3mo ago Changed · -19 lines a14202f0cf76
- 3mo ago First seen · 82 lines · 20 tokens per session scan A e7fb12f9d4c8
debugging is a skill published in the GitHub repository kreek/consult (1 stars, last pushed 2mo ago), licensed MIT. It adds 28 tokens to every session and 713 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-31.
debugging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debuggingkreek/consult | Skill | 1 | 2mo ago | MIT | A | 28 | Codex |
| bug-fixkardebadas/claude-plugin | Skill | 3 | 17d ago | Apache-2.0 | A | 74 | Claude Code |
| bug-investigatekardebadas/claude-plugin | Skill | 3 | 17d ago | Apache-2.0 | A | 83 | Claude Code |
| diagnose-projectgaelic-ghost/socket | Skill | 12 | 3mo ago | Apache-2.0 | A | 39 | Claude Code |
| xcode-build-run-workflowgaelic-ghost/socket | Skill | 12 | 3mo ago | Apache-2.0 | A | 67 | Claude Code, Codex |
| xcode-debugger-mcp-workflowgaelic-ghost/socket | Skill | 12 | 3mo ago | Apache-2.0 | A | 70 | Claude Code, Codex |
| safari-mcp-workflowgaelic-ghost/socket | Skill | 12 | 3mo ago | Apache-2.0 | A | 48 | Claude Code, Codex |