Claude Code subagents
Use case: Skills & routines
Define specialized subagents with their own prompts and tool permissions for delegation.
Like Claude Code subagents? Find tools like it on X.
Follow @AgentstackDaily, plus the free Top 25 Agent Tools checklist.
At a glance
- Category
- Skills & routines
- Best for
- Skills & routines use cases
- Official site
- docs.anthropic.com
- Link checked
- November 4, 2026
- Data
- JSON
When to use Claude Code subagents
Consider Claude Code subagents when your agent work falls under Skills & routines. Our directory summarizes it this way: Define specialized subagents with their own prompts and tool permissions for delegation. If you are still choosing, compare it with Agent Skills (Anthropic), anthropics/skills and Claude Code hooks before committing, since they sit in the same category.
How Claude Code subagents fits an agent workflow
In an agent stack, Claude Code subagents belongs to the Skills & routines category, which covers the instruction layer, where reusable skills, rules, hooks and automations shape how an agent behaves. Other Skills & routines entries worth a look alongside it include Claude Code slash commands, Claude Code GitHub Actions and AGENTS.md.
Pricing & open source
Our data does not list a price or license for Claude Code subagents. Check the official site for current pricing and licensing before you build on it.
Claude Code subagents alternatives
- Agent Skills (Anthropic) — Package instructions, scripts and resources as folders that Claude loads on demand.
- anthropics/skills — Public repo of example and document-handling skills you can copy and adapt.
- Claude Code hooks — Run shell commands at lifecycle events (pre/post tool use, stop) for deterministic guardra
- Claude Code slash commands — Save reusable prompts as custom commands checked into your repo.
- Claude Code GitHub Actions — Run Claude Code in CI to respond to @claude mentions and automate routine PR work.
- AGENTS.md — Open, simple format for giving coding agents project instructions across tools.
Related tools
- Cursor Rules
Persistent project/user rules that shape Cursor agent behavior.
- n8n
Workflow automation with AI agent nodes
- Codex AGENTS.md guide
How Codex reads AGENTS.md files to follow repo conventions.
- Zapier Agents
AI agents that act across Zapier's app integrations.
- Make
Visual automation platform with AI agents.
FAQ
What are Claude Code subagents?
Subagents are specialized assistants that handle specific types of tasks. Each runs in its own context window with a custom system prompt, specific tool access and independent permissions, and returns only a summary to the main conversation.
Where do I define a custom subagent?
Subagents are Markdown files with frontmatter. Put them in ~/.claude/agents/ to use them in every project on your machine, or in a project's .claude/agents/ directory to scope them to that project.
Do subagents count toward my usage?
Yes. The docs say each subagent sends its own requests, which count toward the same usage limits as your main conversation.
Get new agent tools and tips as they're added
Follow @AgentstackDaily on X for new tools and copy-paste tips. Free.