hive-mind-advanced
/hive-mind-advanced
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.
- Author
- frankxai ↗
- Repository
- claude-skills-library ↗
- Licence
- MIT
- Last repository change
- 26.10.2026
Assessment and security
- Files in this package
- 3
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 4
No signals detected. Repository changed on 26.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
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.
Original author description
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 it works
- Overview
- Core Concepts
- Getting Started
- Reference
- Skill Progression
- Related Skills
- References
SKILL.md preview
--- name: hive-mind-advanced description: 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. version: 1.0.0 category: coordination tags: [hive-mind, swarm, queen-worker, consensus, collective-intelligence, multi-agent, coordination] author: Claude Flow Team --- # 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** - Strategic queen agents orchestrate high-level objectives - Tactical queens manage mid-level execution - Adaptive queens dynamically adjust strategies based on performance **Worker Specialization** - Researcher agents: Analysis and investigation - Coder agents: Implementation and development - Analyst agents: Data processing and metrics - Tester agents: Quality assurance and validation - Architect agents: System design and planning - Reviewer agents: Code review and improvement - Optimizer agents: Performance enhancement - Documenter agents: Documentation generation **Collective Memory System** - Shared knowledge base across all agents - LRU cache with memory pressure handling - SQLite persistence with WAL mode - Memory consolidation and association - Access pattern tracking and optimization ### 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 ```bash # 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 ```bash # 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 ```bash # 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: - [`references/workflows-and-config.md`](references/workflows-and-config.md) — advanced workflows, integration, performance, configuration, hooks & troubleshooting. - [`references/api-and-examples.md`](references/api-and-examples.md) — aPI reference & examples. --- ## 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 - `swarm-orchestration`: Basic swarm coordination - `consensus-mechanisms`: Distributed decision making - `memory-systems`: Advanced memory management - `sparc-methodology`: Structured development workflow - `github-integration`: Repository coordination ## References - [Hive Mind Documentation](https://github.com/ruvnet/claude-flow) - [Collective Intelligence Patterns](https://github.com/ruvnet/claude-flow) - [Byzantine Consensus](https://github.com/ruvnet/claude-flow) - [Memory Optimization](https://github.com/ruvnet/claude-flow) --- **Skill Version**: 1.0.0 **Last Updated**: 2025-10-19 **Maintained By**: Claude Flow Team **License**: MIT
Files in this package (3)
- SKILL.md 5 KB
- references/api-and-examples.md 3 KB
- references/workflows-and-config.md 10 KB
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · frankxai/claude-skills-library | 100 | MIT |
| dreamlab-ai/agentbox | 100 | AGPL-3.0 |
Database snapshot: 13.11.2026 · package version e5b45c28abd6 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100hive-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… - 90swarm-consensus
Implement voting mechanisms (majority, weighted) to resolve inter-agent conflicts. Use when: swarm consensus. - 100agent-swarm-orchestration
Coordinate multiple AI agents working together on complex tasks — routing, handoffs, consensus, memory sharing, and quality gates. Use when tasks involve building multi-agent systems, coordinating specialist agents in a pipeline, implementing agent-to-agent communication,… - 100desktop-shipped-skills
Change the agent skills Hive Desktop ships into an agent workspace — the hive-flows, hive-actions, hive-settings, hive-webhook-sources, hive-mcp, hive-agent-workspaces SKILL.md files. Use when editing what one of those says or adding a new one. - 90hive.writing-hive-skills
Author a new Agent Skill for a Hive agent that conforms to the Agent Skills specification (SKILL.md with YAML frontmatter, optional scripts/references/assets directories). Use when the user asks to create, scaffold, add, install, or package a new skill for a Hive agent, or you… - 100multi-agent-coordination
Design, diagnose, and evaluate coordination across multiple AI agents and heterogeneous harnesses: decomposition, topology, ownership, communication, distributed context, shared memory, integration, recovery, and collective failure patterns. Use for persistent agent teams,…