claude-worktree

A command-line utility for creating isolated Git worktrees specifically for Claude coding sessions.

claude-worktree streamlines AI-assisted development by providing isolated environments for each Claude session. Work on multiple features in parallel, experiment safely, and maintain clean separation between different development tasks.

Usage

claude-worktree                    # Create a worktree for the current branch
claude-worktree feature-auth       # Create a worktree for a new or existing branch

This will:

  • Create a new Git worktree in .claude-wt/<branch-name>
  • Set up a contextual CLAUDE.md file in the worktree
  • Launch a new Claude Code session