Back to list
doanchienthangdev

dispatching-parallel-agents

by doanchienthangdev

Omega Vibecode Kit

2🍴 1📅 Jan 21, 2026

SKILL.md


name: dispatching-parallel-agents description: AI agent orchestrates parallel task execution through concurrent specialized agents for maximum efficiency. Use when tasks can run independently, multi-concern reviews, or parallel exploration.

Dispatching Parallel Agents

Quick Start

  1. Analyze - Identify independent vs dependent tasks
  2. Group - Create parallel groups with no shared dependencies
  3. Specialize - Assign agents by expertise (explorer, implementer, reviewer)
  4. Dispatch - Fan-out tasks with timeouts and concurrency limits
  5. Aggregate - Combine results using merge, consensus, or priority
  6. Handle Errors - Retry failed, continue with partial, or fail-fast

Features

FeatureDescriptionGuide
Task AnalysisIdentify parallelizable workNo data deps, no shared files, no state
Agent SpecializationMatch agent type to taskExplorer, implementer, tester, reviewer
Fan-Out/Fan-InParallel dispatch and aggregationPromise.all for dispatch, merge results
Concurrency LimitsControl parallel agent countPrevent resource exhaustion
Timeout HandlingBound execution time per agentRace with timeout, handle gracefully
Error StrategiesHandle partial failuresRetry, continue, or fail-fast

Common Patterns

# Parallel Execution Model
         [Main Agent (Orchestrator)]
                    |
         [Task Analysis & Distribution]
                    |
    +---------------+---------------+
    |               |               |
[Agent A]      [Agent B]      [Agent C]
(Task 1)       (Task 2)       (Task 3)
    |               |               |
    +-------+-------+-------+-------+
            |
    [Aggregation & Integration]
            |
      [Final Response]

TIMING:
Sequential: ████████████████████████████
Parallel:   ████████████  (max of tasks)
// Fan-out/Fan-in Pattern
const [security, performance, style] = await Promise.all([
  spawnAgent({ type: 'reviewer', focus: 'security' }),
  spawnAgent({ type: 'reviewer', focus: 'performance' }),
  spawnAgent({ type: 'reviewer', focus: 'style' }),
]);
return combineReviews([security, performance, style]);

// Parallelization Criteria
CAN PARALLELIZE:
- Independent code changes (different files)
- Research on different topics
- Tests for different modules
- Multi-concern code reviews

CANNOT PARALLELIZE:
- Tasks with data dependencies
- Sequential workflow steps
- Tasks modifying same files
- Tasks sharing mutable state
# Agent Specialization
| Type | Strengths | Best For |
|------|-----------|----------|
| explorer | Finding files, patterns | Initial exploration |
| implementer | Writing production code | Features, bug fixes |
| tester | Test design, edge cases | Unit/integration tests |
| reviewer | Issue identification | Code review, security |
| documenter | Clear explanations | Docs, comments |

Best Practices

DoAvoid
Identify truly independent tasks firstParallelizing tasks that share state
Use specialized agents for concernsOne agent doing everything
Set appropriate timeouts per agentUnbounded execution time
Handle partial failures gracefullyIgnoring failed agent results
Use concurrency limitsSpawning unlimited agents
Aggregate results meaningfullySkipping result combination
Document dependencies between tasksAssuming order of completion
Clean up agent resourcesResource leaks from agents
  • optimizing-tokens - Efficient context per agent
  • thinking-sequentially - Order dependent tasks
  • writing-plans - Plan parallel execution phases
  • executing-plans - Execute with parallel steps

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon