
Spawn instance
Creates a new aweb teammate from a soul, with its own identity, home and worktree
Spawn instance is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 132
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Spawn instance
This skill sets up a new working instance of an agent role defined as a soul. It creates a home directory for the instance, registers a fresh aweb identity for it through the team invite flow, and links the shared role instructions into that home. The soul's configuration decides where the instance works: developer-type roles get their own git worktree on a dedicated branch, while coordinator or reviewer-type roles are pointed at the main checkout.
The workflow is a shell block the agent runs from its own instance home, since the aw CLI reads identity from the current directory. It captures an invite token, accepts it under a chosen alias, initializes the workspace without touching AGENTS.md, and wires symlinks for the instructions and the Claude Code config file. It also warns that instance homes must not be moved after initialization, and it hands the human a launch command rather than starting the session itself.
It expects a git checkout of the aweb repository with an agents/souls directory, the aw command line tool, and an existing connected instance that can issue invites. A dashboard-based path is described for setups without the invite command. Retiring an instance is handled by a separate skill.
When your agent uses it
Add a teammate — create an instance of a soul with its own new aweb identity and home, plus its own git worktree for developers. Use when a human asks for a teammate or assigned work needs one.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (3 KB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/spawn-instance to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/spawn-instance &&
cp -R "$tmp/naapp/folio/.agents/skills/spawn-instance" ~/.claude/skills/spawn-instance &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/spawn-instance inside it instead.
Copy the skill folder to ~/.agents/skills/spawn-instance to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/spawn-instance &&
cp -R "$tmp/naapp/folio/.agents/skills/spawn-instance" ~/.agents/skills/spawn-instance &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/spawn-instance inside it instead.
Copy the skill folder to ~/.cursor/skills/spawn-instance to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/spawn-instance &&
cp -R "$tmp/naapp/folio/.agents/skills/spawn-instance" ~/.cursor/skills/spawn-instance &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/spawn-instance inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/awebai/aweb.git --path naapp/folio/.agents/skills/spawn-instanceOr copy the folder to ~/.gemini/skills/spawn-instance yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/spawn-instance:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awebai/aweb.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/spawn-instance &&
cp -R "$tmp/naapp/folio/.agents/skills/spawn-instance" ~/.copilot/skills/spawn-instance &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/spawn-instance inside it instead.
Get the folder:
git clone --depth 1 https://github.com/awebai/aweb.gitThen copy aweb/naapp/folio/.agents/skills/spawn-instance into your agent's skills folder as spawn-instance. Agents that support SKILL.md read one folder per skill.
What it does
- Instance home setup
- Creates a dedicated home directory holding the role instructions and a new aweb identity.
- Team invite flow
- Issues and accepts an invite token so the new instance joins the team under its own alias.
- Git worktree per developer
- Gives developer-type instances their own worktree on a branch named after the instance.
- Shared main checkout
- Links coordinator and reviewer instances to the main checkout instead of a separate worktree.
- Soul-based role configuration
- Reads the work mode from each role's soul.yaml so roles stay consistent.
- Launch command handoff
- Prints the command a human runs to start the session, rather than launching it automatically.
Good for
- Add a developer teammate to work on a specific feature branch
- Spawn a reviewer instance to check a pull request
- Create a standing coordinator instance for the team
- Set up a separate worktree so parallel work does not collide
Spawn instance FAQ
When does Spawn instance trigger?
When a human asks for a teammate, or when assigned work needs one. The agent is told not to spawn instances on its own initiative.
What does Spawn instance need to run?
A git checkout of the aweb repository with agents/souls, the aw CLI, and an existing connected instance that can create invites. Without the invite command, the dashboard can be used instead.
Can I move an instance folder after creating Spawn instance?
No. The skill warns that aweb registers the workspace at its path, so relocating requires re-minting in place.
How do I install Spawn instance in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/spawn-instance to use it in all your projects, or to .claude/skills/spawn-instance in one project.
Does Spawn instance run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Spawn instance?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Spawn instance?
The closest alternatives to Spawn instance are Aweb coordination, Aweb team membership, Retire instance, Vibe workstream orchestration and Worktrees.
Where this comes from
- Description: from the skill's own SKILL.md.
More from awebai/aweb

Guides coordinated changes across the aweb OSS repo and the hosted ac repo safely
- Open source
- 132 GitHub stars
- Developer tools

Removes a finished one-shot agent instance: its aweb identity, workspace, worktree
- Open source
- 132 GitHub stars
- Developer tools

Guides an agent to record durable lessons in its soul docs, decisions, memory and skills
- Open source
- 132 GitHub stars
- Knowledge and memory

Guides building apps where AI agents are the users, using team-certificate auth
- Open source
- 132 GitHub stars
- Developer tools

Guides end-to-end tests of BYOT/AWID team-certificate auth with real keys and signatures
- Open source
- 132 GitHub stars
- Developer tools

Creates folio documents from built-in pitch, memo, or metrics templates via API
- Open source
- 132 GitHub stars
- Files and documents


