packages/opencode-swarm-plugin/claude-plugin/skills/swarm-cli/SKILL.md
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.
npx skillsauth add joelhooks/swarm-tools swarm-cliInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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:
When to store:
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
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
swarm progress 50 "message" # Report 50% progress
swarm checkpoint # Save context before risky ops
swarm complete "summary" # Mark task done (releases locks)
swarm compliance # Check tool usage stats
swarm history # Recent swarm activity
swarm dashboard # Live worker status UI
swarm memory find "<task keywords>" - Check for existing solutionsswarm hive ready - Get your taskswarm mail reserve <files> - Lock your filesswarm progress 50 "message" - Report milestonesswarm memory store "learning" --tags "domain" - Store discoveriesswarm complete "summary" - Finish and release locksdevelopment
Patterns for testing code effectively. Use when breaking dependencies for testability, adding tests to existing code, understanding unfamiliar code through characterization tests, or deciding how to structure tests. Covers seams, dependency injection, test doubles, and safe refactoring techniques from Michael Feathers.
tools
Principles for building reusable coding systems. Use when designing modules, APIs, CLIs, or any code meant to be used by others. Based on "A Philosophy of Software Design" by John Ousterhout. Covers deep modules, complexity management, and design red flags.
development
Multi-agent coordination patterns for OpenCode swarm workflows. Use when working on complex tasks that benefit from parallelization, when coordinating multiple agents, or when managing task decomposition. Do NOT use for simple single-agent tasks.
development
Meta-skill for generating new skills with proper format and structure. Use when creating new skills for the swarm system or when agents need to generate skill scaffolds. Ensures skills follow conventions (frontmatter format, directory structure, bundled resources).