research
Skill447 starsChanged 5 months agoApache-2.0View on GitHub
Trace code or test a recurring pattern to answer one cited question. Use when: uncertainty needs evidence. Not for external feature teardowns; use reverse-engineer.
187 other projects use a version of this.
Adopted by
Most recently taken up by
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- mariagorskikh/open-instincttheir own version, first seen Oct 5, 2026
- AlexisBalayre/claude-code-configtheir own version, first seen Oct 5, 2026
- KroxiDev/engineering-skillstheir own version, first seen Oct 5, 2026
- michielvandermeer/skillstheir own version, first seen Oct 4, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
Used with
Projects with it also use which-skill, wait-what 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.
risadamsSkillwhich-skill
Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.
Also in 6 projects that use this
AWSSkillwait-what
Stop. That last message did not land: re-pitch it.
Also in 62 projects that use this
AWSSkillwizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
Also in 66 projects that use this
RoentekSkillwriting-beats
Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.
Also in 23 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 16 projects that use this
pahwarangerSkillsetup-skills
Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's ticket tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-tickets`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the ticket tracker, triage labels, or domain docs.
Also in 8 projects that use this
- +4 more from aws
Other versions187 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 187
- mattpocock/skills★ 335ksame name
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- openai/plugins★ 7.3ksame name
- docker/docs★ 4.7ksame name
- vinvcn/mattpocock-skills-zh-CN★ 4.6ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- crbnos/carbon★ 2.7ksame name
- Weizhena/Deep-Research-skills★ 2.3ksame name
- skyllwt/AutoSci★ 1.7ksame name
- JuliusBrussee/cavekit★ 1.1ksame name
177 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 repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-nativeSkill
- agy-nativeSkill
- codex-execSkill
- councilSkill
- craft-goalSkill
- docSkill
- domainSkill
- idea-genieSkill
- implementSkill
- interviewSkill
- memorySkill
- navigateSkill
- orchestrateSkill
- planSkill
- postmortemSkill
- premortemSkill
- reality-checkSkill
- refactorSkill
- reverse-engineerSkill
- reviewSkill
- rpiSkill
- securitySkill
- skill-builderSkill
- skill-evalSkill
- testSkill
- using-gcSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 3 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 161 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 71
Follow a relevant flow through entry, domain logic, integration and tests.
- Very specific: line 78
When a durable codebase-recon.v1 pack is selected, its stricter contract applies:
- Very specific: line 80
Write codebase-recon.json and a cited codebase-recon.md companion at the caller's chosen location, default …
- Distinctive: line 82
Keep mental model, bounded audit, pattern evidence and synthesis distinct.
- Very specific: line 94
Prefer a verified delta when it answers the request.
- Very specific: line 97
Run skills/research/scripts/codebase-recon/validate-output.sh --repo-root <target> <recon.json> before handoff.
- Very specific: line 118
Every invariant needs supporting alignment.
- Distinctive: line 144
Use only authorized sources and destinations.
“Common” is measured: kept by at least 6 in 10 of the 161 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
Research
Answer the caller's bounded question with cited evidence. Choose ordinary investigation, repository tracing or pattern evidence according to the question; these are optional modes, not a sequence. A quick answer needs no report file. Plan owns unified discovery and resumption when the question is part of shaping a change; return this cited answer to that existing intent without restarting its interview or taking over caller choices.
Investigation
- State the question and the decision it informs. Reuse the accepted scope and identify what evidence would answer it; do not expand the objective mid-search.
- Inspect the smallest relevant sources. For changing external facts, use current primary sources. Verify search hits against the actual source.
- Distinguish observation, inference, contradiction and unknown. Every material claim cites evidence; source agreement does not erase shared provenance.
- Lead with the answer, then show evidence and remaining gaps. Each part of the question is answered or explicitly unknown with the searched scope disclosed.
Code claims cite the observed commit plus file:line. For uncommitted content,
state HEAD and the changed-file status; do not claim the working bytes can be
replayed from HEAD. Keep source identity and freshness visible. Search output,
CASS, MS and prior reports are leads, not authority or required phases. Use the
current agent by default; additional readers and runtimes require caller
selection or existing authorization.
For several supplied reports, retain each source's identifier, author/runtime when known and revision/date. Compare claims as agreement, contradiction or unknown while preserving their original evidence. Repeated quotations of one upstream source are not independent corroboration. Verify decisive claims at their source and return one synthesis; do not launch recursive synthesis passes.
Repository tracing
For a repository model or audit, start from its declared entry points in docs, build manifests or command help and verify them against executable paths. Follow a relevant flow through entry, domain logic, integration and tests; prefer a completed trace to a shallow directory inventory. Report an interrupted trace at its exact file/line and explain what is missing. Choose a useful lens such as persistence, authorization, CLI, build or test without requiring a sweep of every lens.
An inline investigation may use dirty working-tree evidence with explicit limits.
When a durable codebase-recon.v1 pack is selected, its stricter contract applies:
- Write
codebase-recon.jsonand a citedcodebase-recon.mdcompanion at the caller's chosen location, default.agents/scratch/codebase-recon/<run-id>/. Keep mental model, bounded audit, pattern evidence and synthesis distinct. - Bind the exact current full commit OID, at least one complete baseline flow, claims with kind, confidence and evidence, and inspected/uninspected scope. Fact and inference citations resolve to repository-relative regular files at that commit; the companion report includes line references. Unknowns remain explicit.
- The manifest
reportnames the companion and its lowercase SHA-256. The companion has one<!-- codebase-recon-report.v1 -->marker andmanifest_commit,manifest_mode,flows_sha256,claims_sha256, andcoverage_sha256markers; section digests hash thejq -cSoutput for each section, including its trailing newline. - Discover validated priors with
skills/research/scripts/codebase-recon/validate-output.sh --repo-root <target> --discover-priors. Prefer a verified delta when it answers the request. Delta evidence needs a valid ancestor chain,baseline_verified: trueand the exact changed paths between the prior and current commits; do not relabel a directory scan as delta. - Run
skills/research/scripts/codebase-recon/validate-output.sh --repo-root <target> <recon.json>before handoff. It checks both artifacts and rechecks their identities, HEAD and source state; dirty source outside.agents/cannot satisfy this commit-bound pack. Return a validation failure without disguising it as a completed recon pack.
Preserve earlier .agents/recon/<run-id>/ packs and their exact cited identities.
Prior discovery checks both legacy and current roots; never move or delete old
proof to match a new layout. See the recon scenarios.
Pattern evidence
For a recurring implementation shape, test whether the similarity represents a reusable rule. Record replayable searches, examined hits and exclusions. Align independent implementations by their role in the behavior, then separate required invariants, legitimate variation and incidental syntax. Copies of one lineage do not count as independent evidence.
A pattern-mining.v1 promotion needs at least three distinct anchored exemplars,
a candidate formed before inspecting a separate holdout, a passing holdout and
successful back-application of every refinement to the original exemplars.
Every invariant needs supporting alignment. Otherwise preserve the result as
outcome: hypothesis with route: no-action; do not package weak evidence as a rule.
For this selected durable mode, write pattern-mining.json to
.agents/scratch/pattern-mining/<run-id>/ or an authorized caller location and
run skills/research/scripts/pattern-mining/validate-output.sh <pattern.json>.
Preserve the schema's outcome, exemplars, invariants, variations,
incidental, holdout, back_application and route fields. The compatibility route
value operationalize on a valid promotion refers to
Skill Builder's distillation mode;
it is not a retired skill invocation or automatic dispatch.
Recommend the least committed useful shape: no action, a reference/checklist line, a template, helper or gate. A gate needs demonstrated cost of violation, not merely recurrence. Research returns evidence; adoption remains an explicit caller decision. See pattern scenarios.
Output and boundaries
Return a cited answer directly unless a durable output was requested or the
selected evidence contract requires one. Ordinary durable reports follow
findings.json: question, scope, answer, evidence,
contradictions, unknowns, checked and unchecked areas. Multi-report synthesis
also retains source_ledger and comparison. Selected recon and pattern modes
retain their own validated formats instead of forcing them into this schema.
Use only authorized sources and destinations. For restricted or mined episode material, follow Memory's access and storage boundary. Research selects no work, owns no merged context store, mutates no lifecycle state and issues no semantic verdict. The native caller owns implementation, judgment and completion of the authorized outcome.
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.

