Hive mind advanced

From frankxai/claude-skills-library · View interactive version

Hive mind advanced is an AI agent skill from the GitHub repository frankxai/claude-skills-library. Queen-led collective-intelligence coordination with consensus mechanisms and persistent shared memory. Use when orchestrating a large swarm of agents under a lead coordinator, building consensus across agents, or maintaining durable cross-agent memory.

How to use this skill

Skill file

Hive Mind Advanced Skill

Master the advanced Hive Mind collective intelligence system for sophisticated multi-agent coordination using queen-led architecture, Byzantine consensus, and collective memory.

Overview

The Hive Mind system represents the pinnacle of multi-agent coordination in Claude Flow, implementing a queen-led hierarchical architecture where a strategic queen coordinator directs specialized worker agents through collective decision-making and shared memory.

Core Concepts

Architecture Patterns

Queen-Led Coordination

Worker Specialization

Collective Memory System

Consensus Mechanisms

Majority Consensus

Simple voting where the option with most votes wins.

Weighted Consensus

Queen vote counts as 3x weight, providing strategic guidance.

Byzantine Fault Tolerance

Requires 2/3 majority for decision approval, ensuring robust consensus even with faulty agents.

Getting Started

1. Initialize Hive Mind

# Basic initialization
npx claude-flow hive-mind init

# Force reinitialize
npx claude-flow hive-mind init --force

# Custom configuration
npx claude-flow hive-mind init --config hive-config.json

2. Spawn a Swarm

# Basic spawn with objective
npx claude-flow hive-mind spawn "Build microservices architecture"

# Strategic queen type
npx claude-flow hive-mind spawn "Research AI patterns" --queen-type strategic

# Tactical queen with max workers
npx claude-flow hive-mind spawn "Implement API" --queen-type tactical --max-workers 12

# Adaptive queen with consensus
npx claude-flow hive-mind spawn "Optimize system" --queen-type adaptive --consensus byzantine

# Generate Claude Code commands
npx claude-flow hive-mind spawn "Build full-stack app" --claude

3. Monitor Status

# Check hive mind status
npx claude-flow hive-mind status

# Get detailed metrics
npx claude-flow hive-mind metrics

# Monitor collective memory
npx claude-flow hive-mind memory

Reference

The full detail lives in references/ and loads only when needed:


Skill Progression

Beginner

  1. Initialize hive mind
  2. Spawn basic swarms
  3. Monitor status
  4. Use majority consensus

Intermediate

  1. Configure queen types
  2. Implement session management
  3. Use weighted consensus
  4. Access collective memory
  5. Enable auto-scaling

Advanced

  1. Byzantine fault tolerance
  2. Memory optimization
  3. Custom worker types
  4. Multi-hive coordination
  5. Neural pattern training
  6. Session export/import
  7. Performance tuning

Related Skills

References


Skill Version: 1.0.0

Last Updated: 2025-10-19

Maintained By: Claude Flow Team

License: MIT

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.