create-worktrees · ccplugins — Claude Code plugin: setup and worktrees
create-worktrees creates Git worktrees for open pull requests or selected branches. Useful when several branches need separate working directories.
Apache-2.0 ★ 1,013 updated 2026-08-12
/plugin marketplace add ccplugins/awesome-claude-code-plugins
/plugin install create-worktrees@awesome-claude-code-pluginsWhat create-worktrees does
The plugin creates Git worktrees for every open pull request or for branches you choose. It can also create a custom branch for development, giving each task its own working directory.
Branch names containing slashes are handled, and stale worktrees can be cleaned up. That matters in repositories using names such as feature/auth, where branch structure should not block worktree creation.
What it helps with
- create worktrees for all open pull requests
- prepare a worktree for a chosen branch
- handle branch names with slashes
- remove stale worktrees
- create a separate development branch
Example prompts for the agent
- Create Git worktrees for all open pull requests in this repository.
- Prepare a worktree for the
feature/authbranch. - Clean up stale worktrees and create a custom branch for development.
How to install create-worktrees
Plugin marketplace
/plugin marketplace add ccplugins/awesome-claude-code-plugins/plugin install create-worktrees@awesome-claude-code-pluginsStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about create-worktrees
How do I install create-worktrees in Claude Code?
First add the marketplace with /plugin marketplace add ccplugins/awesome-claude-code-plugins, then install the plugin with /plugin install create-worktrees@awesome-claude-code-plugins.
What does create-worktrees do?
It creates Git worktrees for open pull requests or selected branches. The plugin also supports stale-worktree cleanup and custom branch creation for development.
Can create-worktrees handle branch names with slashes?
Yes. It supports names such as feature/auth when creating worktrees.
Source text
create-worktrees · Apache-2.0
Creates git worktrees for all open PRs or specific branches, handling branches with slashes, cleaning up stale worktrees, and supporting custom branch creation for development.
© evmts · Apache-2.0 · ccplugins/awesome-claude-code-plugins
Similar plugins
All plugins for Git and GitHub →create-worktrees by other authors comes first.