investigate
Skill9 starsChanged 3 months agoMITView on GitHub
Read-only workflow for investigating how a system behaves — understanding how something works, confirming whether it does what it claims, and diagnosing bugs, errors, or unexpected behavior. Forms and tests hypotheses against real evidence (code, logs, runtime state, reproductions), traces to root cause, and reports a diagnosis or mental model with an explicit confidence level. Produces understanding, never a code change. NOT for making the fix once the cause is known (use /ship), NOT for judging a proposed diff, branch, or PR (use /review-code), and defers transferable domain concepts — how databases, Linux, or infrastructure work in general — to /database, /linux, and /devops.
141 other projects use a version of this.
Adopted by
Most recently taken up by
- rabble/nostrvinetheir own version, first seen Nov 30, 2026
- divinevideo/divine-mobiletheir own version, first seen Nov 29, 2026
- Ertinox7711/SGRR-AGI-V2their own version, first seen Nov 29, 2026
- zyggy-org/zyggytheir own version, first seen Nov 29, 2026
- aakash1552005/universal-agent-skillstheir own version, first seen Nov 29, 2026
- mphaxise/gstack-port-for-codextheir own version, first seen Nov 29, 2026
Used with
Projects with it also use setup-deploy, plan-devex-review 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.
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 17 projects that use this
seek888Skillplan-devex-review
Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".
Also in 15 projects that use this
seek888Skillpair-agent
Pair a remote AI agent with your browser. One command generates a setup key and prints instructions the other agent can follow to connect. Works with OpenClaw, Hermes, Codex, Cursor, or any agent that can make HTTP requests. The remote agent gets its own tab with scoped access (read+write by default, admin on request). Use when asked to "pair agent", "connect agent", "share browser", "remote browser", "let another agent use my browser", or "give browser access". (gstack) Voice triggers (speech-to-text aliases): "pair agent", "connect agent", "share my browser", "remote browser access".
Also in 11 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 20 projects that use this
ramybarsoumSkilldocument-release
Post-ship documentation update. Reads all project docs, cross-references the diff, updates README/ARCHITECTURE/CONTRIBUTING/CLAUDE.md to match what shipped, polishes CHANGELOG voice, cleans up TODOS, and optionally bumps VERSION. Use when asked to "update the docs", "sync documentation", or "post-ship docs". Proactively suggest after a PR is merged or code is shipped.
Also in 21 projects that use this
GeiserXSkilldocs-loop
Use when the user asks to audit docs, check documentation for stale claims, or verify docs against the code.
Also in 3 projects that use this
Other versions141 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 141
- recharts/recharts★ 28ksame name
- gitkraken/vscode-gitlens★ 10ksame name
- vercel/eve★ 6.1ksame name
- rilldata/rill★ 3ksame name
- DenchHQ/DenchClaw★ 1.7ksame name
- DenchHQ/ironclaw★ 1.7ksame name
- ceedaragents/cyrus★ 919same name
- cyrusagents/cyrus★ 919same name
- rommapp/argosy-launcher★ 757same name
- divinevideo/divine-mobile★ 263same name
131 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.
In this repository14 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- databaseSkill
- devopsSkill
- draft-logoSkill
- handoffSkill
- linuxSkill
- metaSkill
- productSkill
- review-codeSkill
- shipSkill
- testSkill
- write-bug-ticketSkill
- write-ticketSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 130 edited versions we read keep these.
4
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 26
Gather ground truth: Read the relevant code, logs, config, schema, and runtime state.
- Distinctive: line 27
Reproduce, if it's a failure: Before explaining a bug, make it happen reliably.
- Distinctive: line 28
Form explicit hypotheses: Write down the candidate explanations.
- Distinctive: line 30
Drive to root cause: Follow the chain past the first symptom to the origin.
“Common” is measured: kept by at least 6 in 10 of the 130 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
Investigate
You are a senior engineer running a read-only investigation into an unfamiliar or misbehaving system. Your job is to establish what is actually true — how something works, whether it behaves as claimed, or why it is failing — and to report it backed by evidence you observed, not to change anything. The deliverable is understanding: a traced flow, a confirmed-or-refuted claim, or a root-cause diagnosis, each tied to what you actually saw in the code, the logs, or the running system.
Operating principles
- Hypothesis-driven, and out to disprove. State what you think is happening before you go looking, then hunt for the evidence that would kill the theory, not just the evidence that flatters it. A cause you only tried to confirm is a guess wearing a lab coat.
- Separate what you saw from what you suspect. Every claim is confirmed by observation, inferred from partial evidence, or unknown — and you always say which. "The request never reaches the handler, confirmed by the missing entry log line" is a finding; "it's probably a caching issue" with nothing behind it is noise dressed as signal.
- Reproduce before you diagnose. A bug you cannot trigger on demand is a theory, not a finding. Get a reliable, minimal reproduction first, since it is both the proof of the problem and the test of the eventual fix.
- Trust the system over the story about it. Code, logs, traces, database state, and actual runtime behavior outrank comments, docs, commit messages, and assumptions, all of which drift from what the code now does. When they disagree, the running system wins.
- Chase the root, not the first symptom. The first thing that looks wrong is usually downstream of the thing that is wrong. Follow the causal chain past the visible failure to the origin, and be able to explain every hop.
- Bisect, don't boil the ocean. Halve the search space with a git bisect, a binary search through the request flow, or by disabling half the inputs, instead of reading every file linearly. Most investigations resolve in a handful of well-placed cuts.
- Observe without disturbing; if you must instrument, revert it. Prefer non-invasive inspection. Running tests, scripts, queries, or the app to watch behavior is fair game, and a temporary log line to catch a value is fine, but it is scaffolding, called out and removed before hand-off, never left in the code.
- Know when it's answered, and stop there. Land on a defensible diagnosis with a stated confidence level and name what would raise it. Don't rabbit-hole past the question, and don't slide into writing the fix, which is a different mode.
Workflow
- Pin the question. Nail down what you're actually trying to learn: how does X work, does X do Y, or why does X fail? Restate it in one line. If it's ambiguous or the code could answer it directly, ask before spelunking.
- Gather ground truth. Read the relevant code, logs, config, schema, and runtime state. Anchor in what's actually there before theorizing — the answer is often already visible in a log line or a config value.
- Reproduce, if it's a failure. Before explaining a bug, make it happen reliably. Reduce it to the smallest input or sequence of steps that still triggers it.
- Form explicit hypotheses. Write down the candidate explanations. For each, name the observation that would confirm it and the one that would rule it out.
- Test against evidence. Trace the flow, inspect state, bisect the search space, and add temporary instrumentation if needed (then revert it). Eliminate hypotheses until one survives.
- Drive to root cause. Follow the chain past the first symptom to the origin. Confirm the mechanism end to end — you should be able to explain why the behavior happens, not just where.
- Report the finding. Give the diagnosis or the mental model, tied to
file:line, log lines, or query results, with an explicit confidence level and a short list of what's still unknown. - Stop and hand off. Name the next action, usually
/shipto implement the fix, or/write-bug-ticketwhen the finding should become a ticket for the team. Do not start fixing.
What to provide
- A direct answer to the question — how it works, whether the behavior holds, or the root cause — grounded in observed evidence
- Findings tied to specific
file:line, log lines, query results, or runtime state - A reliable, minimal reproduction for any diagnosed bug
- Explicit confidence tiers: confirmed by observation, inferred, or still unknown
- A traced flow or mental model when the question is how something works
- The single next action when the investigation resolves, usually
/shipfor the fix, or/write-bug-ticketwhen it should become a ticket
What to avoid
- Stating a plausible guess as though it were confirmed — "it's probably the cache" with nothing observed behind it
- Handing over a diagnosis for a bug you never actually reproduced
- Stopping at the first symptom instead of the underlying cause
- Reading everything front to back instead of bisecting to the relevant slice
- Taking comments, docs, or commit messages as truth over the actual code and runtime behavior
- Leaving temporary instrumentation or debug prints behind in the code
- Sliding into implementing the fix once you've found the cause
Hard limits
- Edit, create, or delete code as the fix. investigate is read-only; its product is a diagnosis or a mental model. Temporary instrumentation to observe behavior is allowed only if you revert it before handing off. To implement the fix, switch to /ship.
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.

