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 znlgis/my-opencode-deepseek-config --skill diagnosing-bugsgit clone --depth 1 https://github.com/znlgis/my-opencode-deepseek-configWrote 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/znlgis/my-opencode-deepseek-config/diagnosing-bugs)<a href="https://agentmods.dev/skills/znlgis/my-opencode-deepseek-config/diagnosing-bugs"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/diagnosing-bugs/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/znlgis/my-opencode-deepseek-config/diagnosing-bugs"><img src="https://agentmods.dev/badge/skills/znlgis/my-opencode-deepseek-config/diagnosing-bugs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00047 | $0.00695 |
| Opus 5 | $0.00023 | $0.00347 |
| Sonnet 5 | $0.00009 | $0.00139 |
| Haiku 4.5 | $0.00005 | $0.00069 |
Grade A, and why
diagnosing-bugs 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 5d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
2. A `curl`/HTTP request against a running instance How it starts
The opening of the file, as written. The whole thing — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnosing Bugs
Debugging is a discipline, not a guessing game. The single most important rule: build a tight, red-capable feedback loop BEFORE you theorize. No hypothesis is worth anything until you have a command that reproduces the failure and turns red when it is present.
Phase 1 — Build a red-capable feedback loop
Do not theorize yet. Construct the fastest command that reproduces the failure and fails (turns red) when the bug is present. This is the skill.
Construction options, in priority order:
- A failing test that exercises the bug
- A
curl/HTTP request against a running instance - A CLI fixture or script that drives the code path
- A headless-browser interaction (UI bugs)
- A replay of a recorded trace
- A throwaway harness that calls the suspect function directly
- A property/fuzz check that asserts the invariant
- A bisection script over inputs or commits
- A differential check against a known-good reference
- A human-in-the-loop bash command (last resort)
Then tighten it: strip it to the smallest input that still turns red, and make it run in seconds, not minutes.
Completion criterion: you have a command that reproduces the failure and turns red. Do not proceed until this exists.
Phase 2 — Reproduce and minimise
Run the loop to confirm it reproduces reliably. Minimise the failing input and the code path until you cannot remove anything without the failure disappearing.
Completion criterion: the failure reproduces on the minimal input.
Phase 3 — Hypothesise
Generate 3-5 falsifiable hypotheses about the root cause. Rank them by likelihood and by how cheap each is to test. Each must be stated so that a specific experiment could disprove it.
Completion criterion: a ranked list of falsifiable hypotheses.
Phase 4 — Instrument
Test hypotheses one at a time. Change one variable per experiment. When you add debug output, tag it so cleanup is a single grep:
[DEBUG-<hex>] <what you are observing>
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.
- 5d ago First seen · 84 lines · 47 tokens per session scan A cf4078c5a273
diagnosing-bugs is a skill published in the GitHub repository znlgis/my-opencode-deepseek-config (57 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 695 once invoked, about $0.0002 per session on Opus 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-09-03.
Other skills, from other repositories
qa-expert
Expert-level quality assurance, testing strategies, automation, and QA processes. Use when the user mentions testing, test automation, quality assurance, or Selenium, or when the task involves Testing Types, QA Processes, Test Strategy, or Defect Management.
qa-testing
Verify your work by actually operating the app or website you changed, instead of assuming it works. Strongly recommended whenever you build, modify, or debug a web app, website, or desktop GUI app. Drive real browsers with the agent-browser CLI and native desktop apps with the cua-driver CLI. These are installed on…
agent-browser
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
reality-verification
This skill should be used when the user asks to "verify a fix", "reproduce failure", "diagnose issue", "check BEFORE/AFTER state", "VF task", "reality check", "check test quality", "mock-only tests", or needs guidance on verifying fixes by reproducing failures before and after implementation, or detecting mock-heavy…
testing-blocks
Use this when you have made AEM Edge Delivery Services code changes to blocks, scripts, or styles and need to validate them before opening a pull request. Covers unit testing for utilities and logic, browser testing with Playwright, linting, and guidance on what to test and how.
test-electron-app
Drive the real running PostHog Electron app (live tRPC, workspace-server, real data) over CDP with agent-browser. Connect to the running app on port 9222, test desktop changes against a local Django stack, snapshot the accessibility tree, inspect network requests, and screenshot only when explicitly asked. Use when…