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.
View on GitHubglittercowboy/taches-cc-resources
taches-cc-resources
January 22, 2026
Select agents to install to:
npx add-skill https://github.com/glittercowboy/taches-cc-resources/blob/main/skills/create-subagents/SKILL.md -a claude-code --skill create-subagentsInstallation paths:
.claude/skills/create-subagents/<objective> Subagents are specialized Claude instances that run in isolated contexts with focused roles and limited tool access. This skill teaches you how to create effective subagents, write strong system prompts, configure tool access, and orchestrate multi-agent workflows using the Task tool. 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> 1. Run `/agents` command 2. Select "Create New Agent" 3. Choose project-level (`.claude/agents/`) or user-level (`~/.claude/agents/`) 4. 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`, or `inherit`) 5. Write the system prompt (the subagent's instructions) </workflow> <example> ```markdown --- name: code-reviewer description: Expert code reviewer. Use proactively after code changes to review for quality, security, and best practices. tools: Read, Grep, Glob, Bash model: sonnet --- <role> You are a senior code reviewer focused on quality, security, and best practices. </role> <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> <configuration> <field name="name"> - Lowercase letters and hyphens onl