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 MageByte-Zero/spec-superflow --skill bug-investigatorgit clone --depth 1 https://github.com/MageByte-Zero/spec-superflowWrote 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/magebyte-zero/spec-superflow/bug-investigator)<a href="https://agentmods.dev/skills/magebyte-zero/spec-superflow/bug-investigator"><img src="https://agentmods.dev/badge/skills/magebyte-zero/spec-superflow/bug-investigator/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/magebyte-zero/spec-superflow/bug-investigator"><img src="https://agentmods.dev/badge/skills/magebyte-zero/spec-superflow/bug-investigator.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.00037 | $0.00982 |
| Opus 5.5 | $0.00015 | $0.00393 |
| Sonnet 5.5 | $0.00007 | $0.00196 |
| Haiku 4.5 | $0.00004 | $0.00098 |
Grade A, and why
bug-investigator 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 1mo 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.
Bug Investigator
Bundled runtime
Before executing a CLI line below, replace its leading SSF with node "<plugin-root>/scripts/spec-superflow.mjs"; <plugin-root> is the absolute directory two levels above this file. Never run SSF literally or call an ssf from PATH.
Workflow routing
A new request follows this file without loading legacy instructions. For an existing change, inspect the recorded state and receipt/plan (available through SSF workflow show <change-dir> --json and SSF execution show <dir> --json when needed). Current paths are workflow_variant: direct with a valid workflow-selection receipt schema_version: 3, or workflow_variant: planned with an execution plan schema_version: 2. Older receipts (schema 1/2), legacy plans and other recorded variants use the matching section of SSF runtime asset read docs/legacy-workflow.md; follow that section for this change. A direct variant alone is insufficient: legacy Quick/Hotfix/Lightweight can also record it. The internal workflow: full value alone is not a legacy signal. Missing or corrupt state, receipt or a required plan is a recovery problem; preserve evidence rather than reinitialize or downgrade the change.
Core principle: Find root cause before attempting fixes. Symptom fixes are failure.
New direct/planned changes
Investigate in executing without a phase transition or a separate debug ledger: reproduce, trace the root cause, make one focused repair and verify. Keep useful failure evidence in the existing progress entry. Three failures for the same unresolved issue warrant a decision; unrelated findings do not accumulate a shared budget. No task book or subagent is required.
The Iron Law
No fixes without root cause investigation first. If you haven't completed Phase 1, you cannot propose fixes.
When to Use
Use for ANY technical issue: test failures, bugs, unexpected behavior, performance problems, build failures, integration issues. Especially when under time pressure, "one quick fix" seems obvious, you've already tried multiple fixes, or you don't fully understand the issue.
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.
- 1mo ago Changed · -45 lines 9955b018bcaa
- 2mo ago Changed · +4 lines 509e77e10f52
- 2mo ago Changed · -29 lines b0648d1228c0
- 2mo ago Changed f2c8e206bacb
- 3mo ago First seen · 135 lines · 37 tokens per session scan A ea8d42c88c6f
bug-investigator is a skill published in the GitHub repository MageByte-Zero/spec-superflow (922 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 982 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-30.
bug-investigator compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bug-investigatorMageByte-Zero/spec-superflow | Skill | 922 | 2d ago | MIT | A | 37 | Claude Code |
| systematic-debuggingjnMetaCode/superpowers-zh | Skill | 8.7k | 2d ago | MIT | A | 24 | Claude Code |
| diagnosing-superpowersjnMetaCode/superpowers-zh | Skill | 8.7k | 2d ago | MIT | A | 111 | Claude Code |
| backpropJuliusBrussee/cavekit | Skill | 1.2k | 16d ago | MIT | A | 76 | Claude Code |
| checkJuliusBrussee/cavekit | Skill | 1.2k | 16d ago | MIT | A | 102 | Claude Code |
| critical-reviewyeisonrestrepo/code-conductor | Skill | 22 | today | MIT | A | 30 | Claude Code, Codex |
| cc-debugyeisonrestrepo/code-conductor | Skill | 22 | today | MIT | A | 27 | Claude Code, Codex |