hive-mind-advanced

Coordinate AI agent swarms with hierarchical roles, consensus algorithms, and SQLite-backed memory.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/bjpl/hablas --skill hive-mind-advanced-bjpl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hive-mind-advanced
Source: https://github.com/bjpl/hablas/tree/main/.claude/skills/hive-mind-advanced
Command: npx skills add https://github.com/bjpl/hablas --skill hive-mind-advanced-bjpl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires claude-flow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Complex multi-agent coordination, decision-making, and memory management are challenging. This skill automates the orchestration of AI agent swarms, enabling them to work together, reach consensus, and share knowledge efficiently.

Core Features & Use Cases

  • Queen-Led Coordination: Hierarchical agent management for strategic task execution.
  • Byzantine Consensus: Robust decision-making even with faulty agents.
  • Collective Memory System: Shared, persistent knowledge base for all agents.
  • Use Case: Imagine building a complex full-stack application. Use this skill to coordinate specialized agents (researchers, coders, testers, architects) to work in parallel, share learnings, and make architectural decisions through consensus, significantly accelerating development.

Quick Start

Initialize the Hive Mind system and spawn a swarm to "Build microservices architecture". npx claude-flow hive-mind init npx claude-flow hive-mind spawn "Build microservices architecture"

Frequently Asked Questions about hive-mind-advanced

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate multiple AI agents to work on complex tasks together?

Multi-agent coordination uses hierarchical orchestration where a leader agent distributes specialized tasks to worker agents, collects results, and reaches decisions through consensus. This skill automates that workflow for tasks like research, coding, testing, and architecture—enabling parallel execution and shared memory across agents.

What is Byzantine consensus and why do I need it for agent swarms?

Byzantine consensus is a decision-making algorithm that reaches agreement even when some agents fail or provide incorrect information. For agent swarms, it ensures robust architectural and technical decisions survive individual agent errors, critical when coordinating fault-tolerant systems.

Can I use persistent memory across multiple agent sessions?

Yes. This skill provides a collective memory system backed by SQLite with WAL mode, LRU cache, and TTLs. All agents in the swarm access the same knowledge base, eliminating redundant work and enabling learnings from one task to inform subsequent decisions.

How do I get started orchestrating an agent swarm for a full-stack application?

Initialize the Hive Mind system with `npx claude-flow hive-mind init`, then spawn a swarm with `npx claude-flow hive-mind spawn "[your task]"`. The system automatically assigns specialized roles—researcher, coder, tester, architect—distributes work in parallel, and manages consensus decisions.

What happens when agents disagree on a decision?

The skill applies configurable consensus algorithms: majority voting, weighted voting, or Byzantine consensus. Failed or dissenting agents are quarantined; the system logs disagreements and proceeds with the consensus result, ensuring forward progress in multi-agent workflows.

Does this work for tasks beyond software development?

Yes. While designed for development (research, coding, testing, architecture, documentation, optimization), the consensus and task-distribution framework generalizes to any domain requiring multi-agent coordination and collective decision-making.