본문으로 건너뛰기
Skillpedia
에이전트81k · #1531

hive-mind-advanced

하는 일

이 스킬은 중앙 조율자, 전문 작업자, 공유 메모리를 갖춘 여러 에이전트 조율 방식을 설명합니다. 더 큰 에이전트 팀이 함께 결정하기를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓여러 전문 에이전트가 함께 해야 하는 큰 작업이 있을 때.
  • ✓에이전트 팀이 행동하기 전에 결정에 합의해야 할 때.
  • ✓에이전트들이 서로 배우도록 공유 메모리가 필요할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/hive-mind-advanced/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“문서를 검토하고 개선하는 에이전트 무리를 설정하고, 조율자 한 명이 팀을 이끌도록 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 조율자를 정하고, 연구자나 검토자 같은 전문 작업자를 만들며, 공유 메모리 저장소를 연결하고, 결정에는 합의 방식을 사용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

# 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

Advanced Workflows

Session Management

Create and Manage Sessions

# List active sessions
npx claude-flow hive-mind sessions

# Pause a session
npx claude-flow hive-mind pause <session-id>

# Resume a paused session
npx claude-flow hive-mind resume <session-id>

# Stop a running session
npx claude-flow hive-mind stop <session-id>

Session Features

  • Automatic checkpoint creation
  • Progress tracking with completion percentages
  • Parent-child process management
  • Session logs with event tracking
  • Export$import capabilities

Consensus Building

The Hive Mind builds consensus through structured voting:

// Programmatic consensus building
const decision = await hiveMind.buildConsensus(
  'Architecture pattern selection',
  ['microservices', 'monolith', 'serverless']
);

// Result includes:
// - decision: Winning option
// - confidence: Vote percentage
// - votes: Individual agent votes

Consensus Algorithms

  1. Majority - Simple democratic voting
  2. Weighted - Queen has 3x voting power
  3. Byzantine - 2/3 supermajority required

Collective Memory

Storing Knowledge

// Store in collective memory
await memory.store('api-patterns', {
  rest: { pros: [...], cons: [...] },
  graphql: { pros: [...], cons: [...] }
}, 'knowledge', { confidence: 0.95 });

Memory Types

  • knowledge: Permanent insights (no TTL)
  • context: Session context (1 hour TTL)
  • task: Task-specific data (30 min TTL)
  • result: Execution results (permanent, compressed)
  • error: Error logs (24 hour TTL)
  • metric: Performance metrics (1 hour TTL)
  • consensus: Decision records (permanent)
  • system: System configuration (permanent)

Searching and Retrieval

//
자주 묻는 질문

여기서 합의란 무엇인가요?

다수결 같은 방식으로 그룹이 결정에 동의하게 하는 방법입니다.

기본 hive mind 스킬과 같은가요?

관련이 있습니다. 이 버전은 적응형 리더십을 포함해 더 고급 패턴을 다룹니다.

공유 메모리는 어디에 보관되나요?

스킬은 SQLite 저장소와 메모리 캐시를 설명하므로, 사용자의 시스템에 보관됩니다.

상세 정보

작성자의 원본 설명

Advanced Hive Mind collective intelligence system for queen-led multi-agent coordination with consensus mechanisms and persistent memory

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1531
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬