Claude Code Subagents
Define specialised helper agents with their own prompts, tools and context.
About
Subagents are reusable assistants that Claude Code can delegate to — a code reviewer, a test runner, a researcher. Each has its own system prompt, tool permissions and context window, and lives as a Markdown file in your project or user settings. The way to stop your main agent's context getting polluted by side quests.
Create one interactively inside Claude Code: /agents
Or add a file at .claude/agents/code-reviewer.md:
---
name: code-reviewer
description: Reviews changed code for bugs and readability. Use after edits.
tools: Read, Grep, Glob
---
You are a senior reviewer. Focus on correctness first, then clarity.Copy individual commands
Create one interactively inside Claude Code: /agentsOr add a file at .claude/agents/code-reviewer.md:---name: code-reviewerdescription: Reviews changed code for bugs and readability. Use after edits.tools: Read, Grep, Glob---You are a senior reviewer. Focus on correctness first, then clarity.
More in Claude Agents
View allwshobson/agents
A large community collection of Claude Code subagents and plugins.
Claude AgentsOpen sourceActive42.3K
Anthropic Agent Skills
Anthropic's official skill collection — documents, spreadsheets, design and more.
Claude SkillsOpen sourceActive189.9K
Aider
AI pair programming in your terminal that edits code and commits to git for you.
python -m pip install aider-install
CLI ToolsOpen source50K