investigate
Skill1 starsChanged 5 months agoMITView on GitHub
Use when a failure's cause is unknown — a bug, a failing test, "why is this broken", "it worked yesterday", a tripped circuit breaker (3 failed fixes), or any moment a fix is about to be attempted without a reproduced root cause.
74 other projects use a version of this.
Adopted by
Most recently taken up by
- skycmoon/skillstheir own version, first seen Oct 6, 2026
- ku5ic/claude-kittheir own version, first seen Oct 6, 2026
- lohi-ai/babysittheir own version, first seen Oct 5, 2026
- blas1n/claude-skillstheir own version, first seen Oct 4, 2026
- HanksChen0110/skillstheir own version, first seen Oct 3, 2026
- linchpin/skillstheir own version, first seen Oct 2, 2026
Used with
Projects with it also use qa-only, document-release and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AICreator-WindSkillqa-only
纯 QA 报告工具。只生成 bug 报告,不修复。
Also in 10 projects that use this
AICreator-WindSkilldocument-release
技术作家工具。更新项目文档。
Also in 9 projects that use this
ayudaySkillcso
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".
Also in 7 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 7 projects that use this
Kit4SomeSkillunfreeze
Also in 8 projects that use this
CodeWithBehnamSkillsetup-browser-cookies
Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.
Also in 7 projects that use this
- +4 more from AICreator-Wind
- +1 more from ayuday
Other versions74 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 74
- vercel/eve★ 5.5ksame name
- cyrusagents/cyrus★ 846same name
- blueberrycongee/termcanvas★ 406same name
- Houseofmvps/ultraship★ 123same name
- no-session/pstack★ 122same name
- mr-daedalium/ostack-saas★ 114same name
- Dimon94/skills★ 107same name
- dlupiak/claude-session-dashboard★ 71same name
- alamops/skills★ 52same name
- AICreator-Wind/gstack-openclaw-skills★ 44same name
64 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 64 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Update it as you go — a fresh session must be able to continue from the file alone.
- Distinctive: line 46
Trace, don't guess: follow the data from where it's right to where it's wrong.
“Common” is measured: kept by at least 6 in 10 of the 64 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Potion Investigate
Inherit ${CLAUDE_PLUGIN_ROOT}/core/CORE.md. The gap flywheel handles KNOWN
gaps; this skill exists for unknown causes — including the moment a circuit
breaker trips and hands you a mystery.
The Iron Law
NO FIX WITHOUT A REPRODUCED ROOT CAUSEA fix applied to an unreproduced bug is a guess wearing a fix's clothing. If you cannot make it happen on demand, you cannot know you made it stop.
The session file — investigations survive compaction
Investigations burn context and die at /clear. First act: create
.potion/debug/{slug}.md:
## Symptom {exact error/behavior, verbatim — plus how to reproduce}
## Evidence {facts observed, with commands and output — append-only}
## Hypotheses {each: statement → test that would falsify it → result}
## Eliminated {hypotheses killed, and by what evidence}
## Root cause {empty until PROVEN — reproduced on demand, mechanism explained}Update it as you go — a fresh session must be able to continue from the file alone. Delete it (or move the conclusion to learnings) when closed.
Method
- Reproduce first. Make the failure happen on demand. Can't reproduce → that's the investigation, not a blocker to skip. Done when: Symptom holds a command (or steps) that triggers the failure on demand.
- Read the actual error. The full text, the stack, the line — pasted verbatim into Evidence. Not the vibe.
- One hypothesis at a time, cheapest test first. Every test's result goes in Evidence — including the boring ones; eliminated hypotheses are progress.
- Trace, don't guess: follow the data from where it's right to where it's wrong. Done when: the session file names the boundary — the bug's home.
- Root cause proven → fix it (smallest change that kills the mechanism),
re-run the reproduction to watch it stop, then
/potion:learn— a root cause that took >5 minutes is automatically above the logging bar, and if it can recur, promote acheck.
Breaker inherited from CORE: 3 falsified hypotheses in a row on the same theory → the theory is wrong, not the tests. Zoom out one level (component → architecture) or escalate with the session file.
Red flags
| Thought | Reality |
| "I'm pretty sure it's X, let me just fix it" | Prove it or it's a guess. Guesses ship new bugs. |
| "I can't reproduce it, but the fix is obvious" | Then you can't know the fix worked. Reproduce first. |
| "Just one quick fix before investigating properly" | The quick fix IS the thrashing. Session file first. |
| "The error message is misleading" | Maybe. Evidence decides that, not intuition. |
Exit
Root cause + fix + reproduction-now-passes evidence, learning logged. Or: session file handed to the user with hypotheses eliminated and next tests named.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

