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 synaptiai/synapti-marketplace --skill debugging-patternsgit clone --depth 1 https://github.com/synaptiai/synapti-marketplaceWrote 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/synaptiai/synapti-marketplace/debugging-patterns)<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/debugging-patterns"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/debugging-patterns/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/synaptiai/synapti-marketplace/debugging-patterns"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/debugging-patterns.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.00090 | $0.00981 |
| Opus 5.5 | $0.00036 | $0.00392 |
| Sonnet 5.5 | $0.00018 | $0.00196 |
| Haiku 4.5 | $0.00009 | $0.00098 |
Grade A, and why
debugging-patterns 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 — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Debugging Patterns
Contract
Iron law: find and prove the root cause before attempting any fix; a symptom fix is a failure. Invoked by /flow:debug Phases 1–3 (evidence → hypotheses → fix), by /flow:start and /flow:resolve on demand whenever a build, test, server-start, smoke, E2E, or visual step fails (no bug label required), and by the error-handler-inspector agent. Returns the confirmed root cause with evidence, the hypothesis table with each result, a reproducing test that failed before the fix and passes after, and a full-suite run with no regressions. Permitted skips: none — a clear error message shortens the investigation (one or two hypotheses) but never removes the reproducing test.
Evidence Before Theory
Read the full error message and stack trace first — never skim, never start with "let me understand the code." Then git log --oneline -10 and git diff HEAD~3..HEAD --stat for recent changes. Reproduce the failure; if you cannot reproduce it you cannot verify a fix. Trace backward from the error, checking inputs, API responses, and config values at each boundary, and only then read code.
Hypothesis Discipline
Form at most debugging.maxHypotheses (default 3) hypotheses at a time. More means insufficient evidence — return to evidence gathering. Create one task per hypothesis:
TaskCreate("Hypothesis 1: {theory}", "Confidence: High\nTest: {specific test}\nEvidence: {what points here}")
Rules:
- Test highest confidence first, ONE at a time — never change two things simultaneously.
TaskUpdate(status: "in_progress")before testing;TaskUpdate(status: "completed")after, recording confirmed or disproven. A disproven hypothesis is progress.- Write all hypotheses down before testing any, and actively seek disconfirming evidence for the leading one.
- Before blaming the last change, check whether the bug predates it (
git stash && test). Check simple causes (typo, wrong variable, off-by-one) before elaborate ones.
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 90c2906ecfce
- 2mo ago Changed · -73 lines bf955b4b625d
- 3mo ago First seen · 138 lines · 90 tokens per session scan A a841847094a0
debugging-patterns is a skill published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 90 tokens to every session and 981 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-09-03.
debugging-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| debugging-patternssynaptiai/synapti-marketplace | Skill | 9 | today | Apache-2.0 | A | 90 | Claude Code |
| performance-profilingconorluddy/xclaude-plugin | Skill | 189 | 1mo ago | MIT | A | 52 | Claude Code |
| crash-debuggingconorluddy/xclaude-plugin | Skill | 189 | 1mo ago | MIT | A | 61 | Claude Code |
| debugjsmastery-pro/skills | Skill | 1.7k | 3mo ago | MIT | A | 74 | Claude Code, Codex |
| x-bug2ragKtKID/x-dev-pipeline | Skill | 12 | 3d ago | MIT | A | 255 | Claude Code, Codex |
| x-code-auditKtKID/x-dev-pipeline | Skill | 12 | 3d ago | MIT | A | 387 | Claude Code |
| x-crKtKID/x-dev-pipeline | Skill | 12 | 3d ago | MIT | A | 238 | Claude Code |