claude-flow-swarm

claude-flow-swarm is a command for Claude Code from f-amine/vibe-stack. It costs 14 tokens per session (1,225 once invoked), scanned A, a copy of claude-flow-swarm, MIT.

A command for coordinating several software agents on one complex task. It can choose strategies for development, research, analysis, testing, optimization, or maintenance and assign different agent roles.

In plain words
What is it for?
Use it to run coordinated development, research, analysis, testing, performance-tuning, or maintenance work with roles such as developer, tester, reviewer, or researcher.
Why use it?
Large tasks often need planning, coding, research, testing, and review at the same time. This command organizes those workers and supports shared memory and workload balancing.

Command for Claude Code

Install

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.

agentmods
npx agentmods add commands/f-amine/vibe-stack/claude-flow-swarm
Clone the repo
git clone --depth 1 https://github.com/f-amine/vibe-stack

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/f-amine/vibe-stack/claude-flow-swarm.svg)](https://agentmods.dev/commands/f-amine/vibe-stack/claude-flow-swarm)
Your own site
<a href="https://agentmods.dev/commands/f-amine/vibe-stack/claude-flow-swarm"><img src="https://agentmods.dev/badge/commands/f-amine/vibe-stack/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. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00014 $0.01225
Opus 5 $0.00007 $0.00613
Sonnet 5 $0.00003 $0.00245
Haiku 4.5 $0.00001 $0.00122

Measured 5d ago against content hash 14778c8413d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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

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.

.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. 5d 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 f-amine/vibe-stack (21 stars, last pushed 2mo 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.