Native Parallel Agents
Orchestration through Claude Code's built-in Agent Tool
Overview
This skill enables coordinating multiple specialized agents through Claude Code's native agent system. Unlike external scripts, this approach keeps all orchestration within Claude's control.
When to Use Orchestration
✅ Good for:
- Complex tasks requiring multiple expertise domains
- Code analysis from security, performance, and quality perspectives
- Comprehensive reviews (architecture + security + testing)
- Feature implementation needing backend + frontend + database work
❌ Not for:
- Simple, single-domain tasks
- Quick fixes or small changes
- Tasks where one agent suffices
Native Agent Invocation
Single Agent
Use the security-auditor agent to review authentication
Sequential Chain
First, use the explorer-agent to discover project structure.
Then, use the backend-specialist to review API endpoints.
Finally, use the test-engineer to identify test gaps.
With Context Passing
Use the frontend-specialist to analyze React components.
Based on those findings, have the test-engineer generate component tests.
Resume Previous Work
Resume agent [agentId] and continue with additional requirements.
Orchestration Patterns
Pattern 1: Comprehensive Analysis
Agents: explorer-agent → [domain-agents] → synthesis
1. explorer-agent: Map codebase structure
2. security-auditor: Security posture
3. backend-specialist: API quality
4. frontend-specialist: UI/UX patterns
5. test-engineer: Test coverage
6. Synthesize all findings
Pattern 2: Feature Review
Agents: affected-domain-agents → test-engineer
1. Identify affected domains (backend? frontend? both?)
2. Invoke relevant domain agents
3. test-engineer verifies changes
4. Synthesize recommendations
Pattern 3: Security Audit
Agents: security-auditor → penetration-tester → synthesis
1. security-auditor: Configuration and code review
2. penetration-tester: Active vulnerability testing
3. Synthesize with prioritized remediation
Available Agents
| Agent |
Expertise |
Trigger Phrases |
orchestrator |
Coordination |
"comprehensive", "multi-perspective" |
security-auditor |
Security |
"security", "auth", "vulnerabilities" |
penetration-tester |
Security Testing |
"pentest", "red team", "exploit" |
backend-specialist |
Backend |
"API", "server", "Node.js", "Express" |
frontend-specialist |
Frontend |
"React", "UI", "components", "Next.js" |
test-engineer |
Testing |
"tests", "coverage", "TDD" |
devops-engineer |
DevOps |
"deploy", "CI/CD", "infrastructure" |
database-architect |
Database |
"schema", "Prisma", "migrations" |
mobile-developer |
Mobile |
"React Native", "Flutter", "mobile" |
api-designer |
API Design |
"REST", "GraphQL", "OpenAPI" |
debugger |
Debugging |
"bug", "error", "not working" |
explorer-agent |
Discovery |
"explore", "map", "structure" |
documentation-writer |
Documentation |
"write docs", "create README", "generate API docs" |
performance-optimizer |
Performance |
"slow", "optimize", "profiling" |
project-planner |
Planning |
"plan", "roadmap", "milestones" |
seo-specialist |
SEO |
"SEO", "meta tags", "search ranking" |
game-developer |
Game Development |
"game", "Unity", "Godot", "Phaser" |
Claude Code Built-in Agents
These work alongside custom agents:
| Agent |
Model |
Purpose |
| Explore |
Haiku |
Fast read-only codebase search |
| Plan |
Sonnet |
Research during plan mode |
| General-purpose |
Sonnet |
Complex multi-step modifications |
Use Explore for quick searches, custom agents for domain expertise.
Synthesis Protocol
After all agents complete, synthesize:
## Orchestration Synthesis
### Task Summary
[What was accomplished]
### Agent Contributions
| Agent | Finding |
|-------|---------|
| security-auditor | Found X |
| backend-specialist | Identified Y |
### Consolidated Recommendations
1. **Critical**: [Issue from Agent A]
2. **Important**: [Issue from Agent B]
3. **Nice-to-have**: [Enhancement from Agent C]
### Action Items
- [ ] Fix critical security issue
- [ ] Refactor API endpoint
- [ ] Add missing tests
Best Practices
- Available agents - 17 specialized agents can be orchestrated
- Logical order - Discovery → Analysis → Implementation → Testing
- Share context - Pass relevant findings to subsequent agents
- Single synthesis - One unified report, not separate outputs
- Verify changes - Always include test-engineer for code modifications
Key Benefits
- ✅ Single session - All agents share context
- ✅ AI-controlled - Claude orchestrates autonomously
- ✅ Native integration - Works with built-in Explore, Plan agents
- ✅ Resume support - Can continue previous agent work
- ✅ Context passing - Findings flow between agents
1---
2name: parallel-agents
3description: "Multi-agent orchestration patterns. Use when multiple independent tasks can run with different domain expertise or when comprehensive analysis requires multiple perspectives."
4risk: offensive
5source: community
6date_added: "2026-02-27"
7metadata:
8 source: https://skillmd.com/skills/kursku/parallel-agents
9---
10
11# Native Parallel Agents
12
13> Orchestration through Claude Code's built-in Agent Tool
14
15## Overview
16
17This skill enables coordinating multiple specialized agents through Claude Code's native agent system. Unlike external scripts, this approach keeps all orchestration within Claude's control.
18
19## When to Use Orchestration
20
21✅ **Good for:**
22- Complex tasks requiring multiple expertise domains
23- Code analysis from security, performance, and quality perspectives
24- Comprehensive reviews (architecture + security + testing)
25- Feature implementation needing backend + frontend + database work
26
27❌ **Not for:**
28- Simple, single-domain tasks
29- Quick fixes or small changes
30- Tasks where one agent suffices
31
32---
33
34## Native Agent Invocation
35
36### Single Agent
37```
38Use the security-auditor agent to review authentication
39```
40
41### Sequential Chain
42```
43First, use the explorer-agent to discover project structure.
44Then, use the backend-specialist to review API endpoints.
45Finally, use the test-engineer to identify test gaps.
46```
47
48### With Context Passing
49```
50Use the frontend-specialist to analyze React components.
51Based on those findings, have the test-engineer generate component tests.
52```
53
54### Resume Previous Work
55```
56Resume agent [agentId] and continue with additional requirements.
57```
58
59---
60
61## Orchestration Patterns
62
63### Pattern 1: Comprehensive Analysis
64```
65Agents: explorer-agent → [domain-agents] → synthesis
66
671. explorer-agent: Map codebase structure
682. security-auditor: Security posture
693. backend-specialist: API quality
704. frontend-specialist: UI/UX patterns
715. test-engineer: Test coverage
726. Synthesize all findings
73```
74
75### Pattern 2: Feature Review
76```
77Agents: affected-domain-agents → test-engineer
78
791. Identify affected domains (backend? frontend? both?)
802. Invoke relevant domain agents
813. test-engineer verifies changes
824. Synthesize recommendations
83```
84
85### Pattern 3: Security Audit
86```
87Agents: security-auditor → penetration-tester → synthesis
88
891. security-auditor: Configuration and code review
902. penetration-tester: Active vulnerability testing
913. Synthesize with prioritized remediation
92```
93
94---
95
96## Available Agents
97
98| Agent | Expertise | Trigger Phrases |
99|-------|-----------|-----------------|
100| `orchestrator` | Coordination | "comprehensive", "multi-perspective" |
101| `security-auditor` | Security | "security", "auth", "vulnerabilities" |
102| `penetration-tester` | Security Testing | "pentest", "red team", "exploit" |
103| `backend-specialist` | Backend | "API", "server", "Node.js", "Express" |
104| `frontend-specialist` | Frontend | "React", "UI", "components", "Next.js" |
105| `test-engineer` | Testing | "tests", "coverage", "TDD" |
106| `devops-engineer` | DevOps | "deploy", "CI/CD", "infrastructure" |
107| `database-architect` | Database | "schema", "Prisma", "migrations" |
108| `mobile-developer` | Mobile | "React Native", "Flutter", "mobile" |
109| `api-designer` | API Design | "REST", "GraphQL", "OpenAPI" |
110| `debugger` | Debugging | "bug", "error", "not working" |
111| `explorer-agent` | Discovery | "explore", "map", "structure" |
112| `documentation-writer` | Documentation | "write docs", "create README", "generate API docs" |
113| `performance-optimizer` | Performance | "slow", "optimize", "profiling" |
114| `project-planner` | Planning | "plan", "roadmap", "milestones" |
115| `seo-specialist` | SEO | "SEO", "meta tags", "search ranking" |
116| `game-developer` | Game Development | "game", "Unity", "Godot", "Phaser" |
117
118---
119
120## Claude Code Built-in Agents
121
122These work alongside custom agents:
123
124| Agent | Model | Purpose |
125|-------|-------|---------|
126| **Explore** | Haiku | Fast read-only codebase search |
127| **Plan** | Sonnet | Research during plan mode |
128| **General-purpose** | Sonnet | Complex multi-step modifications |
129
130Use **Explore** for quick searches, **custom agents** for domain expertise.
131
132---
133
134## Synthesis Protocol
135
136After all agents complete, synthesize:
137
138```markdown
139## Orchestration Synthesis
140
141### Task Summary
142[What was accomplished]
143
144### Agent Contributions
145| Agent | Finding |
146|-------|---------|
147| security-auditor | Found X |
148| backend-specialist | Identified Y |
149
150### Consolidated Recommendations
1511. **Critical**: [Issue from Agent A]
1522. **Important**: [Issue from Agent B]
1533. **Nice-to-have**: [Enhancement from Agent C]
154
155### Action Items
156- [ ] Fix critical security issue
157- [ ] Refactor API endpoint
158- [ ] Add missing tests
159```
160
161---
162
163## Best Practices
164
1651. **Available agents** - 17 specialized agents can be orchestrated
1662. **Logical order** - Discovery → Analysis → Implementation → Testing
1673. **Share context** - Pass relevant findings to subsequent agents
1684. **Single synthesis** - One unified report, not separate outputs
1695. **Verify changes** - Always include test-engineer for code modifications
170
171---
172
173## Key Benefits
174
175- ✅ **Single session** - All agents share context
176- ✅ **AI-controlled** - Claude orchestrates autonomously
177- ✅ **Native integration** - Works with built-in Explore, Plan agents
178- ✅ **Resume support** - Can continue previous agent work
179- ✅ **Context passing** - Findings flow between agents