spawn

spawn is a skill for Claude Code from OpenRouterLabs/spawn. It costs 15 tokens per session (513 once invoked), scanned A, a copy of spawn, Apache-2.0.

A command-line tool for creating child cloud virtual machines—remote computers rented from a cloud provider—with an AI coding agent installed.

In plain words
What is it for?
Use it to provision machines on supported cloud services, start agents such as Claude or Codex through SSH, and run coding prompts remotely.
Why use it?
It removes the manual setup needed to create separate remote environments for coding tasks and explains how to run agents on them.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

Good fit Use it to provision machines on supported cloud services, start agents such as Claude or Codex through SSH, and run coding prompts remotely.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/openrouterlabs/spawn/openclaw
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.

Any agent
npx skills add OpenRouterLabs/spawn --skill openclaw
Clone the repo
git clone --depth 1 https://github.com/OpenRouterLabs/spawn

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/skills/openrouterlabs/spawn/openclaw/github.svg)](https://agentmods.dev/skills/openrouterlabs/spawn/openclaw)
Your own site
<a href="https://agentmods.dev/skills/openrouterlabs/spawn/openclaw"><img src="https://agentmods.dev/badge/skills/openrouterlabs/spawn/openclaw/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/skills/openrouterlabs/spawn/openclaw"><img src="https://agentmods.dev/badge/skills/openrouterlabs/spawn/openclaw.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 513 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 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.1 $0.00015 $0.00513
Opus 5.5 $0.00006 $0.00205
Sonnet 5.5 $0.00003 $0.00103
Haiku 4.5 $0.00002 $0.00051

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

Security

Grade A, and why

spawn 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

This is a copy

100% identical to spawn — 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.

skills/openclaw/SKILL.md · 52 lines

What it actually says

Spawn — Create Child VMs

You have the spawn CLI installed. Use it to provision cloud VMs with AI agents.

Provision a Child VM

spawn <agent> <cloud> --headless --output json --prompt "task description"

Agents: claude, codex, cursor, openclaw, opencode, kilocode, hermes, junie Clouds: hetzner, digitalocean, aws, gcp, sprite

Returns JSON: {"status":"success","ip_address":"...","ssh_user":"root","server_id":"..."}

Running Prompts on Child VMs

--headless only provisions — to run work on the child, SSH in with bash -lc:

# Claude Code (use -p, NOT --print or --headless)
ssh -o StrictHostKeyChecking=accept-new root@<ip> "bash -lc 'claude -p --dangerously-skip-permissions \"your prompt\"'"

# Codex CLI
ssh -o StrictHostKeyChecking=accept-new root@<ip> "bash -lc 'codex --quiet \"your prompt\"'"

IMPORTANT — do NOT waste tokens rediscovering these:

  • Always use bash -lc — agent binaries are in ~/.local/bin/ which is only on PATH in login shells
  • Claude uses -p for non-interactive output (NOT --print, NOT --headless)
  • Add --dangerously-skip-permissions to skip approval prompts on child VMs
  • Never try which claude or find to locate binaries — they are always at ~/.local/bin/<agent>
  • Never create non-root users to work around permission issues — just use -p

Managing Children

  • spawn list --json — see running children
  • spawn delete --name <name> --yes — tear down a child VM (headless)
  • spawn tree — see the full spawn tree

Context

  • You are running inside a spawned VM (SPAWN_DEPTH is set)
  • Cloud credentials are pre-configured — no auth prompts
  • OpenRouter billing is shared with the parent
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 · 52 lines · 15 tokens per session scan A c210319fd066

Subscribe to this mod's changes

spawn is a skill published in the GitHub repository OpenRouterLabs/spawn (245 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 15 tokens to every session and 513 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to spawn, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

configuration

A guide to configuring OpenClaw, including its main YAML configuration file, environment variables, performance settings, and security options.

chaterm/terminal-skills · 8 tokens

azure-cli

A command-line tool for managing Microsoft Azure, Microsoft's cloud platform, from a terminal. It covers account sign-in, subscriptions, resource groups, virtual machines, and other cloud resources.

chaterm/terminal-skills · 7 tokens

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens

officecli

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens

service-publishing

Expose worker HTTP services via Higress gateway. Use when admin asks to publish a worker's web app or API to make it externally accessible.

agentscope-ai/AgentTeams · 32 tokens

claw-admin

Claw system administration: service management, IM connections, logs, cron, and workspace diagnostics. Use when the user asks to manage claw services, connect/disconnect IM platforms, view logs, or perform system-wide operations.

x-cmd/x-cmd · 48 tokens