worktree-spawn

Create a git worktree branch and spawn Claude to execute a delegated task.

Updated May 14, 2026
One-click install
npx skills add https://github.com/HabibTorjmen/Blockchain --skill worktree-spawn-habibtorjmen
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: worktree-spawn
Source: https://github.com/HabibTorjmen/Blockchain/tree/main/aztec-packages/yarn-project/.claude/skills/worktree-spawn
Command: npx skills add https://github.com/HabibTorjmen/Blockchain --skill worktree-spawn-habibtorjmen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you parallelize work by spawning an independent Claude instance inside a dedicated git worktree, so you can delegate a development task without blocking the current conversation.

Core Features & Use Cases

  • Isolated parallel execution: Creates a new git worktree and branch so the delegated task can evolve independently without interfering with your ongoing changes.
  • Deterministic task framing: Launches Claude in the worktree using a task prompt that includes project guidance (reads CLAUDE.md first) and key contextual constraints (working directory, branch, and PR target).
  • Branch naming from task context: Derives a branch name from author identity plus the feature/task description to keep parallel work organized.

Use case: You’re reviewing multiple fixes at once; delegate “Fix bug #123 in the sequencer” to a parallel Claude while you continue triaging other issues.

Quick Start

Ask an AI to spawn a worktree-based Claude for your task and keep the PR target set to next unless you specify otherwise.

Frequently Asked Questions about worktree-spawn

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate a coding task to a parallel Claude agent?▼

To delegate a coding task to a parallel Claude agent, this Skill creates an isolated git worktree with a task-specific branch and spawns Claude with a prompt containing your task details and project guidance.

What is git worktree used for in parallel code changes?▼

Git worktree creates an isolated working directory and branch, allowing parallel code changes to proceed independently without interfering with your active development context.

How do I spawn Claude in a yarn-project to fix a branch independently?▼

You spawn Claude in a yarn-project by creating a new git worktree, switching into that directory, and launching Claude with instructions to read CLAUDE.md first along with the specific task constraints.

Can I automate pull request generation for a parallel branch without blocking my session?▼

Yes, you can automate pull request generation by spawning Claude with a task prompt that includes PR target details, allowing the delegated agent to work independently while you continue your current session.

Does branch automation work without continuous user input for multi-step engineering changes?▼

Branch automation works for multi-step engineering changes by deriving a branch name from the task description and author identity, allowing the parallel agent to proceed without further user input.

When should I avoid using a parallel git worktree for task delegation?▼

You should avoid using parallel git worktree delegation for tasks requiring continuous user interaction or contexts outside of git-based repositories, as it is designed for isolated, multi-step development.