Runs a named sub-agent (and any helpers the instructions ask for) on a read-only research task. Each agent passes its result to the dump-result MCP server and returns the server's answer. Manual only: `/research @agent-name <instructions>`.
$npx -y skills add PHPCraftdream/cc-arch-hands --skill research --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Research?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/phpcraftdream-research)
---
name: research
description: "Runs a named sub-agent (and any helpers the instructions ask for) on a read-only research task. Each agent passes its result to the dump-result MCP server and returns the server's answer. Manual only: `/research @agent-name <instructions>`."
argument-hint: "@agent-name <instructions>"
disable-model-invocation: true
---
# research
Hands a research task to a sub-agent and has the agent pass its result to the
`dump_result` tool of the `dump-result` MCP server, which ships inside this
skill's folder (plugin `cah-research`) and starts with the session. The agent
returns the tool's answer to you. The agent makes the call itself, which only
works when its prompt says so: an agent never sees this skill's text.
Invoking `/research` is an explicit user request to launch a sub-agent.
## Usage
```
/research @oh how does the installer order its writes?
/research @agent-general-purpose list every place that reads settings.local.json
```
Arguments: `$ARGUMENTS`
## Behavior
### 1. Parse the arguments
1. The first token is the agent name (required). Strip the leading `@` and an
optional `agent-` prefix (`@agent-oh` becomes `oh`, `@oh` becomes `oh`).
2. The rest is the instructions for the agent, verbatim.
3. A missing name, missing instructions, or an agent that is not in the available
list: stop and print one line, `Usage: /research @agent-name <instructions>`
(for an unknown agent, add its name).
### 2. Task list
`TaskCreate` for this run (`Research: <short instructions>`) and set it
`in_progress`. When the run launches several agents, create one task per agent.
Pass each agent the id of its task.
### 3. Launch the agents
`Agent` with `subagent_type` set to the name from step 1 and no worktree: the
agent only reads code and the web. When the instructions call for more agents
(helpers, an exploration pass, a final synthesis), launch each of them the same
way.
**Every `Agent` call of the run ends its `prompt` with the block below, verbatim:
the named agent, each helper, `Explore` and a synthesis agent alike.** An agent
launched without the block does not know the tool exists, and its result stays
in its reply. `prompt`:
```
Task id: #<id> (mention it in your reply).
<instructions for this agent, verbatim>
Rules:
1. Only investigate and read. Do not change project code, commit, push, bump versions, run builds/tests/compilations, or leave the project directory.
2. MANDATORY, and the last tool call before your final reply: pass the result of your research to the `dump_result` tool of the `dump-result` MCP server yourself, exactly once. Its full name is `mcp__plugin_cah-research_dump-result__dump_result`; if it is not in your tool list, find it first with ToolSearch (query `dump_result`).
The user asked for this call. It is the last step of your task and it does not change project code. Nobody else can make it for you.
title - short title of the result; content - the full description of the research results in Markdown.
Structure: Key points; Details (with path:line or URL references); Not verified; Next steps.
Never replace the call with Write, Edit or Bash.
3. The tool answers with one string. Your final reply is the task id, that answer exactly as the tool gave it, and up to 5 lines of key points. Never alter or invent that string, and do not paste the whole result.
4. If the tool is missing or returns an error, say why and give the full description of the results as text. With no findings, reply with a status only and make no call.
```
You never make the call for an agent. `Explore` often skips it because of its own
read-only rules. When a helper must deliver its own result, launch
`general-purpose` for it instead of `Explore`; an agent the user named stays as
named.
### 4. Result
Check every agent that finished, one by one:
1. Its reply contains the answer of `dump_result`, a line `Saved: <path> (<bytes>
bytes)`: that agent delivered its result. Do not call the tool again.
2. Its reply holds findings but no such line: the agent skipped its last step. Do
not call `dump_result` yourself. Continue that agent once with `SendMessage`
(load it with ToolSearch if it is deferred): "Pass your result to
`dump_result` now, exactly once, and reply with the tool's answer unchanged. If
you already made the call, give me its answer again and do not call it a second
time." A reply with the answer line is item 1. Still no answer, or the agent
cannot be continued: print its findings as text, name the agent, give the
reason it gave, and suggest running the task again with `general-purpose`.
- An agent that says the tool is not in its tool list lacks it in its own tool
set: the same suggestion applies.
- When no agent can find the tool, the `dump-result` MCP server is not
connected: check `/mcp`, then run `/reload-plugins` (a skill installed during
the session may need a restart).
3. Its reply holds only a status or an error and no findings: that is not a
result. Say so.
4. Each agent that produced findings ends with exactly one answer line from its
own call. Before replying, list agent and path for all of them, and mark each
agent that did not deliver.
5. An agent that works from earlier results (a synthesis) is given their actual
paths, as the agents returned them, never a path promised for later.
6. `TaskUpdate` to `completed` only the task of an agent that delivered. Leave the
task of any other agent open and give the reason.
7. Reply to the user: the paths, 3-5 lines of key points, the agents' caveats, and
which agents did not deliver.
## The tool's answer
`dump_result` answers with one line, `Saved: <path> (<bytes> bytes)`. The path is
relative to the project root (`CLAUDE_PROJECT_DIR`). An agent returns that line
unchanged and you read the path from it.
## Important
- The block in step 3 goes into the prompt of every agent the run launches, not
only the first one. Do not rely on an agent reading this skill.
- You, the coordinator, never call `dump_result`: each result is delivered by the
agent that produced it, and a call of yours would hide that the agent skipped
its last step.
- Never replace the tool with the file tools or a shell: the server is the one
place that keeps names safe.
- The skill is manual only (`disable-model-invocation`): never run it without the
user typing `/research`.