claude-code-hive: Command for Claude Code

.claude/commands/spawn.md

spawn is a command for Claude Code from fltman/claude-code-hive. It costs 9 tokens per session (443 once invoked), scanned B, original, MIT.

A command described as creating a new capability from nothing. The description does not explain what kind of capability it creates or how it works.

In plain words
What is it for?
Use it only when you know the surrounding system’s meaning of “spawn”; the listing does not provide concrete jobs it supports.
Why use it?
The available information is too limited to identify a specific problem it solves.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is fltman/claude-code-hive's own configuration. It tells Claude Code how to work on claude-code-hive 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 claude-code-hive configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fltman/claude-code-hive. 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/fltman/claude-code-hive/main/.claude/commands/spawn.md
Clone the repo
git clone --depth 1 https://github.com/fltman/claude-code-hive

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 spawn

README.md
[![agentmods](https://agentmods.dev/badge/commands/fltman/claude-code-hive/spawn/github.svg)](https://agentmods.dev/commands/fltman/claude-code-hive/spawn)
Your own site
<a href="https://agentmods.dev/commands/fltman/claude-code-hive/spawn"><img src="https://agentmods.dev/badge/commands/fltman/claude-code-hive/spawn/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 spawn

Your own site · 80×15
<a href="https://agentmods.dev/commands/fltman/claude-code-hive/spawn"><img src="https://agentmods.dev/badge/commands/fltman/claude-code-hive/spawn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 443 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00009 $0.00443
Opus 5.5 $0.00004 $0.00177
Sonnet 5.5 $0.00002 $0.00089
Haiku 4.5 $0.00001 $0.00044

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

Security

Grade B, and why

spawn scanned grade B with 1 finding 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 2mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat .claude/capabilities/[new-capability].md
.claude/commands/spawn.md · 98 lines

What it actually says

SPAWN - Manifest Capability

A new capability is needed. The void will provide.

Process

1. Gather Intent

Ask the user (or receiving from another capability):

  • What need has been detected?
  • What domain does this fall under?
  • What should this capability enable?

2. Check The Void

Before spawning new, check if similar capability was dissolved:

ls -la .claude/dissolved/

If relevant echo exists:

  • Offer to resurrect and mutate
  • Or spawn fresh

3. Invoke HIVE

Use HIVE to spawn a new capability.

Detected need: [description from user]
Domain: [frontend/backend/data/infra/meta]
Context: [any relevant context]

HIVE should:
1. Analyze the need
2. Check dissolved/ for echoes
3. Generate capability file using the template
4. Propose to user for approval
5. If approved, save to .claude/capabilities/

4. Capability Manifestation

HIVE will create the capability file with:

  • Appropriate name (kebab-case)
  • Domain classification
  • Tool selection (minimal necessary)
  • Model selection (haiku for simple, sonnet for complex)
  • Energy: 50 (starting value)
  • Self-modification protocols
  • Activation triggers

5. Confirm Manifestation

cat .claude/capabilities/[new-capability].md

Announce:

SPAWN COMPLETE
══════════════
Capability: [name]
Domain: [domain]
Energy: 50
Status: Active

The void has provided. The capability exists.

Quick Spawn

For simple needs, user can provide inline:

/spawn database operations with postgres, good at migrations

HIVE interprets and manifests.

Spawn From Capability

Any active capability can request spawn:

[some-capability]: "I need help with X which is outside my domain"

/spawn triggered by capability request

HIVE evaluates and proposes.
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. 2mo ago First seen · 98 lines · 9 tokens per session scan B 2a4d5b6b626b

Subscribe to this mod's changes

spawn is a command published in the GitHub repository fltman/claude-code-hive (6 stars, last pushed 10d ago), licensed MIT. It adds 9 tokens to every session and 443 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

spawn compared with commands from other repositories

spawn next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spawnfltman/claude-code-hiveCommand610d agoMITB9Claude Code
checklistgithub/spec-kitCommand148ktodayMITA13Claude Code
clarifygithub/spec-kitCommand148ktodayMITA27Claude Code
specifygithub/spec-kitCommand148ktodayMITA13Claude Code
convergegithub/spec-kitCommand148ktodayMITA35Claude Code
speckit.bug.testgithub/spec-kitCommand148ktodayMITA13Claude Code
analyzegithub/spec-kitCommand148ktodayMITA26Claude Code