parallel-dispatch

RustyLindquist's avatarfrom RustyLindquist

Coordinate simultaneous agent execution for independent tasks. Use when multiple tasks can run in parallel without dependencies.

0stars🔀0forks📁View on GitHub🕐Updated Jan 11, 2026

When & Why to Use This Skill

This Claude skill enables high-efficiency multi-agent orchestration by coordinating the simultaneous execution of independent tasks. It streamlines complex workflows by identifying parallelizable work, dispatching multiple agents in a single message, and synthesizing their outputs to minimize latency and maximize productivity in agentic environments.

Use Cases

  • Multi-Feature Bug Fixing: Resolving independent bugs across different modules or UI components simultaneously to reduce total resolution time.
  • Parallel Research and Analysis: Gathering information from multiple sources or conducting research across different features concurrently to speed up the discovery phase.
  • Decoupled Development: Executing frontend and backend tasks in parallel when clear API contracts are established, allowing for faster feature delivery.
  • Batch Operations and Refactoring: Performing updates, documentation generation, or code refactoring across multiple independent files or components in a single execution wave.
nameparallel-dispatch
descriptionCoordinate simultaneous agent execution for independent tasks. Use when multiple tasks can run in parallel without dependencies.

Parallel Dispatch

Coordinate multiple agents working simultaneously on independent tasks.

Purpose

Maximize efficiency by:

  1. Identifying parallelizable work
  2. Dispatching multiple agents in a single message
  3. Tracking parallel execution
  4. Synthesizing results

When to Use

  • Multiple independent bug fixes
  • Research across different features
  • Frontend AND backend work (when API contract is clear)
  • Multiple file/component updates
  • Batch operations

When NOT to Use

  • Tasks have data dependencies
  • One task's output is another's input
  • Sequential workflow required
  • Shared state being modified

Parallelization Analysis

Step 1: Identify Tasks

List all discrete tasks to be done:

## Tasks Identified

1. [Task A]: [description]
2. [Task B]: [description]
3. [Task C]: [description]

Step 2: Dependency Check

For each pair of tasks, check:

Task A Task B Dependency? Reason
T1 T2 No Different features
T1 T3 Yes T3 needs T1's output
T2 T3 No Independent

Step 3: Group into Waves

## Execution Waves

### Wave 1 (Parallel)
- Task A → @frontend-agent
- Task B → @research-agent

### Wave 2 (After Wave 1)
- Task C → @backend-agent (needs T1 output)

Step 4: Dispatch

CRITICAL: Send all parallel tasks in a single message with multiple Task tool calls.

## Parallel Dispatch

Spawning agents in parallel for Wave 1:

@frontend-agent: [Task A instructions]
@research-agent: [Task B instructions]

Step 5: Synthesize

When all agents return:

## Results Synthesis

### From Frontend Agent
- Completed: [summary]
- Files changed: [list]
- Issues found: [if any]

### From Research Agent
- Findings: [summary]
- Recommendations: [list]

### Combined Status
- [ ] All tasks complete
- [ ] No conflicts between changes
- [ ] Ready for next wave / done

Parallel Patterns

Pattern 1: Multi-Feature Bug Fixes

Wave 1 (Parallel):
├── @frontend-agent: Fix button alignment in Dashboard
├── @frontend-agent: Fix modal close behavior in Settings
└── @backend-agent: Fix validation error in enrollment action

Pattern 2: Research + Implementation

Wave 1 (Parallel):
├── @research-agent: Find all usages of deprecated API
└── @doc-agent: Load feature docs for migration

Wave 2 (After research):
└── @backend-agent: Update all usages per research findings

Pattern 3: Frontend + Backend (Clear Contract)

Wave 1 (Parallel, when API contract defined):
├── @frontend-agent: Build UI for new feature (mock data)
└── @backend-agent: Implement server actions per spec

Wave 2 (Integration):
└── @frontend-agent: Connect UI to real API

Cost Awareness

Configuration Relative Cost
Sequential agents N × 4x = 4Nx
Parallel agents N × 4x = 4Nx (same cost, faster)
But: Context duplication overhead ~15x for many agents

Best practice: Parallelize 2-4 agents max. Beyond that, overhead exceeds benefit.

Output Format

## Parallel Dispatch Report

### Wave 1 Dispatch
| Agent | Task | Status |
|-------|------|--------|
| @frontend-agent | [task] | Dispatched |
| @backend-agent | [task] | Dispatched |

### Wave 1 Results
| Agent | Outcome | Files Changed |
|-------|---------|---------------|
| @frontend-agent | Success | [files] |
| @backend-agent | Success | [files] |

### Synthesis
- Conflicts: [None / List]
- Follow-up needed: [None / List]
- Ready for: [Next wave / Testing / Done]

Integration with Task Router

Use /task-router first to analyze task dependencies, then /parallel-dispatch to execute.

1. /task-router → Identifies tasks and dependencies
2. /parallel-dispatch → Groups into waves and executes
parallel-dispatch – AI Agent Skills | Claude Skills