Agent skill · product strategy · aiskillstore
create-subagent
This skill should be used when creating custom subagents for Claude Code, configuring specialized AI assistants, or when the user asks about agent creation, agent configuration, or delegating tasks to subagents. Covers both file-based agents and Task tool invocation.
Why this skill is useful
Provides detailed configuration patterns and workflows for creating specialized subagents that the AI wouldn't reliably generate on its own.
What it needs
About 8k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Create Subagent This skill provides comprehensive guidance for creating and configuring subagents in Claude Code. Understanding Subagents Subagents are specialized AI assistants that Claude Code can delegate tasks to. Each subagent: Operates in its own context window (preserving main conversation context) Has a specific purpose and expertise area Can be configured with specific tools and permissions Includes a custom system prompt guiding its behavior When to Create Subagents Create a subagent when: Tasks require specialized expertise that benefits from focused instructions Context preservation is important (subagents don't pollute main context) The same specialized workflow is needed repeatedly Different tool permissions are needed for different tasks Parallel execution of independent tasks is desired Choose skills instead when: The capability extends Claude's knowledge without needing separate context No specialized agent persona is needed Tool restrictions are sufficient without full agent isolation Choose slash commands when: Users need explicit control over when to invoke functionality The workflow should be user-initiated, not model-initiated Two Approaches to Subagents Approach 1: File-Based Agents Persistent subagent definitions stored as Markdown files. Locations (in priority order): Location Scope Priority ---------- ------- ---------- .claude/agents/ Current project Highest ~/.claude/agents/ All projects Lower File Format: Approach 2: Task Tool Invocation Dynamic subagent dispatch using the Task tool for on-demand agents. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/create-subagent