Skip to content
Back to skills

435 Parallel Dispatcher 119b8526

ASecurity

Dispatch multiple task-workers in parallel based on DAG dependencies.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentsbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 435-parallel-dispatcher_119b8526 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 435 Parallel Dispatcher 119b8526?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 435 Parallel Dispatcher 119b8526
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-435-parallel-dispatcher-119b8526/badge)](https://www.skillsdirectory.com/skills/tools-only-435-parallel-dispatcher-119b8526)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: parallel-dispatcher
description: "Dispatch multiple task-workers in parallel based on DAG dependencies."
arguments:
  - name: track_id
    description: "The track ID to execute in parallel"
    required: true
user_invocable: true
---

# /parallel-dispatcher — Parallel Task Execution

Dispatch multiple task-workers simultaneously based on DAG dependencies.

## Usage

```bash
/parallel-dispatcher <track-id>
```

## Your Task

You ARE the parallel-dispatcher agent. Coordinate parallel execution.

### 1. Parse DAG from Plan

Read `conductor/tracks/{track_id}/plan.md` and extract the DAG section.

### 2. Initialize Message Bus

```bash
mkdir -p .message-bus/events
echo "{}" > .message-bus/locks.json
echo "{}" > .message-bus/worker-status.json
```

### 3. Find Ready Tasks

Tasks are ready when all their `depends_on` tasks are complete.

### 4. Dispatch Workers in Parallel

Spawn multiple Claude sessions for conflict-free tasks:

```bash
# Spawn parallel workers (max 5 concurrent)
claude --print "/task-worker {track_id} 1.1" &
claude --print "/task-worker {track_id} 1.2" &
claude --print "/task-worker {track_id} 2.1" &

# Wait for batch to complete
wait
```

### 5. Monitor Progress

```bash
# Check for completion events
ls .message-bus/events/TASK_COMPLETE_*.event
ls .message-bus/events/TASK_FAILED_*.event
```

### 6. Handle Failures

- Isolate failed tasks
- Continue with unblocked tasks
- Mark failed tasks for FIX step

### 7. Repeat Until Done

Find next batch of ready tasks and dispatch.

## Worker Pool Limits

- Maximum 5 concurrent workers
- 30-minute timeout per worker
- Heartbeat required every 5 minutes

## Output

```
PARALLEL EXECUTION COMPLETE
WORKERS SPAWNED: X
TASKS COMPLETED: Y
TASKS FAILED: Z
```

## State Update

After all parallel groups complete:
- Set `current_step = "EVALUATE_EXECUTION"`
- Set `step_status = "NOT_STARTED"`

## Message Bus

```bash
echo "PASS" > .message-bus/events/PARALLEL_COMPLETE_{track_id}.event
```

## Reference

Full agent instructions: `.claude/agents/parallel-dispatcher.md`

Files in this skill

  • README.md922 B
  • skill.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.