hive-mind
Byzantine fault-tolerant consensus and distributed coordination. Queen-led hierarchical swarm management with multiple consensus strategies. Use when: distributed coordination, fault-tolerant operations, multi-agent consensus, collective decision making. Skip when: single-agent tasks, simple operations, local-only work.
How do I install this agent skill?
npx skills add https://github.com/ruvnet/ruflo --skill hive-mindIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
This skill uses the npx command to download and execute an external package called claude-flow. While intended for swarm coordination, users should verify the package's source as it executes code directly on the host system.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
1 file scanned · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Hive-Mind Skill
Purpose
Byzantine fault-tolerant consensus and distributed swarm coordination.
When to Trigger
- Multi-agent distributed tasks
- Fault-tolerant operations needed
- Collective decision making
- Complex coordination patterns
Topologies
| Topology | Description | Use Case |
|---|---|---|
hierarchical | Queen controls workers | Default, anti-drift |
mesh | Fully connected peers | Research, exploration |
hierarchical-mesh | Hybrid | Recommended for complex |
adaptive | Dynamic based on load | Auto-scaling |
Consensus Strategies
| Strategy | Tolerance | Use Case |
|---|---|---|
byzantine | f < n/3 faulty | Untrusted environment |
raft | f < n/2 faulty | Leader-based, consistent |
gossip | Eventual | Large scale, availability |
crdt | Conflict-free | Concurrent updates |
quorum | Configurable | Tunable consistency |
Commands
Initialize Hive-Mind
npx claude-flow hive-mind init --topology hierarchical-mesh --consensus raft
Spawn Queen
npx claude-flow hive-mind spawn --role queen --name coordinator
Check Consensus Status
npx claude-flow hive-mind consensus --status
View Sessions
npx claude-flow hive-mind sessions --active
Best Practices
- Use hierarchical for coding tasks (anti-drift)
- Use raft consensus for consistency
- Keep agent count under 8 for coordination
- Run frequent checkpoints
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/ruvnet/ruflo/hive-mind">View hive-mind on skillZs</a>