euaziel/wifi-csi-human-pose-detection/hive-mind-advanced
Claude Code and agent skill by euaziel/wifi-csi-human-pose-detection
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Advanced Hive Mind collective intelligence system for queen-led multi-agent coordination with consensus mechanisms and persistent memory
Install
npx vskill@latest install euaziel/wifi-csi-human-pose-detection/hive-mind-advancedSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
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.
🧠 Self-Learning Intelligence
Integrates with RuVector's Q-learning and vector memory for improved performance. CLI: node .claude/intelligence/cli.js stats
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
2. Spawn a Swarm
3. Monitor Status
Advanced Workflows
Session Management
Create and Manage Sessions
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:
Consensus Algorithms
- Majority - Simple democratic voting
- Weighted - Queen has 3x voting power
- Byzantine - 2/3 supermajority required
Collective Memory
Storing Knowledge
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
Task Distribution
Automatic Worker Assignment
The system intelligently assigns tasks based on:
- Keyword matching with agent specialization
- Historical performance metrics
- Worker availability and load
- Task complexity analysis
Auto-Scaling
Integration Patterns
With Claude Code
Generate Claude Code spawn commands directly:
Output:
With SPARC Methodology
With GitHub Integration
Performance Optimization
Memory Optimization
The collective memory system includes advanced optimizations:
LRU Cache
- Configurable cache size (default: 1000 entries)
- Memory pressure handling (default: 50MB)
- Automatic eviction of least-used entries
Database Optimization
- WAL (Write-Ahead Logging) mode
- 64MB cache size
- 256MB memory mapping
- Prepared statements for common queries
- Automatic ANALYZE and OPTIMIZE
Object Pooling
- Query result pooling
- Memory entry pooling
- Reduced garbage collection pressure
Performance Metrics
Task Execution
Parallel Processing
- Batch agent spawning (5 agents per batch)
- Concurrent task orchestration
- Async operation optimization
- Non-blocking task assignment
Benchmarks
- 10-20x faster batch spawning
- 2.8-4.4x speed improvement overall
- 32.3% token reduction
- 84.8% SWE-Bench solve rate
Configuration
Hive Mind Config
Memory Config
Hooks Integration
Hive Mind integrates with Claude Flow hooks for automation:
Pre-Task Hooks
- Auto-assign agents by file type
- Validate objective complexity
- Optimize topology selection
- Cache search patterns
Post-Task Hooks
- Auto-format deliverables
- Train neural patterns
- Update collective memory
- Analyze performance bottlenecks
Session Hooks
- Generate session summaries
- Persist checkpoint data
- Track comprehensive metrics
- Restore execution context
Best Practices
1. Choose the Right Queen Type
Strategic Queens - For research, planning, and analysis
Tactical Queens - For implementation and execution
Adaptive Queens - For optimization and dynamic tasks
2. Leverage Consensus
Use consensus for critical decisions:
- Architecture pattern selection
- Technology stack choices
- Implementation approach
- Code review approval
- Release readiness
3. Utilize Collective Memory
Store Learnings
Build Associations
4. Monitor Performance
5. Session Management
Checkpoint Frequently
Resume Sessions
Troubleshooting
Memory Issues
High Memory Usage
Low Cache Hit Rate
Performance Issues
Slow Task Assignment
High Queue Utilization
Consensus Failures
No Consensus Reached (Byzantine)
Advanced Topics
Custom Worker Types
Define specialized workers in .claude/agents/:
Neural Pattern Training
The system trains on successful patterns:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingvendor/ruvector/.claude/skills/hive-mind-advanced/SKILL.md
Popularity
- Repository stars
- 60
- Repository forks
- 23
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/euaziel/wifi-csi-human-pose-detection/hive-mind-advanced)