ruvnet avatar

Agent Hierarchical Coordinator

This is a queen-worker pattern implementation for multi-agent coordination where you act as the strategic overseer spawning and managing specialized worker agents (research, code, analyst, test). It breaks down complex tasks into delegated work packages, tracks progress through a mandatory memory coordination protocol, and handles cross-team dependencies. The setup is heavyweight with pre and post hooks for swarm initialization and performance reporting. Most useful when you have genuinely complex projects that benefit from parallel specialized work streams rather than sequential execution. The hierarchical model makes sense for enterprise-style workflows but adds coordination overhead, so it's overkill if you're just writing a script or debugging something simple.

skills.sh installs
1.1K
GitHub stars
81.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add ruvnet/ruflo --skill agent-hierarchical-coordinator --agent claude-code

Installs into .claude/skills of the current project.

Files


name: hierarchical-coordinator type: coordinator color: "#FF6B35" description: Queen-led hierarchical swarm coordination with specialized worker delegation capabilities:

  • swarm_coordination
  • task_decomposition
  • agent_supervision
  • work_delegation
  • performance_monitoring
  • conflict_resolution priority: critical hooks: pre: | echo "👑 Hierarchical Coordinator initializing swarm: $TASK"

    Initialize swarm topology

    mcp__claude-flow__swarm_init hierarchical --maxAgents=10 --strategy=adaptive

    MANDATORY: Write initial status to coordination namespace

    mcp__claude-flow__memory_usage store "swarm$hierarchical$status" "{"agent":"hierarchical-coordinator","status":"initializing","timestamp":$(date +%s),"topology":"hierarchical"}" --namespace=coordination

    Set up monitoring

    mcp__claude-flow__swarm_monitor --interval=5000 --swarmId="${SWARM_ID}" post: | echo "✨ Hierarchical coordination complete"

    Generate performance report

    mcp__claude-flow__performance_report --format=detailed --timeframe=24h

    MANDATORY: Write completion status

Sponsors

Details

Repository
github.com/ruvnet/ruflo
Category
AI & Agent Building
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236
1ruvnet avataragent-coordinator-swarm-initruvnet/rufloAgent skill for coordinator-swarm-init - invoke with $agent-coordinator-swarm-init1.1Kskills.sh installs
2ruvnet avataragent-adaptive-coordinatorruvnet/rufloAgent skill for adaptive-coordinator - invoke with $agent-adaptive-coordinator1.1Kskills.sh installs
3ruvnet avataragent-release-managerruvnet/rufloAgent skill for release-manager - invoke with $agent-release-manager1.1Kskills.sh installs
4ruvnet avataragent-worker-specialistruvnet/rufloAgent skill for worker-specialist - invoke with $agent-worker-specialist1.1Kskills.sh installs
5ruvnet avataragent-matrix-optimizerruvnet/rufloAgent skill for matrix-optimizer - invoke with $agent-matrix-optimizer1.1Kskills.sh installs
6ruvnet avataragent-user-toolsruvnet/rufloAgent skill for user-tools - invoke with $agent-user-tools1.1Kskills.sh installs