Skip to content
Agent Orchestration
Skill

/swarm-cli

Swarm CLI commands for workers - hivemind memory, hive tasks, swarmmail coordination. Use when working in a swarm context. Covers: swarm memory (find/store/get/stats), swarm cells (query/create/update/close), and coordination commands.

From plugin
swarm-tools
7526 skills3 agents6 commands1 MCP

Claude Code

$ npx -y skills add joelhooks/swarm-tools --skill swarm-cli --agent claude-code

SKILL.md

swarm-cli.SKILL.md
name: swarm-cli
description: |
  Swarm CLI commands for workers - hivemind memory, hive tasks, swarmmail coordination.
  Use when working in a swarm context. Covers: swarm memory (find/store/get/stats),
  swarm cells (query/create/update/close), and coordination commands.

Swarm CLI Quick Reference

Memory (Hivemind)

swarm memory find "query"           # Semantic search for learnings
swarm memory find "query" --fts     # Full-text search fallback
swarm memory store "info" --tags x  # Store a learning
swarm memory get <id>               # Get specific memory
swarm memory stats                  # Check memory health

**When to query:**

  • BEFORE starting any task - check for existing solutions
  • When stuck - search for similar problems
  • Before major decisions - find past rationale

**When to store:**

  • Solved a tricky bug (>15min debugging)
  • Found a project-specific pattern
  • Discovered a tool/library gotcha
  • Made an architectural decision

Task Tracking (Hive)

swarm hive ready                    # Get next unblocked task
swarm hive query --status open      # List open tasks
swarm hive create "title" --type bug --priority 1
swarm hive update <id> --status in_progress
swarm hive close <id> "summary"     # Close completed task
swarm tree                          # Visualize task hierarchy

Coordination (Swarm Mail)

swarm mail inbox                    # Check for messages
swarm mail send "coordinator" "Subject" "Body"
swarm mail reserve file.ts          # Reserve file for editing
swarm mail release                  # Release all reservations

Progress & Checkpoints

swarm progress 50 "message"         # Report 50% progress
swarm checkpoint                    # Save context before risky ops
swarm complete "summary"            # Mark task done (releases locks)

Analytics

swarm compliance                    # Check tool usage stats
swarm history                       # Recent swarm activity
swarm dashboard                     # Live worker status UI

Core Workflow

1. `swarm memory find "<task keywords>"` - Check for existing solutions 2. `swarm hive ready` - Get your task 3. `swarm mail reserve <files>` - Lock your files 4. Do the work (TDD: red → green → refactor) 5. `swarm progress 50 "message"` - Report milestones 6. `swarm memory store "learning" --tags "domain"` - Store discoveries 7. `swarm complete "summary"` - Finish and release locks

Tips

  • **Query before coding** - 90% of problems have been solved before
  • **Store actionable learnings** - Include WHY, not just WHAT
  • **Reserve files early** - Prevents edit conflicts with other workers
  • **Report progress** - Silent workers look stuck
  • **Checkpoint before risky ops** - Saves context for recovery
Read more
@joelhooks
Ships withswarm-tools

Multi-agent coordination that survives context death. Break big tasks into small ones. Spawn agents to work in parallel. Learn from what works. swarmtools.ai · Documentation

7526 skills3 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
752
Star history of joelhooks/swarm-tools on GitHub, a chart by star-history.com

Other skills on swarm-tools.

release

release

Handles version bumps and npm releases for the swarm-tools monorepo (opencode-swarm-plugin, claude-code-swarm-plugin, swarm-mail,…

always-on-guidance

always-on-guidance

Always-on rule-oriented guidance for claude-plugin agents. Use to align behavior, tool usage, and model-specific defaults while…

swarm-coordination

swarm-coordination

Multi-agent coordination patterns for OpenCode swarm workflows. Use when work benefits from parallelization or coordination.…

ralph-supervisor

ralph-supervisor

Ralph loop pattern - Claude supervises while Codex (gpt-5.3-codex) executes implementation work. Use for autonomous coding loops…

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw4d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca2d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip3d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about swarm-cli.

Which coding agents can use swarm-cli?
swarm-cli installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.