Skip to content
Development
Skill

/meta-methodology-research-methodology

Investigation flow (Glob -> Grep -> Read), evidence-based research with file:line references, structured output format for AI consumption. Use for pattern discovery, implementation research, and codebase investigation.

From plugin
skills
26200 skills

Claude Code

$ npx -y skills add agents-inc/skills --skill meta-methodology-research-methodology --agent claude-code

SKILL.md

meta-methodology-research-methodology.SKILL.md
name: meta-methodology-research-methodology
description: Investigation flow (Glob -> Grep -> Read), evidence-based research with file:line references, structured output format for AI consumption. Use for pattern discovery, implementation research, and codebase investigation.

Research Methodology

> **Quick Guide:** Research hands another agent findings it can act on without repeating the search. Locate files by name, narrow by content, then read the files that carry the answer; every claim names the file, line range and symbol it came from, and a search that found nothing is reported together with the search. Two tool facts change what a result means. A search that returns nothing is not proof of absence: the Grep tool skips gitignored files, Glob's list is capped, and a long file's Read can come back partial. And on macOS, Linux and WSL, Claude Code leaves the Glob and Grep tools out of the default tool set, so the same steps run through `find` and `grep` in the shell.

**Detailed Resources:**

  • [examples/core.md](examples/core.md) — the search sequence, the evidence shape, the findings template, path and absence checks, scoping, progress notes, and a worked example
  • [reference.md](reference.md) — what each search tool skips and where it truncates, which tools a session has, and the pre-report checklist

---

Which path applies

  • **The instructions you are working under define a report shape** — fill that shape; this skill supplies the evidence each entry carries and the checks it passes.
  • **No report shape is given** — use the findings template in [examples/core.md](examples/core.md#pattern-3-structured-findings).

---

<critical_requirements>

Before reporting findings

**Open a file before its path or contents enter the findings.** A path inferred from convention is a guess, and the agent acting on it opens a file that is not there.

**Give every claim the file, line range and symbol it came from.** The range lets the reader check the claim in one read; the symbol lets them find it again once an edit has moved the lines.

**Report a search that found nothing together with the search.** An absence is only as strong as the pattern, path and filters behind it, and the reader can rerun those but not your conclusion.

**Leave the code as you found it while you investigate.** A change made mid-investigation alters the evidence, and the reader can no longer tell which state a claim was read from.

</critical_requirements>

---

**Auto-detection:** where is X defined, how does X work in this codebase, find similar implementations, catalogue the components / endpoints / commands, pattern discovery, codebase investigation, architecture investigation, API catalogue, file:line references, usage count, Files to Reference, research findings, Glob, Grep

**Applies to:**

  • Finding where a pattern lives and how consistently it is followed
  • Cataloguing what exists — components, APIs and endpoints, commands, configuration, architectural decisions
  • Finding the closest existing implementation before building something new
  • Writing findings another agent acts on without repeating the search

**Handled elsewhere:**

  • Making the change the findings point at — research ends at the location, and the implementation and its tests are a separate step
  • Judging whether the code is good — research reports what is there and how often; quality and security verdicts belong to review
  • Turning findings into a specification — scope and acceptance criteria belong to planning

---

<philosophy>

The reader of a finding did not watch the investigation. They cannot tell a claim that was read from one that was inferred, so the only claims worth handing over are ones they can check: a location, the code as it reads there, and the search that produced it. A finding they have to re-derive saved them nothing, and a wrong one costs more than none, because they build on it.

</philosophy>

---

<decision_framework>

Which search first

What do you already know?
├─ The symbol's name → its definition first (a language server's go-to-definition
│                      where one is running, else a search for the declaration),
│                      then its references
├─ Text the code contains → content search, scoped to the directory if known
├─ What the file would be called → name search, then read the likeliest match
└─ Nothing yet → list the top-level layout, then search by name

How far to go

The question sets the deliverable, and the deliverable sets the depth.

"How does X work?"          → X's flow: 2–3 exemplary files read end to end
"What exists for X?"        → a catalogue with counts; 1–2 files sampled
"Find similar to Y"         → the closest match, read completely
"How should I implement Z?" → the existing code to follow, in reading order
"Patterns for X?"           → several instances, and where they vary

When to stop

Is the question that was asked answered?
├─ NO  → keep going, inside the question
└─ YES → Does every claim carry a location you read?
         ├─ YES → report
         └─ NO  → read the file now, or drop the claim

</decision_framework>

---

<patterns>

Core patterns

Pattern 1: Locate, Narrow, Read

Find candidates by name, narrow them by content, then read the files that carry the answer. Each step is cheaper than the next, so the expensive reads land only on files already shown to matter.

Glob  "src/**/*error*"                    → 6 candidate files
Grep  "extends AppError" in src/ (count)  → 4 matches in 4 files
Read  src/errors/app-error.ts             → class AppError, lines 8–31

Where the session has no Glob or Grep tool, `find` and `grep` in the shell are the same two steps.

Full walk-through: [examples/core.md](examples/core.md#pattern-1-locate-narrow-read)

Pattern 2: Evidence-Based Claims

One claim, one location: the file, the line range, the symbol, the code as it reads there, and how many ins

Read more
@agents-inc
Ships withskills

The official skills marketplace for Agents Inc. 230+ skills covering everything from React and Prisma to Redis, ElevenLabs, and infrastructure tooling. Pick the skills that match your stack and install them via Claude Code. Need more control?

Stars on GitHub

Momentum

stars in total
26
Star history of agents-inc/skills on GitHub, a chart by star-history.com

Other skills on skills.

ai-infrastructure-litellm

ai-infrastructure-lite…

LiteLLM proxy server setup, TypeScript client patterns via OpenAI SDK, model routing, fallbacks, load balancing, spend tracking,…

@agents-inc@agents-incInstall Skill
ai-infrastructure-modal

ai-infrastructure-moda…

Serverless GPU compute platform for AI model deployment — web endpoints, GPU functions, model serving, and TypeScript client…

@agents-inc@agents-incInstall Skill
ai-infrastructure-ollama

ai-infrastructure-olla…

Local LLM inference with the Ollama JavaScript client -- chat, streaming, tool calling, vision, embeddings, structured output,…

@agents-inc@agents-incInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about meta-methodology-research-methodology.

Which coding agents can use meta-methodology-research-methodology?
meta-methodology-research-methodology installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.