agentleFS
SparduttiSpardutti/claude-skills/skills/research/SKILL.md

research

Skill3 starsChanged 3 months agoMITView on GitHub

MUST USE when asked to research, look up, investigate, or find out how something works — a library's API, a tool's config schema, a spec, a version's behaviour, 'what changed in X', 'does Y support Z' — and whenever you are about to state a fact about an external tool you have not opened this session. Enforces primary sources over recollection: route to the right lookup tool, follow every claim to the source that owns it, run the tool's own validator instead of guessing, and mark what stayed unverified.

187 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

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.
  • risadamsSkill

    which-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

  • AWSSkill

    wait-what

    Stop. That last message did not land: re-pitch it.

    Also in 62 projects that use this

  • AWSSkill

    wizard

    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

  • RoentekSkill

    writing-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

  • loulanyueSkill

    setup-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

  • pahwarangerSkill

    setup-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

The file

Show its rules and text

We split this skill into the rules it gives an agent

26 rules. 0 are common, 26 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 161 edited versions we read keep these.

  • 26

    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
  1. Distinctive:

    One investigation at a time: Follow a single thread, let each answer pick the next question.

    line 14
  2. Distinctive:

    If a secondary source is all you can find, say so and mark the claim

    line 52
  3. Distinctive:

    UNVERIFIED: Do not launder it into a fact by restating it confidently.

    line 53
  4. Distinctive:

    Every rule has a subject. Before you apply one, ask what it was said *about*.

    line 70
  5. Distinctive:

    When the doc's context and yours differ, you have a hypothesis, not a finding.

    line 71
  6. Distinctive:

    When the thing you are researching ships a validator, a dry-run, or a type check, run it.

    line 75
  7. Distinctive:

    When the answer is version-dependent, say which version it holds for.

    line 107
  8. Distinctive:

    When you contradict a document, say so explicitly and show the evidence.

    line 125
  9. Distinctive:

    Stop when any of these is true:

    line 153
  10. Distinctive:

    Do not keep reading to feel thorough.

    line 160
  11. Distinctive:

    If you are blocked — the doc does not cover it, the source is paywalled, the behaviour is undocumented — say that plainly and name the …

    line 162
  12. Distinctive:

    When you write one, put it where the repo already keeps notes — match the existing convention, and if there is none, say where you put it.

    line 173
  13. Distinctive:

    Never state a fact about an external tool from memory — open the source.

    line 182
  14. Distinctive:

    Always route to the owning tool before reaching for a web search.

    line 183
  15. Distinctive:

    Always use WebSearch to find the URL, then read the source itself.

    line 184
  16. Distinctive:

    Never cite a blog, forum answer, or summary as a primary source.

    line 185
  17. Distinctive:

    Always check what a rule was said *about* before applying it elsewhere.

    line 186
  18. Distinctive:

    Always run the validator, dry-run, or type check when one exists.

    line 187
  19. Distinctive:

    Always mark each claim VERIFIED, INFERRED, or UNVERIFIED.

    line 188
  20. Distinctive:

    Never present an inference as a finding.

    line 189
  21. Distinctive:

    Always name the experiment that would settle an unverified claim.

    line 190
  22. Distinctive:

    Never fan out parallel agents across one question — follow one thread.

    line 191
  23. Distinctive:

    Always stop once you reach the source that owns the fact.

    line 192
  24. Distinctive:

    Always establish the version before researching version-dependent behaviour.

    line 193
  25. Distinctive:

    Always trust observed behaviour over a document that contradicts it, and say which doc you contradict.

    line 194
  26. Distinctive:

    Always record negative results, not just what worked.

    line 195

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Research — Open the Source, Don't Recall It

The law: no factual claim about an external thing without a source you opened this session. Your training data has a cutoff and the tool shipped a release after it. A confident wrong answer costs more than the thirty seconds the lookup would have taken, because the user acts on it.

One investigation at a time. Follow a single thread, let each answer pick the next question. Do not fan out parallel agents across a question — five agents returning five partial reads is harder to reconcile than one careful pass.

Step 1 — Route to the tool that owns the answer

Reaching for a web search first is the common mistake. Most questions have a tool that holds the authoritative answer directly.

QuestionGo here first
Library or framework API, config, migrationContext7 (resolve-library-id, then query-docs)
This repo's history, PRs, issues, releasesgit log, git show, gh pr view, gh release view
A CLI's flags, subcommands, schemathe binary itself — <cmd> --help, <cmd> validate
An installed package's real behaviourread it in node_modules/ or site-packages/
A spec, RFC, or vendor docWebFetch the official URL
You don't know the URL yetWebSearch to find it, then WebFetch the source

WebSearch finds the door. It is not the room.

Step 2 — Primary sources only

A primary source is the one that owns the fact: the vendor's docs, the project's own source, the spec, the tool's own output.

BAD  — a 2024 blog post explaining a config format
BAD  — a Stack Overflow answer with 200 upvotes
BAD  — an LLM-written listicle summarising the docs
BAD  — your own memory of the docs
GOOD — https://code.claude.com/docs/en/plugins-reference
GOOD — the package's own README at the installed version
GOOD — `claude plugin validate .` printing the actual schema error

If a secondary source is all you can find, say so and mark the claim UNVERIFIED. Do not launder it into a fact by restating it confidently.

Step 3 — Read the scope of the rule, not just the rule

The most expensive research failure is not a missing source. It is reading a true statement and applying it where it does not hold.

BAD — the doc says declaring `commands` replaces the default scan,
      so declaring it in the marketplace entry will replace the scan.
GOOD — the doc says that about `plugin.json`. It says nothing about a
       marketplace entry. That is untested — verify it or mark it UNVERIFIED.

Every rule has a subject. Before you apply one, ask what it was said about. When the doc's context and yours differ, you have a hypothesis, not a finding.

Step 4 — Prefer the check over the read

When the thing you are researching ships a validator, a dry-run, or a type check, run it. Its output is a primary source and it cannot be misread.

claude plugin validate .        # the schema, from the thing that enforces it
tsc --noEmit                    # the compiler's opinion, not yours
alembic heads                   # the real migration state
<cmd> --help                    # the flags that exist at this version

Reading tells you what should be true. Running tells you what is.

Step 5 — Pin the version you are actually on

Documentation sites serve latest. You are not on latest. A flag that exists in the docs and not in your lockfile is a bug report waiting to happen.

# GOOD — find the version first, then research that version
node -p "require('./package.json').dependencies.react"
npm ls drizzle-orm
pip show fastapi
claude --version

Then read the installed copy, which cannot be the wrong version:

grep -rn 'export declare' node_modules/drizzle-orm/index.d.ts
python -c "import fastapi, inspect; print(inspect.getsourcefile(fastapi))"

When the answer is version-dependent, say which version it holds for. "Supported since 2.1.239" is a finding. "Supported" is a trap.

Step 6 — When sources disagree, behaviour wins

Docs go stale. The running tool does not.

BAD  — the docs say it replaces the default, so the observed behaviour
       must be a caching problem or a bad install.
GOOD — the docs say it replaces the default. Installing it shows all nine
       commands still loaded. The behaviour is the finding; the doc is
       either stale or scoped to a case that is not mine.

When you contradict a document, say so explicitly and show the evidence. A finding that quietly disagrees with the official docs and does not mention it will be overturned by the next person who reads them.

Step 7 — Mark every claim

Carry the confidence with the claim, in the answer and in any file you write.

  • VERIFIED — you opened the owning source, or ran the check. Cite it.
  • INFERRED — it follows from something verified, but nothing states it.
  • UNVERIFIED — you could not confirm it. Say what would confirm it.
BAD  — Plugins can scope commands per-entry.
GOOD — `plugin.json` `commands` replaces the default scan. **VERIFIED** —
       https://code.claude.com/docs/en/plugins-reference
       Whether a marketplace entry does the same is **UNVERIFIED** — the docs
       do not say. Confirm by installing one and listing loaded commands.

An answer with three verified claims and one honest gap is worth more than four claims that all sound equally certain.

Step 8 — Know when to stop

Stop when any of these is true:

  • You reached the source that owns the fact. That is the end, not a checkpoint.
  • Two independent primary sources agree.
  • You have followed the thread out and the remaining questions do not change what the user will do.

Do not keep reading to feel thorough. Report what you have with its marks.

If you are blocked — the doc does not cover it, the source is paywalled, the behaviour is undocumented — say that plainly and name the experiment that would settle it. Do not fill the gap with a plausible guess.

Step 9 — Write it down only if it will be re-read

Answer in chat  — a one-off lookup, a flag, a version number, a yes/no.
Write a file    — findings someone will act on later, or that cost real effort.

When you write one, put it where the repo already keeps notes — match the existing convention, and if there is none, say where you put it. One Markdown file, one citation per claim, marks included.

Record the negative results too. "We tried X, it does not work, here is the error" is the finding that stops the next person repeating the work.

Rules

  • Never state a fact about an external tool from memory — open the source.
  • Always route to the owning tool before reaching for a web search.
  • Always use WebSearch to find the URL, then read the source itself.
  • Never cite a blog, forum answer, or summary as a primary source.
  • Always check what a rule was said about before applying it elsewhere.
  • Always run the validator, dry-run, or type check when one exists.
  • Always mark each claim VERIFIED, INFERRED, or UNVERIFIED.
  • Never present an inference as a finding.
  • Always name the experiment that would settle an unverified claim.
  • Never fan out parallel agents across one question — follow one thread.
  • Always stop once you reach the source that owns the fact.
  • Always establish the version before researching version-dependent behaviour.
  • Always trust observed behaviour over a document that contradicts it, and say which doc you contradict.
  • Always record negative results, not just what worked.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.