withzombies/hyperpowers/dispatching-parallel-agents
Claude Code and agent skill by withzombies/hyperpowers
- community
Checking that the SKILL.md file is still in the repository.
Use when facing 3+ independent failures that can be investigated without shared state or dependencies - dispatches multiple Claude agents to investigate and fix independent problems concurrently
Install
npx vskill@latest install withzombies/hyperpowers/dispatching-parallel-agentsSKILL.md
<skill_overview> When facing 3+ independent failures, dispatch one agent per problem domain to investigate concurrently; verify independence first, dispatch all in single message, wait for all agents, check conflicts, verify integration. </skill_overview>
<rigidity_level> MEDIUM FREEDOM - Follow the 6-step process (identify, create tasks, dispatch, monitor, review, verify) strictly. Independence verification mandatory. Parallel dispatch in single message required. Adapt agent prompt content to problem domain. </rigidity_level>
<quick_reference>
| Step | Action | Critical Rule | |
|---|---|---|---|
| 1. Identify Domains | Test independence (fix A doesn't affect B) | 3+ independent domains required | |
| 2. Create Agent Tasks | Write focused prompts (scope, goal, constraints, output) | One prompt per domain | |
| 3. Dispatch Agents | Launch all agents in SINGLE message | Multiple Task() calls in parallel | |
| 4. Monitor Progress | Track completions, don't integrate until ALL done | Wait for all agents | |
| 5. Review Results | Read summaries, check conflicts | Manual conflict resolution | |
| 6. Verify Integration | Run full test suite | Use verification-before-completion |
Why 3+? With only 2 failures, coordination overhead often exceeds sequential time.
Critical: Dispatch all agents in single message with multiple Task() calls, or they run sequentially. </quick_reference>
<when_to_use> Use when:
- 3+ test files failing with different root causes
- Multiple subsystems broken independently
- Each problem can be understood without context from others
- No shared state between investigations
- You've verified failures are truly independent
- Each domain has clear boundaries (different files, modules, features)
Don't use when:
- Failures are related (fix one might fix others)
- Need to understand full system state first
- Agents would interfere (editing same files)
- Haven't verified independence yet (exploratory phase)
- Failures share root cause (one bug, multiple symptoms)
- Need to preserve investigation order (cascading failures)
- Only 2 failures (overhead exceeds benefit)
</when_to_use>
<the_process>
Step 1: Identify Independent Domains
Announce: "I'm using hyperpowers:dispatching-parallel-agents to investigate these independent failures concurrently."
Create TodoWrite tracker:
Test for independence:
- Ask: "If I fix failure A, does it affect failure B?"
- If NO → Independent
- If YES → Related, investigate together
- Check: "Do failures touch same code/files?"
- If NO → Likely independent
- If YES → Check if different functions/areas
- Verify: "Do failures share error patterns?"
- If NO → Independent
- If YES → Might be same root cause
Example independence check:
Group failures by what's broken:
- File A tests: Tool approval flow
- File B tests: Batch completion behavior
- File C tests: Abort functionality
Step 2: Create Focused Agent Tasks
Each agent prompt must have:
- Specific scope: One test file or subsystem
- Clear goal: Make these tests pass
- Constraints: Don't change other code
- Expected output: Summary of what you found and fixed
Good agent prompt example:
What makes this good:
- Specific test failures listed
- Context provided (timing/race conditions)
- Clear methodology (read, identify, fix)
- Constraints (don't just increase timeouts)
- Output format (summary)
Common mistakes:
❌ Too broad: "Fix all the tests" - agent gets lost ✅ Specific: "Fix agent-tool-abort.test.ts" - focused scope
❌ No context: "Fix the race condition" - agent doesn't know where ✅ Context: Paste the error messages and test names
❌ No constraints: Agent might refactor everything ✅ Constraints: "Do NOT change production code" or "Fix tests only"
❌ Vague output: "Fix it" - you don't know what changed ✅ Specific: "Return summary of root cause and changes"
Step 3: Dispatch All Agents in Parallel
CRITICAL: You must dispatch all agents in a SINGLE message with multiple Task() calls.
After dispatch:
- Mark "Dispatch agents in parallel" as completed in TodoWrite
- Mark "Monitor agent progress" as in_progress
- Wait for all agents to complete before integration
Step 4: Monitor Progress
As agents work:
- Note which agents have completed
- Note which are still running
- Don't start integration until ALL agents done
If an agent gets stuck (>5 minutes):
- Check AgentOutput to see what it's doing
- If stuck on wrong path: Cancel and retry with clearer prompt
- If needs context from other domain: Wait for other agent, then restart with context
- If hit real blocker: Investigate blocker yourself, then retry
Step 5: Review Results and Check Conflicts
When all agents return:
- Read each summary carefully
- What was the root cause?
- What did the agent change?
- Were there any uncertainties?
- Check for conflicts
- Did multiple agents edit same files?
- Did agents make contradictory assumptions?
- Are there integration points between domains?
- Integration strategy:
- If no conflicts: Apply all changes
- If conflicts: Resolve manually before applying
- If assumptions conflict: Verify with user
- Document what happened
- Which agents fixed what
- Any conflicts found
- Integration decisions made
Step 6: Verify Integration
Run full test suite:
- Not just the fixed tests
- Verify no regressions in other areas
- Use hyperpowers:verification-before-completion skill
Before completing:
</the_process>
<examples> <example> <scenario>Developer dispatches agents sequentially instead of in parallel</scenario>
<code>
Developer sees 3 independent failures
Creates 3 agent prompts
Dispatches first agent
Task("Fix agent-tool-abort.test.ts failures", prompt1)
Waits for response from agent 1
Then dispatches second agent
Task("Fix batch-completion-behavior.test.ts failures", prompt2)
Waits for response from agent 2
Then dispatches third agent
Task("Fix tool-approval-race-conditions.test.ts failures", prompt3)
Total time: Sum of all three agents (sequential)
</code>
<why_it_fails>
- Agents run sequentially, not in parallel
- No time savings from parallelization
- Each agent waits for previous to complete
- Defeats entire purpose of parallel dispatch
- Same result as sequential investigation
- Wasted overhead of creating separate agents
</why_it_fails>
<correction> Dispatch all agents in SINGLE message:
What happens:
- All three agents start simultaneously
- Each investigates independently
- All complete in parallel
- Total time: Max(agent1, agent2, agent3) instead of Sum
What you gain:
- True parallelization - 3 problems solved concurrently
- Time saved: 3 investigations in time of 1
- Each agent focused on narrow scope
- No waiting for sequential completion
- Proper use of parallel dispatch pattern
</correction> </example>
<example> <scenario>Developer assumes failures are independent without verification</scenario>
<code>
Developer sees 3 test failures:
- API endpoint tests failing
- Database query tests failing
- Cache invalidation tests failing
Thinks: "Different subsystems, must be independent"
Dispatches 3 agents immediately without checking independence
Agent 1 finds: API failing because database schema changed
Agent 2 finds: Database queries need migration
Agent 3 finds: Cache keys based on old schema
All three failures caused by same root cause: schema change
Agents make conflicting fixes based on different assumptions
Integration fails because fixes contradict each other
</code>
<why_it_fails>
- Skipped independence verification (Step 1)
- Assumed independence based on surface appearance
- All failures actually shared root cause (schema change)
- Agents worked in isolation without seeing connection
- Each agent made different assumptions about correct schema
- Conflicting fixes can't be integrated
- Wasted time on parallel work that should have been unified
- Have to throw away agent work and start over
</why_it_fails>
<correction> Run independence check FIRST:
Correct approach:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dispatching-parallel-agents/SKILL.md
Popularity
- Repository stars
- 80
- Repository forks
- 16
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 7 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/withzombies/hyperpowers/dispatching-parallel-agents)