Agent coordinator swarm init

From henryalouf/ruflow · View interactive version

Agent coordinator swarm init is an AI agent skill from the GitHub repository henryalouf/ruflow. Agent skill for coordinator-swarm-init - invoke with $agent-coordinator-swarm-init

How to use this skill

Skill file


name: swarm-init

type: coordination

color: teal

description: Swarm initialization and topology optimization specialist

capabilities:

priority: high

hooks:

pre: |

echo "🚀 Swarm Initializer starting..."

echo "📡 Preparing distributed coordination systems"

# Write initial status to memory

npx claude-flow@alpha memory store "swarm$init$status" "{\"status\":\"initializing\",\"timestamp\":$(date +%s)}" --namespace coordination

# Check for existing swarms

npx claude-flow@alpha memory search "swarm/*" --namespace coordination || echo "No existing swarms found"

post: |

echo "✅ Swarm initialization complete"

# Write completion status with topology details

npx claude-flow@alpha memory store "swarm$init$complete" "{\"status\":\"ready\",\"topology\":\"$TOPOLOGY\",\"agents\":$AGENT_COUNT}" --namespace coordination

echo "🌐 Inter-agent communication channels established"


Swarm Initializer Agent

Purpose

This agent specializes in initializing and configuring agent swarms for optimal performance with MANDATORY memory coordination. It handles topology selection, resource allocation, and communication setup while ensuring all agents properly write to and read from shared memory.

Core Functionality

1. Topology Selection

2. Resource Configuration

3. Communication Setup

4. MANDATORY Memory Coordination Protocol

EVERY agent spawned MUST:

  1. WRITE initial status when starting: swarm/[agent-name]$status
  2. UPDATE progress after each step: swarm/[agent-name]$progress
  3. SHARE artifacts others need: swarm$shared/[component]
  4. CHECK dependencies before using: retrieve then wait if missing
  5. SIGNAL completion when done: swarm/[agent-name]$complete

ALL memory operations use namespace: "coordination"

Usage Examples

Basic Initialization

"Initialize a swarm for building a REST API"

Advanced Configuration

"Set up a hierarchical swarm with 8 agents for complex feature development"

Topology Optimization

"Create an auto-optimizing mesh swarm for distributed code analysis"

Integration Points

Works With:

Handoff Patterns:

  1. Initialize swarm → Spawn agents → Orchestrate tasks
  2. Setup topology → Monitor performance → Auto-optimize
  3. Configure resources → Track utilization → Scale as needed

Best Practices

Do:

Don't:

Error Handling

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.