Appearance
SOP-004: Spawn and Manage Teammates
ID: SOP-004 | Version: 1.0 | Status: Current | Date: 2026-02-12
Fresh 🌱Create specific teammates with tailored prompts, control their models, and manage their lifecycle during team execution.
Overview
While Claude often creates teammates automatically, you can explicitly spawn teammates with specific roles, models, and prompts for fine-grained control.
Prerequisites
- Agent teams enabled and working (SOP-002)
- Team already created (need a lead to spawn teammates)
- Clear understanding of teammate responsibilities
Decision Tree
Spawning Teammates
Basic Spawn (Automatic Count)
Tell Claude what you need:
Create an agent team to review this module. Give me reviewers for:
- Security issues
- Performance implications
- Test coverageClaude decides number and models based on complexity.
Specify Teammate Count
Create an agent team with 4 teammates to refactor these microservices.Specify Models
Spawn 3 teammates using Sonnet model for code review:
- One focusing on readability
- One checking security
- One validating performanceAvailable models:
Sonnet(default, good balance)Opus(most capable, higher cost)Haiku(fastest, lower cost)
Detailed Spawn with Role Descriptions
Create 2 teammates with detailed prompts:
- Teammate 1: "You are a security expert. Review auth module for JWT handling, session management, and input validation."
- Teammate 2: "You are a performance specialist. Check for N+1 queries, inefficient algorithms, and caching opportunities."With Plan Approval Requirement
Spawn an architect teammate to refactor the database layer.
Require plan approval before they make any changes.Claude will:
- Teammate creates plan
- Sends to lead for review
- Lead approves or rejects with feedback
- Teammate revises if rejected
- Implementation proceeds after approval
Managing Teammates
Message a Specific Teammate
Tell the security reviewer: "Pay special attention to cross-site request forgery vulnerabilities"Claude will deliver message automatically to that teammate.
Broadcast to All Teammates
Broadcast to all teammates: "Update your findings doc with current progress"Use sparingly - costs scale with team size.
Check Teammate Status
Show me what each teammate is currently working onOr in-process mode:
Shift+Up/Downto cycle through- See their current task in status
Redirect a Teammate
Tell the researcher teammate to focus more on edge casesTeammate will shift focus based on your guidance.
Interact Directly with Teammate
In-process mode:
- Press
Shift+Up/Downto select teammate - Press
Enterto enter their session - Type message directly
- Press
Escapeto stop their current turn - Press
Escapeagain to exit their session
Split panes mode:
- Click into teammate's pane
- Type message directly
- Click back to lead's pane
Shut Down a Teammate
Ask the researcher teammate to shut downTeammate can approve gracefully or reject with explanation:
- Approve: Clean exit, resources freed
- Reject: Continues working with explanation
Graceful shutdown is better than force-killing.
Team Coordination
View Shared Task List
Show me the current task listOr press Ctrl+T in in-process mode.
Shows:
- Task status (pending/in-progress/completed)
- Task ownership
- Dependencies between tasks
- Blockers and prerequisites
Assign Specific Task
Assign task #3 to the database teammateLead can explicitly assign, or teammates can self-claim available tasks.
Create New Task
Create a task: "Write integration tests for authentication module"Claude adds to shared task list. Any available teammate can claim it.
Mark Task Complete
Mark task #5 as completedUnblocks any dependent tasks automatically.
Monitoring and Steering
Check Progress Regularly
Give me a status update on all teammate workClaude will:
- Show what each teammate completed
- What they're currently doing
- Any blockers or issues
- Estimate of time/effort remaining
Prevent Lead from Implementing
If lead starts doing work instead of delegating:
Wait for your teammates to complete their tasks before proceedingSynthesize Findings
Collect findings from all teammates and synthesize into a summary documentLead will:
- Gather all results
- Combine insights
- Identify conflicts/consensus
- Write comprehensive summary
Best Practices
Give Teammates Enough Context
Spawn a backend architect teammate with this prompt:
"Review the API layer in src/api/. We're using Express.js with
middleware-based auth. Focus on:
1. Scalability for 10K+ requests/sec
2. Latency optimization
3. Connection pooling strategy
Current bottleneck: database queries taking 200ms average.
Recent changes: added caching layer in Redis."Size Tasks Appropriately
- Too small (< 10 min): Coordination overhead > benefit
- Too large (> 2 hrs): Risk of wasted effort without check-ins
- Just right (15-45 min): Discrete deliverables, check-ins possible
Aim for 5-6 tasks per teammate.
Start Teammates in Parallel
Create 3 teammates working on independent modules simultaneouslyBetter than sequential (faster feedback, parallel exploration).
Avoid File Conflicts
Each teammate owns different files:
Teammate 1: Frontend components (src/components/)
Teammate 2: Backend API (src/api/)
Teammate 3: Tests (src/__tests__/)Don't have 2 teammates editing the same file.
Verification Checklist
✓ Teammates spawned successfully
- Claude confirms number created
- No "failed to spawn" errors
- Task list shows tasks
- Can see teammates in terminal
✓ Teammates have context
- They load project CLAUDE.md
- They understand their role
- They know what to work on
- They can communicate with each other
✓ Communication working
- Can message teammate directly
- Teammate receives and responds
- Can broadcast to group
- Messages appear in real-time
✓ Task assignment working
- Can see shared task list (Ctrl+T)
- Tasks show owner and status
- Can assign new tasks
- Dependencies resolve automatically
Troubleshooting
Q: "Permission denied" when spawning A:
- Pre-approve operations in settings
- Or use:
claude --dangerously-skip-permissions - Or tell lead to approve each permission
Q: Teammate not receiving messages A:
- Check teammate is running (Shift+Down cycles through)
- Try direct message again
- May have completed and left team - create new one
Q: Lead doing work instead of coordinating A: Tell lead: "Wait for teammates to complete their tasks before proceeding"
Q: Too many permissions prompts A: Pre-configure in settings.json:
json
{
"mode": "bypassPermissions"
}Q: Teammate got stuck on error A:
- Check their status: cycle to them with Shift+Up/Down
- Give them new instructions directly
- Or spawn replacement teammate for that task