agent-spawning

agent-spawning is an agent for Claude Code from ruvnet/ruflo. It costs 0 tokens per session (175 once invoked), scanned A, original, MIT.

A guide to starting software agents with Claude Code's Task tool, including optional coordination through Claude Flow.

In plain words
What is it for?
Use it to launch researcher, coder, or tester agents concurrently and organise their collaboration.
Why use it?
It explains how to assign work correctly and avoid inefficient sequential execution when tasks can run at the same time.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Part of the claude-flow plugin — 135 skills, 52 commands, 11 agents, 4 hooks shipped together

Good fit Use it to launch researcher, coder, or tester agents concurrently and organise their collaboration.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ruvnet/ruflo/agent-spawning
About the project

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.

ruvnet/ruflo · 77,172 stars · on GitHub · cognitum.one

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.

Clone the repo
git clone --depth 1 https://github.com/ruvnet/ruflo

Made for: Claude Code.

Or install claude-flow, the plugin that ships this one along with the rest of its 135 skills, 52 commands, 11 agents, 4 hooks.

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 agent-spawning

README.md
[![agentmods](https://agentmods.dev/badge/agents/ruvnet/ruflo/agent-spawning/github.svg)](https://agentmods.dev/agents/ruvnet/ruflo/agent-spawning)
Your own site
<a href="https://agentmods.dev/agents/ruvnet/ruflo/agent-spawning"><img src="https://agentmods.dev/badge/agents/ruvnet/ruflo/agent-spawning/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.

agentmods 80×15 button for agent-spawning

Your own site · 80×15
<a href="https://agentmods.dev/agents/ruvnet/ruflo/agent-spawning"><img src="https://agentmods.dev/badge/agents/ruvnet/ruflo/agent-spawning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 175 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.00000 $0.00175
Opus 5.5 $0.00000 $0.00070
Sonnet 5.5 $0.00000 $0.00035
Haiku 4.5 $0.00000 $0.00017

Measured 1mo ago against content hash 74bfe922137a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agent-spawning 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 1mo 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/agents/agent-spawning.md · 29 lines

What it actually says

agent-spawning

Guide to spawning agents with Claude Code's Task tool.

Using Claude Code's Task Tool

CRITICAL: Always use Claude Code's Task tool for actual agent execution:

// Spawn ALL agents in ONE message
Task("Researcher", "Analyze requirements...", "researcher")
Task("Coder", "Implement features...", "coder")
Task("Tester", "Create tests...", "tester")

MCP Coordination Setup (Optional)

MCP tools are ONLY for coordination:

mcp__claude-flow__swarm_init { topology: "mesh" }
mcp__claude-flow__agent_spawn { type: "researcher" }

Best Practices

  1. Always spawn agents concurrently
  2. Use Task tool for execution
  3. MCP only for coordination
  4. Batch all operations
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. 1mo ago First seen · 29 lines · 0 tokens per session scan A 74bfe922137a

Subscribe to this mod's changes

agent-spawning is an agent published in the GitHub repository ruvnet/ruflo (77,172 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 175 tokens. 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-09-03.

Related

Other agents, from other repositories

cold-reading-detection

Cold reading at the detection position. Where is the shipped tree in tension with the claim record? Returns tensions, each with the constraint in play and why it is a tension, under the registrative supply regime.

intentdriven/abcd · 47 tokens

cold-reading-widening

Cold reading at the widening position. Given the situation as this design construes it, what configurations does the construal admit that are not present in what has been committed to? Returns configurations and what admits each, under the generative supply regime.

intentdriven/abcd · 55 tokens

security-reviewer

Adversarial security review of a diff or design. Use PROACTIVELY before presenting any change that touches a trust boundary — auth, secrets, network exposure, input parsing, file/DB access, subprocess execution — or any invariant declared in the project's AGENTS.md. Authorized defensive review of the user's own code…

intentdriven/abcd · 69 tokens

planning-interviewer

Run an intent's planning interview in a plain Terminal on the person's own route, writing each question for abcd to draw and editing the intent record after each answer. Started by abcd intent interview , never dispatched by the host.

intentdriven/abcd · 55 tokens

procedure-specialist

Analyzes Swiss civil (ZPO/CPC), criminal (StPO/CPP), and administrative (VwVG) procedure including deadline calculation, court competence, remedies, and cost estimation.

fedec65/bettercallclaude · 41 tokens

risk-analyst

Quantifies legal risk through probability assessment, financial exposure modeling, settlement analysis, and Monte Carlo simulation for Swiss legal matters.

fedec65/bettercallclaude · 28 tokens