Create Subagents
Expert guidance for creating, building, and using Claude Code subagents and the Task tool.
Install
npx skills add glittercowboy/taches-cc-resources --skill create-subagents -g -a claude-code -y- Repository
- glittercowboy/taches-cc-resources2k
- Category
- AI and agents
- Updated
- 7mo ago
- License
- MIT
- Context cost
- Mediumabout 2,518 tokens
- Runs scripts
- No, instructions only
What it does
Expert guidance for creating, building, and using Claude Code subagents and the Task tool. Use when working with subagents, setting up agent configurations, understanding how agents work, or using the Task tool to launch specialized agents.
Subagents enable delegation of complex tasks to specialized agents that operate autonomously without user interaction, returning their final output to the main conversation. </objective>
<quick_start> <workflow>
- Run
/agentscommand - Select "Create New Agent"
- Choose project-level (
.claude/agents/) or user-level (~/.claude/agents/) - Define the subagent:
- name: lowercase-with-hyphens
- description: When should this subagent be used?
- tools: Optional comma-separated list (inherits all if omitted)
- model: Optional (
sonnet,opus,haiku, orinherit)
- Write the system prompt (the subagent's instructions) </workflow>
<focus_areas>
- Code quality and maintainability
- Security vulnerabilities
- Performance issues
- Best practices adherence </focus_areas>
<output_format> Provide specific, actionable feedback with file:line references. </output_format>
</example>
</quick_start>
<file_structure>
| Type | Location | Scope | Priority |
|------|----------|-------|----------|
| **Project** | `.claude/agents/` | Current project only | Highest |
| **User** | `~/.claude/agents/` | All projects | Lower |
| **Plugin** | Plugin's `agents/` dir | All projects | Lowest |
Project-level subagents override user-level when names conflict.
</file_structure>

