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.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git 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/commands/ruvnet/ruflo/claude-flow-swarm)<a href="https://agentmods.dev/commands/ruvnet/ruflo/claude-flow-swarm"><img src="https://agentmods.dev/badge/commands/ruvnet/ruflo/claude-flow-swarm.svg" alt="Measured on agentmods" height="20"></a>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.00014 | $0.01225 |
| Opus 5 | $0.00007 | $0.00613 |
| Sonnet 5 | $0.00003 | $0.00245 |
| Haiku 4.5 | $0.00001 | $0.00122 |
Grade A, and why
claude-flow-swarm 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 4d 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.
This is a copy
100% identical to claude-flow-swarm — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🐝 Claude-Flow Swarm Coordination
Advanced multi-agent coordination system with timeout-free execution, distributed memory sharing, and intelligent load balancing.
Basic Usage
./claude-flow swarm "your complex task" --strategy <type> [options]
🎯 Swarm Strategies
- auto - Automatic strategy selection based on task analysis
- development - Code implementation with review and testing
- research - Information gathering and synthesis
- analysis - Data processing and pattern identification
- testing - Comprehensive quality assurance
- optimization - Performance tuning and refactoring
- maintenance - System updates and bug fixes
🤖 Agent Types
- coordinator - Plans and delegates tasks to other agents
- developer - Writes code and implements solutions
- researcher - Gathers and analyzes information
- analyzer - Identifies patterns and generates insights
- tester - Creates and runs tests for quality assurance
- reviewer - Performs code and design reviews
- documenter - Creates documentation and guides
- monitor - Tracks performance and system health
- specialist - Domain-specific expert agents
🔄 Coordination Modes
- centralized - Single coordinator manages all agents (default)
- distributed - Multiple coordinators share management
- hierarchical - Tree structure with nested coordination
- mesh - Peer-to-peer agent collaboration
- hybrid - Mixed coordination strategies
⚙️ Common Options
--strategy <type>- Execution strategy--mode <type>- Coordination mode--max-agents <n>- Maximum concurrent agents (default: 5)--timeout <minutes>- Timeout in minutes (default: 60)--background- Run in background for tasks > 30 minutes--monitor- Enable real-time monitoring--ui- Launch terminal UI interface--parallel- Enable parallel execution--distributed- Enable distributed coordination--review- Enable peer review process--testing- Include automated testing--encryption- Enable data encryption--verbose- Detailed logging output--dry-run- Show configuration without executing
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.
- 4d ago First seen · 206 lines · 14 tokens per session scan A 14778c8413d9
claude-flow-swarm is a command published in the GitHub repository ruvnet/ruflo (71,074 stars, last pushed 2d ago), licensed MIT. It adds 14 tokens to every session and 1,225 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to claude-flow-swarm, differing in 0 lines, and is treated as a copy.
Other commands, from other repositories
briefing
Structured pre-execution briefing session -- collects case context through specialist panel, builds execution plan, supports resume and depth control.
help
Show complete BetterCallClaude command reference, available agents, skills, and usage examples.
legal-5step
Execute the BetterCallClaude 5-step Swiss legal framework: intake → research → strategy → adversarial → draft. A complete end-to-end pipeline for any Swiss legal matter, from document analysis through final legal output.
legal-goal
Define a checkable legal success condition for /legal-loop. Accepts a named profile (citations-clean, draft-passes-gate, adversarial-converge, nda-batch-clean, reg-watch, timeline-sourced) or free-text objective. Produces a persisted Goal Record — never starts work itself.
create-workflow
Create a reusable custom workflow by combining BetterCallClaude agents. Interview-based: pick agents, order them, define the output. Saved for future use with /bettercallclaude:workflow.
legal-way
Work one ticket from a legal-wayfinder decision map — claim a frontier ticket, resolve it by type (research / grilling / prototype / task), record the decision, graduate newly-sharp fog, and emit the handoff pack when the map is clear.