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 agentmods add skills/kasuken/github-copilot-superpowers/investigation-modenpx skills add kasuken/github-copilot-superpowers --skill investigation-modegit clone --depth 1 https://github.com/kasuken/github-copilot-superpowersWrote 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/kasuken/github-copilot-superpowers/investigation-mode)<a href="https://agentmods.dev/skills/kasuken/github-copilot-superpowers/investigation-mode"><img src="https://agentmods.dev/badge/skills/kasuken/github-copilot-superpowers/investigation-mode.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 | $0.00045 | $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
investigation-mode 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 4d 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 — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Investigation Mode
Overview
This skill provides a hard stop and a repeatable workflow when progress stalls or errors repeat. It prevents “random walk” fixes and forces evidence-first debugging.
Use when...
- There are 2+ consecutive failures/errors in the same feature or approach
- The same error comes back after “fixes”
- There is temptation to “just workaround” or change approach silently
- The problem statement is unclear and implementation would be guesswork
Symptoms / keywords
- “stuck”, “still failing”, “same error”, “again”, “flaky”, “intermittent”, “can’t reproduce”, “works on my machine”
- “quick workaround”, “let’s just do it manually”, “skip validation”, “good enough”
- CI-only failures, nondeterministic tests, repeating TypeScript/build/lint errors
Rules (verbatim triggers)
Failure response rules
- 2+ consecutive failures: Switch to investigation mode
- Ask before: Using workarounds or alternatives
- Explain: Why original approach failed
- Options: Use
task-direction-approval(2–3 options + trade-offs; ask user when changing direction).
Core: Respect user's original intent. When stuck, find proper solutions rather than taking shortcuts.
After 2 consecutive errors in same feature
- 🛑 PAUSE - Stop implementation immediately
- 🔍 INVESTIGATION MODE - Switch focus to root cause analysis
- 📖 Deep Research - Dispatch a research subagent to execute web fetch for official docs, RFCs, known issues and return a cited Context Package
- 🧠 Sequential-thinking - Analyze fundamental misunderstanding
- 🧪 Test First - Write comprehensive tests before continuing
Declare mode switch: "🔍 INVESTIGATION MODE: Pausing to research root cause"
Workflow
- Freeze changes: stop making further edits that are not evidence-driven.
- Capture evidence: record the exact error text, stack traces, logs, and minimal repro steps.
- Constrain scope: isolate the smallest failing unit (single test, single endpoint, single build step).
- Run root cause analysis:
- REQUIRED SUB-SKILL: Use
root-cause-tracingfor systematic isolation techniques. - Use
uncertainty-verificationwhen the fix depends on exact tool/library behavior.
- REQUIRED SUB-SKILL: Use
- Propose options: Use
task-direction-approval(2–3 options + trade-offs). - Ask approval if direction changes:
- REQUIRED SUB-SKILL: Use
task-direction-approvalwhen switching library/tool/architecture or replacing automation with manual workaround.
- REQUIRED SUB-SKILL: Use
- Resume only after selecting a plan and (when applicable) verifying it with a small test.
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.
- 4d ago First seen · 64 lines · 45 tokens per session scan A 8c12d70207ef
investigation-mode is a skill published in the GitHub repository kasuken/github-copilot-superpowers (16 stars, last pushed 6mo ago), licensed MIT. It adds 45 tokens to every session and 695 once invoked, about $0.0002 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-30.
Other skills, from other repositories
maintenance-create-ticket-on-jira
Create or update a Jira ticket for a workload maintenance upgrade, based on maintenance upgrade check files.
jenkins-cli
Perform Jenkins operations using the jenkins-cli.
maintenance-check-aws-eks
Check everything that can be upgraded for maintenance across an AWS EKS Kubernetes cluster and output a decision file with Jira-formatted tickets for any required upgrades.
create-terraform-helm-upgrade-plan
Create a detailed upgrade plan for a Helm release managed by Terraform, comparing the current and desired chart versions including breaking changes and required code changes.
code-review
Analyze code changes between two local Git branches and perform a comprehensive code review. Use ONLY for local git branch comparisons. Do NOT use when a GitLab or GitHub MR/PR URL or MR ID is provided — use gitlab-cli or github-cli skill instead.
commit-code
Analyze code changes to prepare conventional commit message and commit to a new branch.