Launches N parallel subagents in isolated git worktrees to compete on one session task.
- skills.sh installs
- 1.4K
- GitHub stars
- 30.3K
- last updated
- Aug 21, 2026
What it does
- Covers dispatching each agent's task assignment, building its prompt, and launching all agents in a single message
- Includes four dispatch templates (
optimizer,refactorer,test-writer,bug-fixer) that assign each agent a distinct strategy - Enforces
isolation: "worktree"for every agent and forbids agents from reading each other's results - Designed for initialized AgentHub sessions, with state set to running and monitoring via
/hub-status
Install
$ npx -y skills add alirezarezvani/claude-skills --skill spawn -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
/agenthub:spawn — Launch Parallel Agents
Spawn N subagents that work on the same task in parallel, each in an isolated git worktree.
Usage
/agenthub:spawn # Spawn agents for the latest session
/agenthub:spawn 20260317-143022 # Spawn agents for a specific session
/agenthub:spawn --template optimizer # Use optimizer template for dispatch prompts
/agenthub:spawn --template refactorer # Use refactorer template
Templates
When --template <name> is provided, use the dispatch prompt from ../agenthub/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 |
Details
- Repository
- github.com/alirezarezvani/claude-skills
- Categories
- Agent Workflow & Planning, Git & Releases
- First seen
- Apr 16, 2026
More from alirezarezvani/claude-skills
All 259- Board1.4K
- Hard Call1.4K
- Eval1.4K
- Merge1.4K
- Senior Security1.3K
- Social Media Manager1.3K
- Senior Qa1.2K
- Research Summarizer1.2K
- Senior Computer Vision1.2K
- Code Reviewer1.2K
- Grill Me1.2K
- Senior Data Engineer1.2K
- Ceo Advisor1.2K
- Ui Design System1.1K
- Financial Analyst1.1K
- Self Improving Agent1.1K
- Karpathy Coder1.1K
- Product Manager Toolkit1.1K
- Tdd Guide1K
- Gdpr Dsgvo Expert1K
- A11y Audit1K
- Ux Researcher Designer1K
- Senior Prompt Engineer999
- Senior Data Scientist991
Similar to Spawn
More Agent Workflow & Planning
agenthubSkillalirezarezvani/claude-skills606 installsParallel agents compete on one task in git worktrees, and the best branch is merged.
git-worktree-managerSkillalirezarezvani/claude-skills603 installsParallel Git worktree setup that isolates branches, ports, and env files for multi-agent or multi-session work.
agent-swarm-issueSkillruvnet/ruflo1.1K installsGitHub issue-driven swarm coordination that decomposes issues into subtasks and assigns agents automatically.
git-worktreesPluginTheBushidoCollective/han201 starsAgent isolation via git worktrees - gives each subagent its own checkout to prevent interference during parallel work.
AgentMCP serverrinadelph1.3K starsMulti-agent orchestration, task delegation, and shared project memory exposed through MCP tools.
huashu-agent-swarmSkillalchaincyf/huashu-skills675 installsMulti-agent swarm that coordinates parallel agents through git alone, with no master agent or central scheduler.
