bobmatnyc/claude-mpm/dispatching-parallel-agents
Claude Code and agent skill by bobmatnyc/claude-mpm
- community
Checking that the SKILL.md file is still in the repository.
Use multiple Claude agents to investigate and fix independent problems concurrently
Install
npx vskill@latest install bobmatnyc/claude-mpm/dispatching-parallel-agentsSKILL.md
Dispatching Parallel Agents
SCOPE: ORCHESTRATOR / PM-LEVEL ONLY (#581). This skill describes thetop-level orchestrator (PM) capability to spawn parallel agents via theAgent/Tasktool. **Subagents do not have access to the Agent tool andcannot spawn sub-subagents** — agent-spawning is harness-enforced at thetop level. If you are a subagent (engineer, qa, research, etc.), this skilldoes not apply to you: complete your assigned scope and return results tothe PM. (This skill is intentionally not deployed to subagents; seeconfig/skill_to_agent_mapping.yaml.)
Overview
When you have multiple unrelated failures (different test files, different subsystems, different bugs), investigating them sequentially wastes time. Each investigation is independent and can happen in parallel.
Core principle: Dispatch one agent per independent problem domain. Let them work concurrently.
When to Use This Skill
Activate this skill when you're facing:
- 3+ test files failing with different root causes
- Multiple subsystems broken independently
- Each problem is self-contained - can be understood without context from others
- No shared state between investigations
- Clear domain boundaries - fixing one won't affect others
Don't use when:
- Failures are related (fix one might fix others)
- Need to understand full system state first
- Agents would interfere with each other (editing same files)
- Exploratory debugging (don't know what's broken yet)
The Iron Law
Core Principles
Independence is Key
Problems must be truly independent - no shared files, no related root causes, no dependencies between fixes.
Focus Over Breadth
Each agent gets narrow scope: one test file, one subsystem, one clear goal. Broad tasks lead to confusion.
Clear Output Required
Every agent must return a summary: what was found, what was fixed, what changed. No silent fixes.
Conscious Integration
Don't blindly merge agent work. Review summaries, check conflicts, run full suite, verify compatibility.
Quick Start
1. Identify Independent Domains
Group failures by what's broken:
Each domain is independent - fixing tool approval doesn't affect abort tests.
2. Create Focused Agent Tasks
Each agent gets:
- 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
→ agent-prompts.md for prompt templates and examples
3. Dispatch in Parallel
→ coordination-patterns.md for dispatch strategies
4. Review and Integrate
When agents return:
- Read each summary - understand what changed
- Verify fixes don't conflict - check for same file edits
- Run full test suite - ensure compatibility
- Spot check changes - agents can make systematic errors
→ troubleshooting.md for conflict resolution
Decision Tree
Key Benefits
- Parallelization - Multiple investigations happen simultaneously
- Focus - Each agent has narrow scope, less context to track
- Independence - Agents don't interfere with each other
- Speed - N problems solved in time of 1
Navigation
Pattern Reference
- [Coordination Patterns](references/coordination-patterns.md) - Dispatch strategies, domain identification, integration workflows
Agent Management
- [Agent Prompts](references/agent-prompts.md) - Prompt structure, templates, common mistakes, constraints
Learning Resources
- [Examples](references/examples.md) - Real-world scenarios, case studies, time savings analysis
Problem Solving
- [Troubleshooting](references/troubleshooting.md) - Conflict resolution, verification strategies, common pitfalls
Related Skills
- [pm-workflow](../pm-workflow/) - PM coordination and task management
- [test-driven-development](../../testing/test-driven-development/) - TDD patterns that benefit from parallel fixing
- [verification-before-completion](../../productivity/verification-before-completion/) - Integration verification
Key Reminders
- Independence is mandatory - Related failures need single-agent investigation
- Focus beats breadth - Narrow scope per agent prevents confusion
- Always verify integration - Don't blindly merge agent work
- Clear outputs required - Every agent returns summary of changes
- Parallelization has overhead - Only worth it for 3+ independent problems
Red Flags - STOP
STOP immediately if:
- Agents are editing the same files (scope overlap)
- Fixes from one agent break another's work (hidden dependencies)
- You can't clearly separate problem domains (not independent)
- Agents return no summary (can't verify changes)
- Integration requires major refactoring (conflicts)
When in doubt: Start with one agent, understand the landscape, then dispatch if truly independent.
Integration with Other Skills
Prerequisite: Basic understanding of problem domains and test structure Complementary: pm-workflow for coordinating multiple agents Domain-specific: Testing skills for understanding test failures
Real-World Impact
From debugging session (2025-10-03):
- 6 failures across 3 test files
- 3 agents dispatched in parallel
- All investigations completed concurrently
- Zero conflicts between agent changes
- Time saved: 3 problems solved in parallel vs sequentially
→ examples.md for detailed case study
Security
- Security scanPassed, 91 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/claude_mpm/skills/bundled/collaboration/dispatching-parallel-agents/SKILL.md
Popularity
- Repository stars
- 154
- Repository forks
- 34
- Repository npm downloads, 7 days
- 70
- 7-day trend score
- 38
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 27 Sep 2026, a month 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/bobmatnyc/claude-mpm/dispatching-parallel-agents)