claude-worktree-manager

Official

Manage Claude worktrees effortlessly.

Authororient-bot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation, setup, and cleanup of isolated development environments (worktrees) specifically for Claude Code, streamlining the workflow for AI-assisted coding tasks.

Core Features & Use Cases

  • Automated Worktree Creation: Generates new Git worktrees with smart naming, automatically fetching the latest code.
  • Environment Setup: Copies .env and Claude settings, and optionally runs pnpm install and database seeding in the background.
  • Model Configuration: Allows specifying Claude models (opus, sonnet, haiku) for each worktree and includes verification steps.
  • Isolated Databases: Supports creating isolated SQLite databases for testing schema changes or migrations.
  • Cleanup: Automatically removes stale worktrees to keep the development environment tidy.
  • Ghostty Integration: Seamlessly opens new worktrees in Ghostty terminal tabs with pre-filled Claude commands.
  • Discovery-First Workflow: Integrates with a /discover skill to create implementation plans and then generate worktrees based on those plans.

Quick Start

Use the claude-worktree-manager skill to create a new worktree named 'feature-x' with the 'opus' model.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: claude-worktree-manager
Download link: https://github.com/orient-bot/orient/archive/main.zip#claude-worktree-manager

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.