create-worktrees

Create git worktrees under .claude/worktrees and copy settings.json into each.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/Utchash007/TermTales --skill create-worktrees-utchash007
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-worktrees
Source: https://github.com/Utchash007/TermTales/tree/main/.agents/skills/create-worktrees
Command: npx skills add https://github.com/Utchash007/TermTales --skill create-worktrees-utchash007

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Managing multiple parallel agent workspaces is tedious and error-prone. This skill automates creating git worktrees and ensures each new workspace receives the root Claude settings, enabling scalable, isolated environments for concurrent agents.

Core Features & Use Cases

  • Create dedicated worktrees for given branches under .claude/worktrees
  • Copy root Claude settings to each new worktree to ensure consistent configuration
  • Verify and report the created worktrees, or re-copy settings if they already exist
  • Use cases: spin up parallel agent workspaces for testing, deployment, or multi-branch experiments

Quick Start

Tell me the branch names, the source settings filename (e.g., settings.json), and a suffix (e.g., -wt) to append to each worktree, then command me to create the worktrees.

Frequently Asked Questions about create-worktrees

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

FAQPage Schema
How do I create parallel git worktrees for multiple agents to work on different branches simultaneously?

To create parallel git worktrees, this skill automates the setup of isolated agent workspaces under the .claude/worktrees directory and validates branch existence before creating the worktree for each specified branch.

How do I copy Claude settings into a new git worktree?

To copy Claude settings into a new git worktree, this skill automatically duplicates the root settings.json file into each newly created workspace to ensure consistent configuration across all parallel environments.

What is the best way to manage multiple isolated git workspaces for concurrent branching experiments?

Managing multiple isolated git workspaces is streamlined by deterministically generating worktrees in a dedicated .claude/worktrees directory, allowing concurrent agents to operate across branches without workspace conflicts.

Do I need to manually re-copy settings if an agent worktree already exists?

If an agent worktree already exists, you do not need to manually re-copy settings; the skill automatically verifies existing worktrees and re-copies the root settings.json to maintain configuration consistency.

Can I append a custom suffix to worktree directories when automating worktree creation?

Yes, you can append a custom suffix, such as -wt, to worktree directories by providing the desired suffix alongside the branch names and source settings filename when commanding the skill to create the worktrees.

Why does parallel agent branching require a dedicated worktree directory?

Parallel agent branching requires a dedicated worktree directory to enforce deterministic worktree creation under .claude/worktrees, preventing path collisions and ensuring separate, isolated directories for concurrent operations.