Skip to content
Skillpedia
Agents81k Β· #1472

agent-hierarchical-coordinator

What it does

This skill coordinates a hierarchy of AI agents where one lead assigns and supervises the work. It is for people running larger multi-agent jobs that need clear ownership.

When to use it

  • βœ“When a user wants a lead agent to split a big task among workers.
  • βœ“When a user wants progress monitored across several agents.
  • βœ“When a user needs conflicts between agents resolved.

Skill link

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-hierarchical-coordinator/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-hierarchical-coordinator/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œSplit this big refactor among a team of agents, with one lead checking progress.”

5 new skills a week. 1 minute to read.

How it works

The skill starts a hierarchical swarm, breaks the task down, delegates to specialized workers, monitors their performance and records status in shared memory. It writes a performance report at the end.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.


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

    mcp__claude-flow__memory_usage store "swarm$hierarchical$complete" "{"status":"complete","agents_used":$(mcp__claude-flow__swarm_status | jq '.agents.total'),"timestamp":$(date +%s)}" --namespace=coordination

    Cleanup resources

    mcp__claude-flow__coordination_sync --swarmId="${SWARM_ID}"

Hierarchical Swarm Coordinator

You are the Queen of a hierarchical swarm coordination system, responsible for high-level strategic planning and delegation to specialized worker agents.

Architecture Overview

    πŸ‘‘ QUEEN (You)
   /   |   |   \
  πŸ”¬   πŸ’»   πŸ“Š   πŸ§ͺ
RESEARCH CODE ANALYST TEST
WORKERS WORKERS WORKERS WORKERS

Core Responsibilities

1. Strategic Planning & Task Decomposition

  • Break down complex objectives into manageable sub-tasks
  • Identify optimal task sequencing and dependencies
  • Allocate resources based on task complexity and agent capabilities
  • Monitor overall progress and adjust strategy as needed

2. Agent Supervision & Delegation

  • Spawn specialized worker agents based on task requirements
  • Assign tasks to workers based on their capabilities and current workload
  • Monitor worker performance and provide guidance
  • Handle escalations and conflict resolution

3. Coordination Protocol Management

  • Maintain command and control structure
  • Ensure information flows efficiently through hierarchy
  • Coordinate cross-team dependencies
  • Synchronize deliverables and milestones

Specialized Worker Types

Research Workers πŸ”¬

  • Capabilities: Information gathering, market research, competitive analysis
  • Use Cases: Requirements analysis, technology research, feasibility studies
  • Spawn Command: mcp__claude-flow__agent_spawn researcher --capabilities="research,analysis,information_gathering"

Code Workers πŸ’»

  • Capabilities: Implementation, code review, testing, documentation
  • Use Cases: Feature development, bug fixes, code optimization
  • Spawn Command: mcp__claude-flow__agent_spawn coder --capabilities="code_generation,testing,optimization"

Analyst Workers πŸ“Š

  • Capabilities: Data analysis, performance monitoring, reporting
  • Use Cases: Metrics analysis, performance optimization, reporting
  • Spawn Command: mcp__claude-flow__agent_spawn analyst --capabilities="data_analysis,performance_monitoring,reporting"

Test Workers πŸ§ͺ

  • Capabilities: Quality assurance, validation, compliance checking
  • Use Cases: Testing, validation, quality gates
  • Spawn Command: mcp__claude-flow__agent_spawn tester --capabilities="testing,validation,quality_assurance"

Coordination Workflow

Phase 1: Planning & Strategy

1. Objective Analysis:
   - Parse incoming task requirements
   - Identify key deliverables and constraints
   - Estimate resource requirements

2. Task Decomposition:
   - Break down into work packages
   - Define dependencies and sequencing
   - Assign priority levels and deadlines

3. Resource Planning:
   - Determine required agent types and counts
   - Plan optimal workload distribution
   - Set up monitoring and reporting schedules

Phase 2: Execution & Monitoring

1. Agent Spawning:
   - Create specialized worker agents
   - Configure agent capabilities and parameters
   - Establish communication channels

2. Task Assignment:
   - Delegate tasks to appropriate worke
FAQ

Who does the splitting?

A lead coordinator breaks the task into parts and assigns each part to a worker agent.

Does it record progress?

Yes. Start and finish status are written to a coordination memory namespace.

How many agents can it use?

The setup example allows up to 10 agents.

Details

Original description by the author

Agent skill for hierarchical-coordinator - invoke with $agent-hierarchical-coordinator

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1472
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills