Skip to content
Skill

Swarm Orchestration

Coordinates multiple AI agents in parallel, pipelined or adaptive topologies

Swarm Orchestration is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
106K
Last commit
License
MIT
Listing updated

Similar skills

About Swarm Orchestration

This skill guides an agent through orchestrating a group of cooperating agents using the agentic-flow toolkit. It describes mesh, hierarchical and adaptive topologies, where peers share decisions, a central queen directs specialized workers, or the swarm picks a layout based on task complexity.

The instructions cover running tasks in parallel or as dependent pipeline stages, sharing state through a swarm memory store, and enabling load balancing, retries with exponential backoff and task reassignment on failure. It also shows how to track throughput, latency and success rate, and how to wire agentic-flow hooks for pre-task, post-task and session-restore coordination.

The skill expects Node.js 18 or newer and agentic-flow v3.0.0-alpha.1 or later. It ships only a single SKILL.md with no bundled scripts, so the commands and TypeScript APIs it shows are run against that toolkit.

When your agent uses it

Orchestrate multi-agent swarms with agentic-flow for parallel task execution, dynamic topology, and intelligent coordination. Use when scaling beyond single agents, implementing complex workflows, or building distributed AI systems.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (4 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/swarm-orchestration to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/swarm-orchestration &&
cp -R "$tmp/.claude/skills/swarm-orchestration" ~/.claude/skills/swarm-orchestration &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/swarm-orchestration inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/swarm-orchestration to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/swarm-orchestration &&
cp -R "$tmp/.claude/skills/swarm-orchestration" ~/.agents/skills/swarm-orchestration &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/swarm-orchestration inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/swarm-orchestration to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/swarm-orchestration &&
cp -R "$tmp/.claude/skills/swarm-orchestration" ~/.cursor/skills/swarm-orchestration &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/swarm-orchestration inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ruvnet/RuView.git --path .claude/skills/swarm-orchestration

Or copy the folder to ~/.gemini/skills/swarm-orchestration yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/swarm-orchestration:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruvnet/RuView.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/swarm-orchestration &&
cp -R "$tmp/.claude/skills/swarm-orchestration" ~/.copilot/skills/swarm-orchestration &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/swarm-orchestration inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ruvnet/RuView.git

Then copy RuView/.claude/skills/swarm-orchestration into your agent's skills folder as swarm-orchestration. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Swarm topology selection
Explains mesh, hierarchical and adaptive layouts and when each fits a task.
Parallel and pipeline execution
Shows how to run agents concurrently or in ordered stages with dependencies.
Shared swarm memory
Describes storing and retrieving state that agents in the swarm can read.
Load balancing setup
Covers enabling dynamic work distribution based on CPU, memory and queue metrics.
Failure handling
Outlines retry with backoff and reassigning tasks when an agent fails.
Hook-based coordination
Lists agentic-flow hook commands for pre-task, post-task and session restore.

Good for

  • Split a REST API build into coder, tester and reviewer agents working in parallel
  • Run a design, implement, test and review pipeline across several agents
  • Coordinate a hierarchical team of backend, frontend and database agents under one architect
  • Track throughput and success rate across a multi-agent workflow
  • Resume a swarm session from a saved session identifier

Swarm Orchestration FAQ

What does Swarm Orchestration need installed?

Node.js 18 or newer and agentic-flow v3.0.0-alpha.1 or later are listed as prerequisites.

When should the agent use Swarm Orchestration?

The skill is meant for scaling beyond a single agent, complex multi-step workflows, or building distributed AI systems.

Does the skill include scripts or extra files?

No. The folder contains only the SKILL.md file, and no scripts are bundled.

Which topologies does Swarm Orchestration support?

Mesh (peer-to-peer), hierarchical (queen and workers) and adaptive, which switches topology based on the task.

How do I install Swarm Orchestration in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/swarm-orchestration to use it in all your projects, or to .claude/skills/swarm-orchestration in one project.

Does Swarm Orchestration run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Swarm Orchestration?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Swarm Orchestration?

The closest alternatives to Swarm Orchestration are V3 Swarm Coordination, Orchestration, V3 Deep Integration, Swarm and Orchestrate.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ruvnet/RuView

  1. Guides an agent through splitting a large claude-flow v3 codebase into bounded contexts

    • Open source
    • 106K GitHub stars
    • Developer tools
  2. Runs tiered Homecore test profiles (core, Wasmtime, HAP, full) against a checkout

    • Open source
    • 106K GitHub stars
    • Developer tools
  3. Turns a feature request into a file-level implementation plan before any code is written

    • Open source
    • 106K GitHub stars
    • Developer tools
  4. Drives the RuView CLI, REST API and WASM builds from scripts, servers or browsers

    • Open source
    • 106K GitHub stars
    • Developer tools
  5. Gives agents a ReasoningBank layer to record outcomes and reuse learned strategies

    • Open source
    • 106K GitHub stars
    • AI models and LLM tooling
  6. Guides an agent in modernizing claude-flow v3 CLI commands, prompts and hooks

    • Open source
    • 106K GitHub stars
    • Developer tools