research
Investigate a question against primary sources in a background subagent and save the cited findings to the state folder. Use when the user wants a topic researched across sources or reading legwork delegated. For a single docs or API fact, use docs-search instead.
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 10
- Forks
- 2
01 前言 Front Matter
- name
- research
- description
- Investigate a question against primary sources in a background subagent and save the cited findings to the state folder. Use when the user wants a topic researched across sources or reading legwork delegated. For a single docs or API fact, use docs-search instead.
- user-invokable
- false
- disable-model-invocation
- false
03 SKILL.md 正文
Research
Hand the reading to a background subagent, so you keep working while it reads. For one fact you need before your next step, look it up yourself with the docs-search or web-search skill instead. For why this codebase is the way it is, use the why skill.
1. Frame the question
Write the question in one or two sentences, with what the answer is for: the decision it informs, or the code it unblocks. Name the versions, platforms, or dates that change the answer. When the request is too vague to frame, ask the user one question first.
Pick the output path: research/<YYYY-MM-DD>-<slug>.md in the state folder, as an absolute path.
2. Launch the researcher
Start one delegate per the subagents skill, in the researcher role, with bg_start. Its assignment states:
- The framed question and what the answer is for.
- Any leads you already hold: links, files, names, error text.
- The skills to use: web-search and docs-search.
- The write scope: only the output path.
- The job:
- Investigate against primary sources: official docs, source code, specs, changelogs, and first-party APIs, not a secondary write-up of them. Follow every claim back to the source that owns it, and read the version the question names.
- Write the findings to the output path in this shape: the question; the answer in three sentences or fewer; the findings, each citing its source as a URL or
file:lineand the version or date read; the places where sources disagree, or where none could be found; and the list of sources.
- The done condition: every claim in the file cites a primary source the subagent read in this run.
- The report: the output path and the three-sentence answer.
3. Use the result
When the researcher finishes, read the file. Open the sources behind the claims your next decision rests on and check that they say what the file says. Then give the user the answer and the path.
04 同仓库更多 Skills
changelog
Write the changelog entry for a pull request. Use when a PR changes behavior that users, operators, or integrators can notice.
writing-good-tickets
Write, file, or update an issue or ticket that an agent or a developer can take to one PR. Use when filing a bug or feature, updating an issue, or breaking a plan into tickets.
writing-good-prs
Write or update a pull request title and body that a reviewer can trust and own. Use when opening a PR or editing its description.
writing-good-commits
Write or reword a git commit message and size the commit it describes. Use when committing, or when reshaping commits during a rebase.
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
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.