Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By primeincv0.57.5MITIn 1 marketplace
Multi-agent task decomposition and coordination for Claude Code
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Multi-agent coordination for Claude Code. Enables parallel task decomposition, worker spawning, and agent-to-agent communication.
The plugin delegates to the swarm CLI for all operations:
bun add -g opencode-swarm-plugin
# or
npm install -g opencode-swarm-plugin
Verify installation:
swarm --version
# Add the swarm-tools marketplace
claude /plugin add-marketplace https://github.com/joelhooks/opencode-swarm-plugin
# Install the swarm plugin
claude /plugin install swarm@swarm-tools
The plugin's MCP server will start automatically.
| Command | Description |
|---|---|
/swarm <task> | Decompose task into parallel subtasks and spawn workers |
/hive | Query and manage tasks (cells) in the hive tracker |
/inbox | Check swarm mail inbox for messages from other agents |
/status | Check swarm coordination status |
/handoff | End session with proper cleanup and handoff notes |
/swarm refactor the auth module to use JWT tokens
This will:
The plugin exposes 25 tools via MCP:
hive_cells - Query cells with filtershive_create - Create a new cellhive_create_epic - Create epic with subtaskshive_close - Close a cell with reasonhive_query - Query with advanced filtershive_ready - Get next unblocked cellhive_update - Update cell status/descriptionhivemind_find - Semantic search across memorieshivemind_store - Store a memory with embeddinghivemind_get - Retrieve memory by IDhivemind_stats - Memory system statisticsswarmmail_init - Initialize agent sessionswarmmail_inbox - Check inbox for messagesswarmmail_send - Send message to other agentsswarmmail_reserve - Reserve files for editingswarmmail_release - Release file reservationsswarm_decompose - Generate decomposition promptswarm_status - Get swarm status by epic IDswarm_plan_prompt - Strategy-specific planningswarm_validate_decomposition - Validate decompositionswarm_spawn_subtask - Prepare subtask for spawningswarm_review - Generate review promptswarm_review_feedback - Send review feedbackswarm_progress - Report progressswarm_complete - Mark subtask completeThe plugin registers lifecycle hooks:
| Hook | Action |
|---|---|
SessionStart | Initialize session context |
UserPromptSubmit | Track user prompts |
PreCompact | Save state before context compaction |
SessionEnd | Cleanup and sync |
Rule-oriented guidance for Claude Code agents. Loaded automatically.
Multi-agent coordination patterns. Use when spawning workers or coordinating parallel tasks.
| Agent | Type | Purpose |
|---|---|---|
coordinator | Foreground | Orchestrates swarm decomposition and worker spawning |
worker | Foreground | Executes subtasks with file reservations |
background-worker | Background | Handles tasks without MCP tool access |
┌─────────────────────────────────────────────────────────┐
│ Claude Code │
├─────────────────────────────────────────────────────────┤
│ Plugin (this package) │
│ ├── MCP Server (bin/mcp-server.js) │
│ │ └── Shells out to: swarm tool <name> --json │
│ ├── Commands (/swarm, /hive, /inbox, etc.) │
│ ├── Skills (always-on-guidance, swarm-coordination) │
│ ├── Agents (coordinator, worker) │
│ └── Hooks (SessionStart, PreCompact, etc.) │
├─────────────────────────────────────────────────────────┤
│ swarm CLI (globally installed) │
│ ├── Hive tracker (.hive/ directory) │
│ ├── Hivemind semantic memory (LibSQL + Ollama) │
│ └── Swarmmail coordination (embedded event store) │
└─────────────────────────────────────────────────────────┘
The main OpenCode swarm plugin bundles native dependencies (@libsql/client) which causes issues when Claude Code copies plugins to its cache. This plugin avoids bundling by delegating all tool execution to the globally installed swarm CLI.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground