Skip to content
Skillpedia
Agents81k · #1532

hive-mind

What it does

This skill explains how to set up a team of agents with a leader and different ways of reaching agreement. It is for people who need reliable coordination when work is spread across many agents.

When to use it

  • ✓When a task is too big or risky for one agent to handle alone.
  • ✓When the team must keep working even if one agent fails.
  • ✓When the group needs to agree on important decisions together.

Skill link

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/hive-mind/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/hive-mind/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Set up a coordinated team of agents with a leader that uses majority agreement for important decisions.”

5 new skills a week. 1 minute to read.

How it works

The agent starts a team with a chosen layout and agreement method, spawns a leader, and checks the consensus status and active sessions.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

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

  1. Use hierarchical for coding tasks (anti-drift)
  2. Use raft consensus for consistency
  3. Keep agent count under 8 for coordination
  4. Run frequent checkpoints
FAQ

What agreement methods are supported?

The skill lists byzantine, raft, gossip, crdt and quorum strategies.

Which layout should I pick?

The skill suggests hierarchical for coding tasks and mesh for research, with a hybrid for complex work.

Should I use it for small jobs?

No. The skill says to skip it for simple or single-agent tasks.

Details

Original description by the author

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.

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1532
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills