Spawn logo

Spawn

Community
koolamusic
spawn

Fan out work to parallel sub-agents with worktree isolation. Reads a plan, scope list, or inline description, breaks it into waves of independently-dispatchable units, and coordinates execution. The coordinator never implements — it dispatches. Use when user says 'spawn', 'fan out', 'parallelize', 'dispatch waves', or has multiple independent tasks to dispatch.

Overview

Publisherkoolamusic
Repositoryclaudefiles
Skill namespawn
Stars
121
Forks
14
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by koolamusic on GitHub. Read the source before you install it.

Installation

Install the Spawn AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/koolamusic/claudefiles/tree/main/skills/spawn
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/koolamusic/claudefiles.git /tmp/claudefiles
mkdir -p .claude/skills
cp -r /tmp/claudefiles/skills/spawn .claude/skills/spawn
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Spawn in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Spawn on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Spawn is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Spawn

Dispatch parallel sub-agents with isolation guarantees. You are the orchestrator — you coordinate, delegate, track, and integrate. You never write application code yourself.

Input

$ARGUMENTS is one of:

  • A file path — read it as the scope document (PLAN.md, HANDOFF.md, a GitHub issue, any structured doc)
  • Inline text — treat it as the scope description directly
  • auto — look for .jira/CURRENT and read the active sprint's plans. If no sprint, check .project/ROADMAP.md for the next unstarted phase. If neither exists, ask.
  • Empty — ask via AskUserQuestion what work to dispatch

Process

1. Parse scope into units

Read the input and decompose into spawn units — independently executable chunks of work. Each unit must have:

  • ID — short label (A, B, C or descriptive slug)
  • Objective — one sentence: what this agent delivers
  • Inputs — files to read, context to pass
  • Outputs — files to create/modify, commits expected
  • Depends on — other unit IDs that must complete first (empty = wave 1)

2. Build the wave map

Group units into waves by dependency:

Wave 1: [A, B, C]  — no dependencies, run in parallel
Wave 2: [D]         — depends on A
Wave 3: [E, F]      — depends on D

Units within a wave touch disjoint files. If two units in the same wave would modify the same file, split the wave or merge the units.

3. Present the dispatch plan

Show the user:

## Dispatch Plan

**Total units:** N across W waves
**Isolation:** worktree / same-tree (recommend worktree if >1 unit per wave)

| ID | Wave | Objective | Depends on | Est. complexity |
|---|---|---|---|---|
| A | 1 | ... | — | small |
| B | 1 | ... | — | medium |
| C | 2 | ... | A | small |

Proceed?

Wait for explicit approval. The user may reorder, merge, split, or cancel units.

4. Execute wave-by-wave

For each wave in order:

a. Spawn agents in parallel. Single message, one Agent tool call per unit in the wave. Each agent gets:

You are sub-agent <ID> in a spawn dispatch.

## Your objective
<objective>

## Context
<brief from scope doc + any outputs from prior waves>

## Files you own
<list of files this agent may create/modify — no others>

## Constraints
- Commit your work with a descriptive message
- Do NOT push to remote
- Do NOT open PRs
- Do NOT modify files outside your scope
- If blocked, commit what you have and report the blocker

Isolation decision:

  • If wave has >1 unit: use isolation: "worktree" on each Agent call
  • If wave has 1 unit: foreground without worktree (simpler)
  • User can override in the dispatch plan approval step

b. Collect results. When all agents in the wave return:

  • Read each agent's reported status
  • Run git log --oneline -5 (or per-worktree equivalent) to verify commits landed
  • If any agent reports a blocker: surface it via AskUserQuestion — retry, skip, or abort
  • If any agent's worktree has changes: note the worktree branch for integration

c. Integrate worktree results (if using worktrees):

  • For each completed worktree agent, cherry-pick or merge its commits onto the working branch
  • Resolve conflicts if any — surface to user if non-trivial
  • Verify the integrated state compiles / passes basic checks

5. Report

When all waves complete:

## Spawn Complete

**Units dispatched:** N
**Waves executed:** W
**Status:**
| ID | Status | Commits | Notes |
|---|---|---|---|
| A | complete | abc1234 | — |
| B | complete | def5678 | — |
| C | blocked | — | <blocker description> |

**Integration:** all cherry-picked onto <branch>
**Next step:** <recommendation — run tests, open PR, continue with next spawn>

Hard rules

  • You are the orchestrator. Never write application code, tests, or configuration yourself. Your job is dispatch, tracking, and integration.
  • Wave-safe parallelism. Never dispatch two agents that modify the same file in the same wave.
  • Foreground parallel, not background. Use multiple Agent calls in a single message for within-wave parallelism. Background agents have worktree isolation issues.
  • Never force-push. If integration has conflicts, surface and ask.
  • Never auto-merge PRs. Open them, report them, stop.
  • Git state verification after every wave. Don't trust agent self-reports alone — check git log and git status.
  • User approval before dispatch. Always show the dispatch plan and wait for "go."

Integration with jira

When invoked by jira:execute or with auto argument in a jira-managed repo:

  • Read wave structure from *-PLAN.md frontmatter (plans already have wave: fields)
  • Pass CONTEXT.md (locked decisions) to every agent
  • Write integration results to EXECUTION.md (append-only)
  • Don't duplicate jira:execute's Nyquist/verifier gates — those run after spawn returns

Integration with studio

If .workspacerc exists, resolve all .jira/ and .project/ paths through the workspace. Worktree agents don't get symlinks automatically — pass resolved absolute paths in agent prompts.

Frequently asked questions

What does the Spawn AI skill do?

Fan out work to parallel sub-agents with worktree isolation. Reads a plan, scope list, or inline description, breaks it into waves of independently-dispatchable units, and coordinates execution. The coordinator never implements — it dispatches. Use when user says 'spawn', 'fan out', 'parallelize', 'dispatch waves', or has multiple independent tasks to dispatch.

Why use Spawn on TypingMind?

Because you install it once and use it with any model. Spawn is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Spawn in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/koolamusic/claudefiles/tree/main/skills/spawn. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Spawn?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Spawn?

As many as you like. As long as a model supports skills, you can use Spawn with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Spawn AI skill free?

Yes. It is published on GitHub by koolamusic under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇