Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By thomast8v1.0.0MITIn 2 marketplaces
Create git worktrees from PR numbers / branch names / a live picker (your open PRs and PRs needing your review), and reclaim worktree branches back into main. Graphite-aware. Bundles WorktreeCreate/WorktreeRemove hooks so the session's project directory follows the worktree.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
/worktree and /unworktree for Claude Code, with the hooks that make EnterWorktree actually move the session.
New here? Start with the user guide — it walks through six realistic scenarios with the exact commands you'd type.
/worktree [arg]/worktree — interactive picker built from your open PRs + PRs needing your review (oldest review requests first, then your own branches stack-first)./worktree 123 — resolve PR #123's head branch./worktree feature/my-branch — use that branch directly.Asks once whether to open as a worktree (isolated path under <repo>/.claude/worktrees/) or switch checkout in the current tree. Worktree mode is the default when reviewing teammate PRs.
/unworktree [arg]/unworktree — when run from inside a worktree, defaults to that one; otherwise offers a picker./unworktree 123 — pick by PR number./unworktree feature/foo — pick by branch./unworktree /absolute/path — pick by worktree path.Stashes any work in the worktree, removes the worktree, checks out the branch in main, pops the stash. The backing branch always survives — this skill never runs git branch -D.
Each skill is a coordinator around bundled shell scripts in scripts/. The scripts own all the git / gh / gt logic and return JSON; the skill body parses the JSON and decides what to do next.
scripts/gather.sh — fetch, detect Graphite, resolve arg, build picker datascripts/execute.sh — create worktree or switch checkout (fallback path)scripts/post-enter.sh — run inside new worktree: pull, copy gitignored dev filesscripts/list.sh — enumerate worktrees with dirty/merged statescripts/reclaim.sh — stash + remove worktree + checkout branch in main + pop stashRegistered via hooks/hooks.json, loaded automatically when the plugin is enabled:
WorktreeCreate → hooks/worktree-create.sh — enforces branch naming, reuses existing branches, cuts new branches from origin/<default>WorktreeRemove → hooks/worktree-remove.sh — info-only loggerexecute.sh copies gitignored files matching a whitelist into the new worktree. Default globs: .env .env.local .env.*.local .envrc.
Per-repo override: create <repo>/.claude/worktree.conf with a single line:
WORKTREE_COPY_GLOBS=".env .env.local .env.test .envrc direnv/envrc"
Don't add node_modules, .venv, or similar — those break because they bake in absolute paths at install time.
~/.claude/logs/worktree-create.log — every hook invocation gets a timestamped line.
npx claudepluginhub thomast8/claude-worktree-toolkit --plugin worktree-toolkitBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground