universal/collaboration/dispatching-parallel-agents/SKILL.md
Use multiple Claude agents to investigate and fix independent problems concurrently
npx skillsauth add bobmatnyc/claude-mpm-skills dispatching-parallel-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When multiple unrelated failures occur (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.
Activate this skill when facing:
Don't use when:
One agent, one problem domain, one clear outcome.
Never overlap scopes. Never share state. Always integrate consciously.
Problems must be truly independent - no shared files, no related root causes, no dependencies between fixes.
Each agent gets narrow scope: one test file, one subsystem, one clear goal. Broad tasks lead to confusion.
Every agent must return a summary: what was found, what was fixed, what changed. No silent fixes.
Don't blindly merge agent work. Review summaries, check conflicts, run full suite, verify compatibility.
Group failures by what's broken:
File A tests: Tool approval flow
File B tests: Batch completion behavior
File C tests: Abort functionality
Each domain is independent - fixing tool approval doesn't affect abort tests.
Each agent gets:
→ agent-prompts.md for prompt templates and examples
// In Claude Code / AI environment
Task("Fix agent-tool-abort.test.ts failures")
Task("Fix batch-completion-behavior.test.ts failures")
Task("Fix tool-approval-race-conditions.test.ts failures")
// All three run concurrently
→ coordination-patterns.md for dispatch strategies
When agents return:
→ troubleshooting.md for conflict resolution
Multiple failures?
└→ Are they independent?
├→ NO (related) → Single agent investigates all
└→ YES → Can they work in parallel?
├→ NO (shared state) → Sequential agents
└→ YES → Parallel dispatch ✓
When dispatching parallel agents, consider these complementary skills (available in the skill library):
STOP immediately if:
When in doubt: Start with one agent, understand the landscape, then dispatch if truly independent.
Prerequisite: Basic understanding of problem domains and test structure Complementary: PM-Workflow skill for coordinating multiple agents (see skill library) Domain-specific: Testing skills for understanding test failures (available in skill library)
From debugging session (2025-10-03):
→ examples.md for detailed case study
tools
Xquik X data automation API - Use REST or MCP for tweet search, user lookup, follower exports, media downloads, monitors, webhooks, giveaway draws, and confirmation-gated X actions.
tools
LinkedIn automation via the Linked API CLI - fetch profiles, search people and companies, send messages, manage connections, create posts, react, comment, and run Sales Navigator and custom workflows. Use when the user wants to interact with LinkedIn.
tools
MCP (Model Context Protocol) server build and evaluation guide, including local conventions for tool surfaces, config, and testing
tools
MCP (Model Context Protocol) - Build AI-native servers with tools, resources, and prompts. TypeScript/Python SDKs for Claude Desktop integration.