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 slowdini/slow-powers --skill investigating-bugsgit clone --depth 1 https://github.com/slowdini/slow-powersWrote 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/slowdini/slow-powers/investigating-bugs)<a href="https://agentmods.dev/skills/slowdini/slow-powers/investigating-bugs"><img src="https://agentmods.dev/badge/skills/slowdini/slow-powers/investigating-bugs.svg" alt="Measured on agentmods" 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.00022 | $0.01140 |
| Opus 5 | $0.00011 | $0.00570 |
| Sonnet 5 | $0.00004 | $0.00228 |
| Haiku 4.5 | $0.00002 | $0.00114 |
Grade A, and why
investigating-bugs 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 8d 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 — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Investigating bugs
Avoid "guess-and-check" coding. Always identify the root cause before making changes.
THE IRON LAW: NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.
Violating the letter of the rules is violating the spirit of the rules.
REQUIRED PREREQUISITE: You must have already completed
slow-powers:working-in-isolation— debug from an isolated workspace.
REQUIRED BACKGROUND: You must understand
slow-powers:working-with-tdd— Phase 4 captures the bug with a failing test before fixing it.
Phase 1: root cause investigation
Complete these steps before changing any code:
- Read error messages and stack traces: Read every line of the error. Note the exact file, line number, and error codes.
- Reproduce consistently: Identify the exact steps, inputs, or environment needed to trigger the bug. If it cannot be reproduced, gather more logs instead of guessing.
- For flaky tests (pass sometimes, fail under load or only in CI), find the non-determinism before changing anything — don't rerun until it goes green. Arbitrary
sleep/timeout delays are one common cause (wait on the actual condition, not a guessed duration — see condition-based waiting); a dependency called a non-deterministic number of times or in a non-deterministic order is another. Read diagnosing flaky tests for the general diagnostic method and cause catalog.
- For flaky tests (pass sometimes, fail under load or only in CI), find the non-determinism before changing anything — don't rerun until it goes green. Arbitrary
- Check recent changes: Run
git diff. Analyze recent commits, dependency additions, or configuration changes. - Gather evidence in multi-component systems:
- Log inputs and outputs at every component boundary.
- Instrument the layers step by step (for example, workflow → build script → runtime → database) to pinpoint exactly where the state breaks.
- Trace data flow: Trace variables backward from the failure point to their source. Fix the bug at the source, not the symptom.
- When manual tracing dead-ends, instrument the suspect operation: log the key inputs, relevant environment, and a captured stack trace (
new Error().stack) just before it runs. In tests, write to stderr — a logger may be suppressed. Read the captured stack to find the original caller, then remove the instrumentation.
- When manual tracing dead-ends, instrument the suspect operation: log the key inputs, relevant environment, and a captured stack trace (
What ships with it
60 files 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.
- evals/baseline/BASELINE.md 1.0 KB
- evals/baseline/benchmark.json 19 KB
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r1.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r10.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r11.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r12.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r13.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r14.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r15.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r16.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r17.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r18.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r19.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r2.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r20.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r3.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r4.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r5.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r6.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r7.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r8.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__with_skill__r9.json 772 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r1.json 457 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r10.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r11.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r12.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r13.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r14.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r15.json 457 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r16.json 457 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r17.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r18.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r19.json 457 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r2.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r20.json 457 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r3.json 457 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r4.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r5.json 457 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r6.json 457 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r7.json 466 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r8.json 457 B
- evals/baseline/grading/pagination-drops-last-page-cold__without_skill__r9.json 466 B
- evals/baseline/NOTES.md 4.9 KB
- evals/baseline/PRE-REGISTRATION-ABLATION-PHASE-4-1.md 8.8 KB
- evals/baseline/PRE-REGISTRATION-LOWER-TIER.md 8.2 KB
- evals/baseline/PRE-REGISTRATION-P1-REPLICATION.md 4.2 KB
- evals/baseline/PRE-REGISTRATION.md 12 KB
- evals/COVERAGE.md 7.5 KB
- evals/evals.json 16 KB
- evals/fixtures/chunk-pagination/chunk.ts 290 B runs code
- evals/fixtures/chunk-pagination/formatBytes.fixture.ts 642 B runs code
- evals/fixtures/chunk-pagination/formatBytes.ts 382 B runs code
- evals/fixtures/chunk-pagination/holdout/correctness.holdout.ts 771 B runs code
- evals/fixtures/chunk-pagination/holdout/pristine/chunk.ts 290 B runs code
- evals/fixtures/chunk-pagination/holdout/verify-regression-test.sh 2.5 KB runs code
- evals/fixtures/chunk-pagination/package.json 61 B
- evals/fixtures/flag-cache-pollution/featureFlags.ts 411 B runs code
- evals/fixtures/flag-cache-pollution/flags.fixture.ts 562 B runs code
- evals/fixtures/flag-cache-pollution/package.json 65 B
- evals/fixtures/tz-date-only/display.ts 405 B runs code
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.
- 8d ago First seen · 88 lines · 22 tokens per session scan A 12f4854830ce
investigating-bugs is a skill published in the GitHub repository slowdini/slow-powers (2 stars, last pushed 24d ago), licensed MIT. It adds 22 tokens to every session and 1,140 once invoked, about $0.0001 per session on Opus 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.
Other skills, from other repositories
oracle-debug
Disciplined debugging methodology. Triggers on bug reports, test failures, "debug this", "diagnose this", unexpected behavior, build failures, integration issues, or performance regressions. Find root cause before a permanent corrective fix; contain urgent harm safely first.
swc-plugin-compatibility
Diagnose and fix Lingui SWC plugin compatibility errors with Next.js, Vite, Rspack, or other SWC runtimes. Use when seeing errors like "failed to invoke plugin", "failed to run Wasm plugin transform", "out of bounds memory access", or "LayoutError" during builds with @lingui/swc-plugin — or when macros are silently…
fix
Fix issues end-to-end across data pipelines (Airflow/dbt), app stack (backend/frontend), and infra (CI/CD, Terraform, K8s). Scout → diagnose → apply at root cause → verify with fresh evidence → add regression guard. Use for failing DAGs, dbt test failures, 5xx, UI regressions, GH Actions failures, terraform drift…
debug
Debug systematically across software, data pipelines, infrastructure, and analytics. Find root cause and produce verified evidence - for bugs, test failures, CI/CD breakage, K8s/Cloud incidents, dbt/Airflow pipeline failures, schema drift, freshness violations, dashboard wrong-numbers, and performance issues.…
scenario
Generate comprehensive edge cases and test scenarios by decomposing a feature or file across 12 risk dimensions, or blast-radius review a change with --diff: what breaks beyond the diff, proven by running real code. Use for pre-implementation risk discovery, QA planning, regression design, exhaustive edge-case…
triage-issue
Invoked helper skill for deep bug diagnosis, usually delegated from /qa when a reported issue needs root-cause analysis and a TDD fix plan before implementation. Use when the cause is unclear, the bug is a regression, or the user explicitly wants diagnosis. Not for lightweight QA intake (use /qa) or already-clear…