PluginBench
Skill
Pass
Audit score 90

research

warpdotdev/common-skills

Delegate noisy investigation to subagents to keep your context clean and focused.

What is research?

Research is a skill for delegating information-gathering tasks to subagents so that file reads, logs, and noise never clutter your own context. Use it when answering a question would require reading many files, long logs, diffs, or surveying a codebase—situations where the answer is far smaller than the investigation cost.

  • Spawn local subagents to investigate questions independently while you stay focused
  • Receive distilled answers with supporting evidence (file paths, symbols) instead of raw noise
  • Decompose complex questions into parallel investigations when parts are truly independent
  • Avoid context pollution by keeping file reads, logs, and dead-end searches in the subagent's context
  • Refine answers by sending focused follow-ups to the same subagent without re-briefing

How to install research

npx skills add https://github.com/warpdotdev/common-skills --skill research
Claude Code
Cursor
Windsurf
Cline

How to use research

  1. 1.Identify a question that would require reading many files, logs, or a large diff
  2. 2.Spawn a local subagent (not remote) with an appropriate search model (gpt-5.6-luna-medium for simple searches, gpt-5.6-luna-xhigh for complex tracing)
  3. 3.Brief the subagent with the exact question, where to look, that it is read-only, and what output format you want
  4. 4.Request a distilled answer plus supporting evidence (file paths, line numbers, symbols)—not a raw transcript
  5. 5.Use the answer to make decisions; if you later need to edit those files, read them directly at that point

Use cases

Good for
  • Finding the root cause of a failing test by having a subagent trace logs and code
  • Discovering how a symbol or API is used across the codebase without reading every file yourself
  • Summarizing a large PR or diff to understand what changed and why
  • Extracting key findings from long CI logs or stack traces
  • Investigating multiple independent subsystems (auth, billing, rate limiting) in parallel
Who it's for
  • Developers working in large codebases who need to preserve context for actual coding tasks
  • Engineers debugging complex failures that require tracing through many files
  • Code reviewers summarizing large PRs before diving into details
  • Anyone whose next step is *editing* code, not just reading it

research FAQ

When should I NOT use research delegation?

Skip delegation for reading 2–3 files you already know you need, single grep lookups, or anything where you'll immediately edit the files you'd be reading. Delegation adds latency; use it only when noise avoidance outweighs that cost.

Should I spawn multiple subagents or one?

Default to a single subagent. Use parallel subagents only when the question genuinely decomposes into independent sub-parts that don't share intermediate findings—for example, investigating three unrelated subsystems.

What model should the subagent use?

Pick the model for the search task, not your own. Use gpt-5.6-luna-medium for simple searches and gpt-5.6-luna-xhigh for involved requests like tracing data flow through call sites.

What if the subagent's answer is too long or unfocused?

Send a focused follow-up to the same subagent asking it to tighten the answer. It retains its context and can refine cheaply without re-briefing.

Should the subagent be local or remote?

Always spawn research subagents as local agents, never remote—even when the parent is a factory or cloud agent.

Full instructions (SKILL.md)

Source of truth, from warpdotdev/common-skills.


name: research description: Delegate noisy investigation to one or more subagents so the orchestrator's context stays clean, then work from the distilled answer. Use this skill whenever answering a question would require reading many files, long logs, large diffs, or wide codebase surveys — i.e. when producing the answer generates far more noise than the answer itself. Use it for "how does X work", "where is Y used", "what's the root cause of Z", "summarize this PR/log" style questions, and reach for it liberally before reading a pile of files inline.

Research

Use this skill to answer a question by delegating the work of finding the answer to a subagent, so that the byproducts of that work — file contents, log noise, dead-end reads — never enter your own context. You get back a distilled answer plus the evidence that supports it, and you stay sharp for the actual task.

Why this matters

Your context window is your most valuable and limited resource. Reading twenty files to discover that three of them mattered permanently pollutes your context with seventeen files of noise, degrading every subsequent decision you make. A subagent absorbs that noise on your behalf and hands you only the signal. Think of it as asking a colleague to dig through the archives and report back, rather than dumping the whole archive on your desk.

When to use it

Reach for research delegation when the cost of producing the answer is far greater than the answer itself. Strong signals:

  • You'd need to read many files to find the few that are relevant.
  • You'd need to wade through long test output, CI logs, or stack traces to extract a failure.
  • You'd need to survey how a pattern, API, or symbol is used across the whole repo.
  • You'd need to read and summarize a large diff or PR.
  • The question has several independent sub-parts that could be investigated separately.

Examples — good fits:

  • "What's the root cause of this failing test?" (the subagent reads the logs and traces the code; you get the cause)
  • "How is SessionManager used across the codebase?" (the subagent greps and reads; you get a summary with call sites)
  • "Summarize what this 4,000-line PR changes and why." (the subagent reads the diff; you get the shape of it)

Examples — do NOT delegate:

  • Reading 2–3 files you already know you need. Just read them directly; delegation adds latency for no context savings.
  • A single grep or one-line lookup. Do it yourself.
  • Anything where you need the raw material for your next step. If you're about to edit the files you'd be reading, delegating is counterproductive — you'd just have to re-read them yourself to make the change. Research delegation pays off when the output is a conclusion, not when it's material you'll work on directly.

The cost of a subagent is real (latency and tokens), so the test is always: does the noise I'd avoid outweigh that cost?

How to do it

Spawn locally with a search model

Always spawn research subagents as local agents, never remote — including when the parent is a factory or cloud agent.

Pick the model for the search task, not your own. Research subagents should search and distill, not analyze: use gpt-5.6-luna-medium for simple search, and gpt-5.6-luna-xhigh for more involved requests (for example, tracing data flow through call sites).

Single vs. parallel

Default to a single subagent. Spawn multiple subagents in parallel only when the question genuinely decomposes into independent sub-parts that don't need to share intermediate findings — for example, "how does auth work AND how does billing work AND how does the rate limiter work" are three independent investigations that can run at once. Parallelism is a capability worth using when the parts are truly independent, since separate subagents can investigate simultaneously; but don't force a single coherent question into artificial fragments.

Brief the subagent well

The subagent does not share your intent, so spell it out. A good research brief includes:

  • The exact question to answer.
  • Where to look (repo path, branch, suspected files/symbols if you know them).
  • That it is read-only — it should investigate and report, not modify files, unless the task explicitly calls for changes.
  • The output you want back (see below).

Ask for signal, not transcript

Tell the subagent to return a distilled answer plus its supporting evidence, not a raw dump. Specifically:

  1. The direct answer to the question.
  2. The key evidence: exact file paths and symbols (e.g. src/session.rs:142, fn reconnect), so you can jump straight to what matters.
  3. Anything surprising or any caveats/unknowns it hit.

The whole point is that the noise stays with the subagent. If a report comes back bloated, send a focused follow-up to the same subagent asking it to tighten the answer — it retains its context and can refine cheaply.

After you get the answer

Work from the distilled result. If you later find you need the underlying files to make edits, read them directly at that point — now you know exactly which ones matter, so you read three files instead of twenty.