subagent-creator
Subagent Creator
Create, evaluate, and improve Claude Code subagents — the .md files (in .claude/agents/ for a project or ~/.claude/agents/ for personal use) whose YAML frontmatter plus system prompt define a specialist the main agent can delegate to with an isolated context window and restricted tools.
This is not about skills (skill-creator owns those) or CLAUDE.md/AGENTS.md (agent-config owns those). A subagent is one file: frontmatter (name, description, tools, model, …) + a system-prompt body.
When to Use
Use when the user asks to create, review, or fix a Claude Code subagent definition file (.claude/agents/*.md or personal ~/.claude/agents/*.md). Do not use for skills or for editing CLAUDE.md/AGENTS.md.
Pick the branch first
Three branches. Identify which one the user is on before doing anything else — they don't share a starting step.
| Branch | Trigger | Go to |
|---|---|---|
| Create | "make a subagent that…", "I need an agent for X", no file exists yet | Creating a subagent |
| Evaluate | "review this agent", "is this subagent any good", "audit .claude/agents/foo.md" |
Evaluating a subagent |
| Improve | "fix this agent", "this subagent isn't triggering / over-reaches", points at an existing file | Improving a subagent |