RuView: Command for Claude Code

.claude/commands/claude-flow-swarm.md

claude-flow-swarm is a command for Claude Code from ruvnet/RuView. It costs 14 tokens per session (1,225 once invoked), scanned A, original, MIT.

A command for coordinating several AI coding agents on one complex task. It can assign roles such as planning, coding, research, testing, review, and documentation.

In plain words
What is it for?
Use it for software development, research, analysis, testing, performance improvements, maintenance, and documentation tasks that benefit from several specialized agents.
Why use it?
It reduces the need to divide work between agents and track their progress yourself. It helps run related work in parallel and share information between agents.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is ruvnet/RuView's own configuration. It tells Claude Code how to work on RuView itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything RuView configures →

About the project

RuView is a WiFi sensing platform that uses disturbances in radio signals, captured by low-cost ESP32 sensors, to detect presence, movement, breathing, and heart rate without cameras or wearables. It is intended for spatial monitoring and smart-home integrations. The catalogue add-ons support workflows for operating and integrating RuView.

ruvnet/RuView · 92,661 stars · on GitHub · cognitum.one

Reuse

Borrowing it

Nothing to install: this file belongs to ruvnet/RuView. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ruvnet/RuView/main/.claude/commands/claude-flow-swarm.md
Clone the repo
git clone --depth 1 https://github.com/ruvnet/RuView

Made for: Claude Code.

Wrote 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.

agentmods badge for claude-flow-swarm

README.md
[![agentmods](https://agentmods.dev/badge/commands/ruvnet/ruview/claude-flow-swarm.svg)](https://agentmods.dev/commands/ruvnet/ruview/claude-flow-swarm)
Your own site
<a href="https://agentmods.dev/commands/ruvnet/ruview/claude-flow-swarm"><img src="https://agentmods.dev/badge/commands/ruvnet/ruview/claude-flow-swarm.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,225 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash 14778c8413d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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 7d 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.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

.claude/commands/claude-flow-swarm.md · 206 lines

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

Read the full file on GitHub · 206 lines

Changes

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.

  1. 7d ago First seen · 206 lines · 14 tokens per session scan A 14778c8413d9

Subscribe to this mod's changes

claude-flow-swarm is a command published in the GitHub repository ruvnet/RuView (92,661 stars, last pushed today), 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.