← Back to list

swarm-cli
by joelhooks
🐝 Multi-agent swarm coordination for OpenCode with learning capabilities, agent issue tracking, and management
⭐ 347🍴 30📅 Jan 23, 2026
SKILL.md
name: swarm-cli description: Swarm CLI commands for workers - hivemind memory, hive tasks, swarmmail coordination. Load this skill when working in a swarm context. allowed-tools: Bash(swarm *)
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
swarm memory find "<task keywords>"- Check for existing solutionsswarm hive ready- Get your taskswarm mail reserve <files>- Lock your files- Do the work (TDD: red → green → refactor)
swarm progress 50 "message"- Report milestonesswarm memory store "learning" --tags "domain"- Store discoveriesswarm 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
Score
Total Score
75/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
✓人気
GitHub Stars 100以上
+5
✓最近の活動
1ヶ月以内に更新
+10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon

