swarm

Coordinate parallel bead execution without a lead agent via shared bead state.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/cmtkdot/arc --skill swarm-cmtkdot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swarm
Source: https://github.com/cmtkdot/arc/tree/main/skills/swarm
Command: npx skills add https://github.com/cmtkdot/arc --skill swarm-cmtkdot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Swarm enables parallel bead execution without a lead agent by letting workers coordinate through a shared bead state, maximizing throughput when dependency graphs have wide parallelism.

Core Features & Use Cases

  • Self-coordinate through Beads state; no lead agent; workers claim beads and run in parallel up to configured limit.
  • Track completion and unblocking downstream beads; handle re-queue of ready beads.
  • Optional work-tree isolation via the --worktree workflow; safe for concurrent operations.
  • Robust error handling: deadlock detection, zombie beads, and safe merge policies.

Quick Start

Identify ready beads and start swarm execution by launching workers up to the configured limit.

Frequently Asked Questions about swarm

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

FAQPage Schema
How do I execute parallel tasks without a lead agent for high-throughput processing?

Parallel execution without a lead agent uses a swarm model where workers self-coordinate through shared state, claim tasks, and run concurrently up to a configured limit to maximize throughput across wide dependency graphs.

How does parallel execution handle downstream dependencies and re-queueing ready tasks?

Parallel execution tracks task completion and automatically unblocks downstream dependencies, dynamically re-queueing ready tasks into a defined ready-set so available workers can resume processing without waiting for a central lead.

Can I isolate concurrent file operations using worktree isolation in a parallel workflow?

Yes, you can isolate concurrent file operations using optional worktree isolation, which creates safe execution environments for parallel workers to operate without file conflicts when processing largely independent tasks.

What is the best way to coordinate parallel workers when tasks are largely independent?

The best way to coordinate independent parallel tasks is a swarm model, allowing workers to self-coordinate through shared state rather than relying on a lead agent, enabling high-throughput processing when file conflicts are rare.

How does failure handling work for parallel execution with deadlock detection and zombie tasks?

Failure handling in parallel execution includes robust mechanisms like deadlock detection, identification of zombie tasks, and safe merge policies, ensuring the system safely recovers from stalled or failed worker lifecycles.

When should I avoid using a swarm model for parallel execution?

Avoid a swarm model for parallel execution when tasks have frequent file conflicts or tight interdependencies, as the model is optimized for largely independent tasks where dynamic blocking and re-scheduling overhead is minimal.