Orchestrates autonomous Claude Code subagents in isolated git worktrees for concurrent, mechanical task execution.
The spawn-subagent skill enables complex task delegation by launching independent Claude Code instances in isolated git worktrees. This allows a parent agent to maintain high-level coordination while subagents handle specific, well-defined implementation or planning tasks. It features robust token tracking, fail-fast mechanics, and strict state management to ensure subagents operate reliably without real-time user supervision. By isolating execution, it prevents context window bloat and allows for parallel development workflows.
主要功能
01Strict token tracking and measurement across subagent sessions
02Two-stage planning subagents for maximum token efficiency
03Isolated Git worktrees for concurrent and sandboxed task execution
04Mandatory fail-fast conditions to prevent autonomous error loops
05Automatic project hook inheritance for consistent rule enforcement
062 GitHub stars
使用场景
01Offloading time-intensive implementation tasks to subagents while the main agent handles coordination
02Performing routine code updates and refactors in a sandboxed environment to preserve main context
03Executing multi-stage planning where subagents generate and refine detailed technical specs