
Hive Mind
This is Byzantine fault-tolerant consensus for coordinating multiple Claude instances. You get five consensus strategies (Byzantine, Raft, gossip, CRDT, quorum) and four topologies, from hierarchical queen-worker setups to full mesh networks. The hierarchical mode is explicitly designed to prevent drift during coding tasks, which is the honest reason you'd reach for this instead of just spawning agents manually. Best kept under 8 agents for practical coordination. It's overkill for solo work, but if you're actually running distributed multi-agent operations that need fault tolerance, the Raft consensus with hierarchical-mesh topology is where you'd start.
- skills.sh installs
- 1.1K
- GitHub stars
- 81.4K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add ruvnet/ruflo --skill hive-mind --agent claude-codeInstalls into .claude/skills of the current project.
Files
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
Sponsors
Details
- Repository
- github.com/ruvnet/ruflo
- Categories
- AI & Agent Building, Productivity & Planning
- First seen
- Jun 3, 2026
More from ruvnet/ruflo
All 236- Agent Coordinator Swarm Init1.1K
- Agent Production Validator1.1K
- Agent Sandbox1.1K
- Agent Test Long Runner1.1K
- Agent Adaptive Coordinator1.1K
- Agent Performance Benchmarker1.1K
- Agent Release Swarm1.1K
- Agent Swarm Issue1.1K
- Agent V3 Security Architect1.1K
- Agent Release Manager1.1K
- Agent Sona Learning Optimizer1.1K
- Agent V3 Memory Specialist1.1K
- Agent Worker Specialist1.1K
- Agent Mesh Coordinator1.1K
- Agent Raft Manager1.1K
- Agent Sync Coordinator1.1K
- Claims1.1K
- Agent App Store1.1K
- Agent Challenges1.1K
- Agent Matrix Optimizer1.1K
- Agent User Tools1.1K
- Agent Crdt Synchronizer1.1K
- Agent Gossip Coordinator1.1K
- Agent Multi Repo Swarm1.1K