spawn

Solid

Launch N parallel subagents in isolated git worktrees to compete on the session task.

AI & Automation 16,782 stars 2310 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /hub:spawn — Launch Parallel Agents Spawn N subagents that work on the same task in parallel, each in an isolated git worktree. ## Usage ``` /hub:spawn # Spawn agents for the latest session /hub:spawn 20260317-143022 # Spawn agents for a specific session /hub:spawn --template optimizer # Use optimizer template for dispatch prompts /hub:spawn --template refactorer # Use refactorer template ``` ## Templates When `--template <name>` is provided, use the dispatch prompt from `references/agent-templates.md` instead of the default prompt below. Available templates: | Template | Pattern | Use Case | |----------|---------|----------| | `optimizer` | Edit → eval → keep/discard → repeat x10 | Performance, latency, size reduction | | `refactorer` | Restructure → test → iterate until green | Code quality, tech debt | | `test-writer` | Write tests → measure coverage → repeat | Test coverage gaps | | `bug-fixer` | Reproduce → diagnose → fix → verify | Bug fix with competing approaches | When using a template, replace all `{variables}` with values from the session config. Assign each agent a **different strategy** appropriate to the template and task — diverse strategies maximize the value of parallel exploration. ## What It Does 1. Load session config from `.agenthub/sessions/{session-id}/config.yaml` 2. For each agent 1..N: - Write task assignment to `.agenthub/board/dispatch/` - Build agent ...

Details

Author
alirezarezvani
Repository
alirezarezvani/claude-skills
Created
7 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category