claude-worktree-manager
OfficialManage 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
.envand Claude settings, and optionally runspnpm installand 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
/discoverskill 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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.