spawn-agent
Installation
SKILL.md
Spawn agent
Supported harnesses
| Harness | CLI | Reference |
|---|---|---|
| Google Antigravity CLI | agy |
references/antigravity.md |
| Claude Code | claude |
references/claude.md |
| Cursor Agent | agent |
references/cursor.md |
| Codex CLI | codex |
references/codex.md |
If the user names a harness with no reference here, such as Gemini CLI, say it is unsupported and offer a supported harness.
Workflow
- Decide whether to spawn at all.
- Spawn when the subtask needs an isolated context window; a different working directory, repository, or Git worktree; a scriptable CI or build step; or an agent host with no suitable built-in subagent.
- Prefer the host's built-in subagent or task tool when it fits; it keeps the host's context and usually costs less.
- Keep anything that needs interactive approval or a terminal UI in the host; headless runs cannot prompt a human.