Parallel workspaces for your code - that's what Worktree Manager is all about. This innovative tool creates isolated Git worktrees for parallel feature development, handling the tedious setup so you can focus on building.

The Concept

----------------

When it comes to working on multiple features in parallel, traditional workflows often monopolize your environment. But with Worktree Manager, you can collaborate with agents and spin up a clean, separate copy of your project (a Git worktree) for each feature. This way, you can assign an AI worker to that directory without contaminating your main project.

Capabilities

-------------

Designed for workflows that go beyond a single assistant and into multi-agent collaboration, Worktree Manager offers the following capabilities:

  • Creates isolated Git Worktrees automatically
  • Auto-detects project type & installs dependencies
  • Auto-copies development environment files (.env, .vscode)
  • Move, lock, repair, and prune worktrees for lifecycle management
  • Rename and delete branches with safety checks
  • Create worktrees from existing branches
  • Automatically initializes git submodules
  • Pairs with Chainer for workflow automation

Installation

-------------

Getting started is simple. You'll need to install Claude Code, which requires a Swift app development environment. For automated workflows, you can also install the Chainer plugin.

Command Reference

-----------------

Here's a quick lookup of Worktree Manager commands:

| What you want | Command | You provide | What happens |

|---|---|---|---|

| Create a worktree | /worktree-manager:create | feature name (bug-fix) | Creates worktree at ~/worktrees/ on branch feature/ with auto-setup (npm install, etc.) |

| List all worktrees | /worktree-manager:list | nothing | Shows all active worktrees with their paths, branches, and lock status |

| Check worktree status | /worktree-manager:status | worktree path | Shows git status, uncommitted changes, and branch info |

Configuration

-------------

You can customize the behavior of Worktree Manager by creating a config file. Project config overrides user config, which overrides defaults.

FAQ

---

Common questions about Worktree Manager include:

  • What is Worktree Manager?
  • How does it work?
  • Why do I need to create separate workspaces for each task?

The answer is simple: Worktree Manager lets you safely ask AI to try ideas and make changes to a project without messing up what you're currently working on. By creating isolated workspaces, you can keep your main project clean and stable while experiments happen elsewhere.

Disclaimer

Worktree Manager is still in its early beta stages. This project was cobbled together on December 31, 2026, and should be considered experimental. Only a handful of people have tried it so far. Expect rough edges, breaking changes, and incomplete features. Use at your own risk.