spawn-agents

spawn-agents is a skill for Claude Code from xbklairith/kisune. It costs 55 tokens per session (1,742 once invoked), scanned A, original, MIT.

A skill for deciding when separate coding problems can be investigated at the same time by multiple agents. It also covers sending them instructions and combining their results.

In plain words
What is it for?
Use it when two or more independent problems involve different test files, bugs, or subsystems.
Why use it?
It helps divide unrelated bugs or test failures without mixing work that depends on shared state.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code.

Part of the dev-workflow plugin — 28 skills, 1 command, 8 agents, 1 hook, 1 plugin shipped together

Good fit Use it when two or more independent problems involve different test files, bugs, or subsystems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xbklairith/kisune/spawn-agents
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 xbklairith/kisune --skill spawn-agents
Clone the repo
git clone --depth 1 https://github.com/xbklairith/kisune

Made for: Claude Code.

Or install dev-workflow, the plugin that ships this one along with the rest of its 28 skills, 1 command, 8 agents, 1 hook, 1 plugin.

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-agents

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xbklairith/kisune/spawn-agents"><img src="https://agentmods.dev/badge/skills/xbklairith/kisune/spawn-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,742 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.00055 $0.01742
Opus 5.5 $0.00022 $0.00697
Sonnet 5.5 $0.00011 $0.00348
Haiku 4.5 $0.00006 $0.00174

Measured 24d ago against content hash 1367638ddebf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spawn-agents 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 24d 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.

dev-workflow/skills/spawn-agents/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spawn Agents

Overview

Delegate independent work to subagents with isolated context. By precisely crafting the agent's prompt, you ensure it stays focused and succeeds. Subagents inherit nothing from your session — you construct exactly what they need. This preserves your own context for coordination.

Core principle: One agent per independent problem. Parallel only when truly independent. Over-dispatching is more common than under-dispatching.

The Decision: Dispatch or Not?

Dispatch when ALL of these hold:

  • 2+ problems exist that are genuinely independent
  • Each can be understood without context from the others
  • Agents won't edit the same files or rely on the same in-flight changes
  • You'd otherwise lose tokens to context bloat investigating sequentially yourself

Dispatch only when streams share no state — agents that share state conflict, and integrating them costs more than the parallelism saved. Don't dispatch when:

  • The problems share a domain model, schema, or core utility (the bugs may have one root cause)
  • The work is one cohesive feature decomposed into pieces (e.g. "implement auth: signup + login + reset + verify" — all four touch User, middleware, and schema)
  • You don't yet know what's broken (exploratory debugging needs full context)
  • The task fits in one agent (don't shard for the sake of sharding)

Soft cap: ~3-4 agents per message. If you're tempted to spawn 5+ in parallel, the more likely diagnosis is that they aren't truly independent — re-examine the decomposition before dispatching.

The Mechanism (Claude Code)

Parallelism in Claude Code is:

Multiple Agent tool invocations in a single assistant message.

When dispatching N parallel agents, emit all N tool calls in one block.

✅ One message containing 3 Agent tool calls → all 3 start together
❌ Three messages, one Agent call each → in the foreground they run one after another;
   in the background they overlap, but each extra message costs a turn

Read the full file on GitHub · 134 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. 24d ago Changed · +10 lines 1367638ddebf
  2. 1mo ago Changed · -2 lines f25f9e808191
  3. 3mo ago First seen · 126 lines · 55 tokens per session scan A 2f6326fd961d

Subscribe to this mod's changes

spawn-agents is a skill published in the GitHub repository xbklairith/kisune (4 stars, last pushed 24d ago), licensed MIT. It adds 55 tokens to every session and 1,742 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

spawn-agents compared with skills from other repositories

spawn-agents next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
spawn-agentsxbklairith/kisuneSkill424d agoMITA55Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code