Scaffold a subagent file
scaffold_agentCreates a complete .claude/agents/.md file for a specific role, with frontmatter, procedure, report format, and do-not rules. Save the returned text to add the agent.
Instructions
Returns a complete .claude/agents/.md for a role, with frontmatter (name, description, tools), a procedure, a report format, and do-not rules. Save the returned text to .claude/agents/.md.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"job": "<job>"
},
"name": "scaffold_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | One sentence: what this agent does, e.g. 'Reviews a diff for correctness bugs and reports file:line findings.' | |
| name | Yes | Agent name, e.g. reviewer or release-notes | |
| tools | No | Tool names to allow, e.g. ['Read','Grep','Glob']. Default is read-only. | |
| must_not | No | Rules the agent must never break | |
| read_first | No | Files the agent must read before working |