agent_template_list
Lists all resolvable agent templates by scanning project, user, and plugin sources, de-duplicating by name, and showing each template's origin—giving you an accurate count of what subagent_type will accept.
Instructions
List every Agent template CC can actually resolve.
Scans all three template sources with CC's own precedence — project-level
<project>/.claude/agents/ > user-level ~/.claude/agents/ > the shipped
plugin/agents/ — and de-duplicates by frontmatter name (the identity CC
resolves), so the count matches what subagent_type will really accept.
Each entry carries a source field.
Default response is a COMPACT projection (view="compact" + hint - trimmed,
NOT missing fields): the full listing measured 32,480 chars, half of it
because grouped repeats every row of templates verbatim. Compact keeps
one projected row per template and reduces grouped to a name index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | "compact" (default, trimmed rows) / "all" (full listing) | compact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||