Agent skill

Agent Swarm

by ruvnet in ruvnet/ruflo

Agent skill for swarm - invoke with $agent-swarm. An agent skill from ruvnet/ruflo.

MITAuto-check passedAgent Workflows

Install Agent Swarm

skills CLI
$ npx skills add ruvnet/ruflo --skill agent-swarm -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo agent-swarm --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/agent-swarm .claude/skills/agent-swarm && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
agent-swarm
GitHub stars
74k
Used in
2 other repos
Token cost
~891 tokens
SKILL.md length
314 words
Files
1
Skills in repo
264
Repo updated
First seen
Licence
MIT

At a glance

Agent skill for swarm - invoke with $agent-swarm. An agent skill from ruvnet/ruflo.

  • Works in 6 steps: Task Analysis: Break down complex… → Topology Selection: Choose optimal swarm… → Agent Deployment: Spawn specialized… → …
  • Tasks that involve Multi-agent orchestration
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Agent Swarm is an agent skill from ruvnet/ruflo. Agent skill for swarm - invoke with $agent-swarm

Its SKILL.md is about 890 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Multi-agent orchestration. The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Tasks that involve Multi-agent orchestration

Example prompts

  • “/agent-swarm”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Task Analysis: Break down complex objectives into manageable agent tasks
  2. Topology Selection: Choose optimal swarm structure based on task requirements
  3. Agent Deployment: Spawn specialized agents with appropriate capabilities
  4. Coordination Setup: Establish communication patterns and workflow orchestration
  5. Performance Monitoring: Track swarm efficiency and agent utilization
  6. Dynamic Scaling: Adjust swarm size based on workload and performance metrics

What it can do on your machine

Read from SKILL.md and the folder at commit 58e0ae7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Agent Swarm loads about 891 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 314 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~891

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit 58e0ae7, republished under its MIT licence (© ruvnet). 314 words, ~891 tokens.

Download SKILL.mdSave it as .claude/skills/agent-swarm/SKILL.md (or your agent's skills folder).
name
agent-swarm
description
Agent skill for swarm - invoke with $agent-swarm

name: flow-nexus-swarm description: AI swarm orchestration and management specialist. Deploys, coordinates, and scales multi-agent swarms in the Flow Nexus cloud platform for complex task execution. color: purple

You are a Flow Nexus Swarm Agent, a master orchestrator of AI agent swarms in cloud environments. Your expertise lies in deploying scalable, coordinated multi-agent systems that can tackle complex problems through intelligent collaboration.

Your core responsibilities:

  • Initialize and configure swarm topologies (hierarchical, mesh, ring, star)
  • Deploy and manage specialized AI agents with specific capabilities
  • Orchestrate complex tasks across multiple agents with intelligent coordination
  • Monitor swarm performance and optimize agent allocation
  • Scale swarms dynamically based on workload and requirements
  • Handle swarm lifecycle management from initialization to termination

Your swarm orchestration toolkit:

javascript
// Initialize Swarm
mcp__flow-nexus__swarm_init({
  topology: "hierarchical", // mesh, ring, star, hierarchical
  maxAgents: 8,
  strategy: "balanced" // balanced, specialized, adaptive
})

// Deploy Agents
mcp__flow-nexus__agent_spawn({
  type: "researcher", // coder, analyst, optimizer, coordinator
  name: "Lead Researcher",
  capabilities: ["web_search", "analysis", "summarization"]
})

// Orchestrate Tasks
mcp__flow-nexus__task_orchestrate({
  task: "Build a REST API with authentication",
  strategy: "parallel", // parallel, sequential, adaptive
  maxAgents: 5,
  priority: "high"
})

// Swarm Management
mcp__flow-nexus__swarm_status()
mcp__flow-nexus__swarm_scale({ target_agents: 10 })
mcp__flow-nexus__swarm_destroy({ swarm_id: "id" })

Your orchestration approach:

  1. Task Analysis: Break down complex objectives into manageable agent tasks
  2. Topology Selection: Choose optimal swarm structure based on task requirements
  3. Agent Deployment: Spawn specialized agents with appropriate capabilities
  4. Coordination Setup: Establish communication patterns and workflow orchestration
  5. Performance Monitoring: Track swarm efficiency and agent utilization
  6. Dynamic Scaling: Adjust swarm size based on workload and performance metrics

Swarm topologies you orchestrate:

  • Hierarchical: Queen-led coordination for complex projects requiring central control
  • Mesh: Peer-to-peer distributed networks for collaborative problem-solving
  • Ring: Circular coordination for sequential processing workflows
  • Star: Centralized coordination for focused, single-objective tasks

Agent types you deploy:

  • researcher: Information gathering and analysis specialists
  • coder: Implementation and development experts
  • analyst: Data processing and pattern recognition agents
  • optimizer: Performance tuning and efficiency specialists
  • coordinator: Workflow management and task orchestration leaders

Quality standards:

  • Intelligent agent selection based on task requirements
  • Efficient resource allocation and load balancing
  • Robust error handling and swarm fault tolerance
  • Clear task decomposition and result aggregation
  • Scalable coordination patterns for any swarm size
  • Comprehensive monitoring and performance optimization

When orchestrating swarms, always consider task complexity, agent specialization, communication efficiency, and scalable coordination patterns that maximize collective intelligence while maintaining system stability.

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/agent-swarm of ruvnet/ruflo.

Open the folder on GitHubat commit 58e0ae7

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in ruvnet/ruflo, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Agent Swarm next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Agent Swarm compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Agent Swarm this skillruvnet/ruflo74k2 repos~891Automated safety check: PassMIT
Orca CLIstablyai/orca88k2 repos~593Automated safety check: PassMIT
Paseo Advisor Second Opiniongetpaseo/paseo20k1 repos~756Automated safety check: PassCustom licence
O2 Review Loopopenobserve/openobserve22k—~3.7kAutomated safety check: PassAGPL-3.0
Paseo Committeegetpaseo/paseo20k1 repos~496Automated safety check: PassCustom licence
Mission Control Agent APIbuilderz-labs/mission-control6.3k—~2.1kAutomated safety check: PassMIT

Similar skills

  • Orca CLI

    stablyai/orca

    Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…

    88k GitHub starsUsed in 2 repos~593 tokens
    Agent WorkflowsAuto-check passed
  • Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.

    20k GitHub starsUsed in 1 repo~756 tokens
    Agent WorkflowsAuto-check passed
  • O2 Review Loop

    openobserve/openobserve

    Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.

    22k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Paseo Committee

    getpaseo/paseo

    Forms a two-agent committee with contrasting profiles to analyze a stuck problem in parallel, reconcile their views and return a consensus plan without editing files.

    20k GitHub starsUsed in 1 repo~496 tokens
    Agent WorkflowsAuto-check passed
  • Mission Control Agent API

    builderz-labs/mission-control

    Teaches an agent to use the Mission Control dashboard API: register, send heartbeats, fetch assigned tasks, report progress and disconnect, with API key auth.

    6.3k GitHub stars~2.1k tokensUpdated 11 days ago
    Agent WorkflowsAuto-check passed
  • Paseo Agent Handoff

    getpaseo/paseo

    Hands off the current task, including context, decisions and failed attempts, to a fresh agent through Paseo by writing a self-contained briefing prompt and launching that agent.

    20k GitHub starsUsed in 1 repo~606 tokens
    Agent WorkflowsAuto-check passed

More from ruvnet/ruflo

All 264 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 2 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Categories

Questions about Agent Swarm

What does Agent Swarm do?

Agent skill for swarm - invoke with $agent-swarm. An agent skill from ruvnet/ruflo. Agent Swarm is an agent skill from ruvnet/ruflo.

When should I use Agent Swarm?

Agent Swarm fits situations like: tasks that involve Multi-agent orchestration.

How do I install Agent Swarm in Claude Code?

Run `npx skills add ruvnet/ruflo --skill agent-swarm -a claude-code`. Or copy the skill folder (.agents/skills/agent-swarm in ruvnet/ruflo) into .claude/skills/agent-swarm in your project. Claude Code loads it when a task matches its description.

How do I install Agent Swarm in Codex?

Run `npx skills add ruvnet/ruflo --skill agent-swarm -a codex`. Or copy the skill folder (.agents/skills/agent-swarm in ruvnet/ruflo) into .agents/skills/agent-swarm in your project. Codex loads it when a task matches its description.

Can I use Agent Swarm in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill agent-swarm -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/agent-swarm, .gemini/skills/agent-swarm, .github/skills/agent-swarm and .opencode/skills/agent-swarm in your project.

What does Agent Swarm need to run?

SKILL.md names no scripts, command-line tools or credentials: Agent Swarm is instructions for the agent only.

Does Agent Swarm access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Agent Swarm safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Agent Swarm use?

Agent Swarm is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Agent Swarm use?

About 891 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Agent Swarm?

Skills that share tags, products or a category with Agent Swarm: Orca CLI (stablyai/orca, 88k stars), Paseo Advisor Second Opinion (getpaseo/paseo, 20k stars), O2 Review Loop (openobserve/openobserve, 22k stars) and Paseo Committee (getpaseo/paseo, 20k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Agent Swarm?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,159 GitHub stars. The repository holds 264 skills in this directory. The repository was last updated on October 9, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.