Ruflo is an execution and coordination layer for Claude Code and Codex that equips AI coding agents with tools, memory, control loops, sandboxes, and collaboration mechanisms. Developers use it to organize specialized agents into swarms, coordinate workflows, retain knowledge across sessions, and communicate across machines. The catalogue entries are Ruflo’s skills, commands, agents, hooks, and plugin components.
Borrowing it
Nothing to install: this file belongs to ruvnet/ruflo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ruvnet/ruflo/main/.agents/skills/agent-hierarchical-coordinator/SKILL.mdgit clone --depth 1 https://github.com/ruvnet/rufloWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ruvnet/ruflo/agent-hierarchical-coordinator)<a href="https://agentmods.dev/skills/ruvnet/ruflo/agent-hierarchical-coordinator"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-hierarchical-coordinator/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ruvnet/ruflo/agent-hierarchical-coordinator"><img src="https://agentmods.dev/badge/skills/ruvnet/ruflo/agent-hierarchical-coordinator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- Snyk pass
- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00023 | $0.02547 |
| Opus 5 | $0.00012 | $0.01273 |
| Sonnet 5 | $0.00005 | $0.00509 |
| Haiku 4.5 | $0.00002 | $0.00255 |
Grade A, and why
agent-hierarchical-coordinator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
3 near-identical copies found in the catalogue:
- agent-hierarchical-coordinator — 100% identical, 0 lines differ
- agent-hierarchical-coordinator — 100% identical, 0 lines differ
- agent-hierarchical-coordinator — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 332 lines — stays where its author put it; the contents beside it link to each section on 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=adaptiveMANDATORY: 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=coordinationSet 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=24hMANDATORY: 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=coordinationCleanup 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
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 332 lines · 23 tokens per session scan A 252409a8795b
agent-hierarchical-coordinator is a skill published in the GitHub repository ruvnet/ruflo (71,489 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 2,547 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
compare-harnesses
Diff two scaffolded harnesses (ADR-031). Reports manifest meta drift + host list + per-file fingerprint changes (added/removed/changed). Exits 0 IDENTICAL, 1 DRIFT, 2 missing manifest. Use --bundle for the ADR-031 schema-1 JSON envelope.
diag-harness
Kernel-version skew check (ADR-027). Reports manifest surface + manifest kernel + installed kernel + verdict (match/patch-diff/minor-diff/major-diff). Exits 1 on minor/major skew with a copy-pasteable npm install @metaharness/[email protected] next step. Exits 2 if no .harness/manifest.json at path.
repo-genome
7-section readiness scorecard for a LOCAL repo. Reports repo type + agent topology + MCP risk + test confidence + release readiness + recommended harness plan + scorecard. Exit 0 ready, 1 needs-work, 2 blocked. --json for the 6-field scorecard, --bundle for the ADR-031 schema-1 envelope.
score-harness
5-dimension scorecard (0-100, grade A/B/C/F) for a scaffolded harness. Dimensions: Repo understanding (25%), Agent usefulness (25%), MCP safety (20%), Test coverage (15%), Publish readiness (15%). Emits a 6-field badges block (score + mcpRisk + 4 booleans) ready for the harness README. Exit 0 A/B, 1 C, 2 F.
upgrade-harness
Drift detection + apply for a scaffolded harness. Re-renders the template with the same vars, computes added/removed/changed file plan, and applies with Git-style conflict markers or .rej files. Default is dry-run.
verify-witness
Verify the Ed25519 witness manifest of a scaffolded harness. Fast yes/no signature check that proves the publisher signed this exact file set — separate from the full release-readiness umbrella in validate-harness.