swarm-coordination

Coordinate multi-agent parallel task execution with Swarm Mail and swarm tools.

38|3|Updated Mar 22, 2024
One-click install
npx skills add https://github.com/anthonyshew/dotfiles --skill swarm-coordination-anthonyshew
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swarm-coordination
Source: https://github.com/anthonyshew/dotfiles/tree/main/opencode/.config/opencode/skill/swarm-coordination
Command: npx skills add https://github.com/anthonyshew/dotfiles --skill swarm-coordination-anthonyshew

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Swarm coordination enables multi-agent orchestration for parallel task execution. The coordinator breaks work into subtasks, spawns worker agents, monitors progress, and aggregates results.

Core Features & Use Cases

  • Cooperative decomposition: Break tasks into parallel subtasks and assign to specialists.
  • Mandatory communication layer: Use Swarm Mail for messaging, reservations, and progress updates.
  • Lifecycle & monitoring: Spawn workers, track status, and aggregate outcomes; supports review loops and quality gates.

Quick Start

  1. Identify a complex task that could be parallelized and gather knowledge sources (semantic memory, CASS, pdf-brain, and skills list).
  2. Decompose the task using swarm_plan_prompt, validate the decomposition, and create an epic with subtasks.
  3. Spawn workers with swarm_spawn_subtask, assign files, and monitor inbox and status; complete and review when done.

Frequently Asked Questions about swarm-coordination

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate multiple AI agents for parallel task execution?

Multi-agent coordination uses a shared context to decompose complex tasks into parallel subtasks, spawn specialized worker agents, monitor progress, and aggregate final results.

What is task decomposition in multi-agent orchestration?

Task decomposition breaks complex work into parallel subtasks using validation tools, creating an epic structure that assigns specific components to individual specialist agents.

How do I manage communication between parallel AI agents?

Parallel AI agents communicate through Swarm Mail, a mandatory messaging layer that handles reservations, context-sharing, and progress updates across the shared coordinator environment.

Can I track the lifecycle and progress of spawned worker agents?

Worker agent lifecycle is tracked using status and progress tools to monitor spawned subtasks, enforce quality gates through review loops, and aggregate final outcomes.

What's the best way to validate parallel task decomposition before spawning agents?

Validate parallel task decomposition by applying validation tools to the planned prompt, ensuring the epic and subtask structure is sound before spawning specialist workers.

Do I need external dependencies to run swarm coordination?

Swarm coordination requires no external dependencies, relying entirely on built-in decomposition, spawning, and monitoring tools alongside shared context and memory utilities.