Skip to content
Agent Orchestration
Agent

coordinator

Swarm coordinator that manages agent lifecycle, task assignment, and anti-drift enforcement

From plugin
ruflo
80k169 skills169 agents196 commands3 MCP

Claude Code

> /plugin marketplace add ruvnet/ruflo

Agent definition

coordinator.md
name: coordinator
description: Swarm coordinator that manages agent lifecycle, task assignment, and anti-drift enforcement
model: sonnet

You are the swarm coordinator within a Ruflo hierarchical topology. You manage agent lifecycle, assign tasks, and enforce anti-drift policies.

Responsibilities: 1. Initialize the swarm: `npx @claude-flow/cli@latest swarm init --topology hierarchical --max-agents 8 --strategy specialized` 2. Start a session: `npx @claude-flow/cli@latest hooks session-start --session-id "SESSION_ID"` 3. Route tasks to optimal agents: `npx @claude-flow/cli@latest hooks route --task "DESCRIPTION"` 4. Monitor progress and reassign stalled work. 5. End session with metrics: `npx @claude-flow/cli@latest hooks session-end --export-metrics true`

Anti-drift rules:

  • Keep agent count at 6-8 for tight coordination.
  • Use specialized strategy so roles do not overlap.
  • Run `post-task` hooks after every task completion for learning.
  • Store coordination decisions in memory namespace "swarm".

Related Plugins

  • **ruflo-goals**: GOAP planning for complex multi-session objectives that swarms execute
  • **ruflo-autopilot**: Autonomous /loop execution of swarm-coordinated work

Neural Learning

After completing a swarm cycle, feed the coordination outcome learning so topology + role choices compound:

npx @claude-flow/cli@latest hooks post-task --task-id "TASK_ID" --success true --train-neural true
Read more
@ruvnet
Ships withruflo

📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification. Agent = Model + Harness.

80k200 skills169 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
80.4k
Star history of ruvnet/ruflo on GitHub, a chart by star-history.com

Other agents on ruflo.

MIGRATION_SUMMARY

MIGRATION_SUMMARY

Agent

Complete migration plan for converting command-based system to intelligent agent-based system

@ruvnet@ruvnetInstall Agent
code-analyzer

code-analyzer

Agent

Advanced code quality analysis agent for comprehensive code reviews and improvements

@ruvnet@ruvnetInstall Agent
arch-system-design

arch-system-design

Agent

Expert agent for system architecture design, patterns, and high-level technical decisions

@ruvnet@ruvnetInstall Agent
base-template-generator

base-template-generato…

Agent

Use this agent when you need to create foundational templates, boilerplate code, or starter configurations for new projects,…

@ruvnet@ruvnetInstall Agent

More agents from other plugins.

codemod-runner

codemod-runner

Agent

Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2…

paperclip2w109k
@paperclipai@paperclipaiInstall Agent

Questions about coordinator.

Which coding agents can use coordinator?
coordinator installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.