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.
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 |