Subagent Definition Frontmatter
Claude Code / 에이전트서브에이전트 정의 파일의 frontmatter 작성
언제 쓰나 · .claude/agents/*.md 에이전트를 정의할 때
#agent#subagent#frontmatter
Write the frontmatter for a Claude Code subagent at `.claude/agents/{{name}}.md`.
```
---
name: {{name}}
description: {{when_to_dispatch}}
tools: {{tools}}
model: {{model}}
---
```
Then a system prompt body that:
- States the agent's single responsibility: {{responsibility}}
- Tells it to return its final answer as raw data (the parent reads it, not a human).
- Lists hard constraints (read-only? no network? output schema?).
Keep the scope narrow — one agent, one job.jt · v1 · CC0-1.0 · 복사 0