worktrees

worktrees is a Claude Code mod by lucasleandro08 that a chip with your git worktrees and a pane that shows each one's branch, uncommitted changes and pull request, opens it in the app's Terminal and removes the clean ones whose branch is.

Updated 2026-10-13

What is worktrees?

worktrees is a Claude Code mod by lucasleandro08 that a chip with your git worktrees and a pane that shows each one's branch, uncommitted changes and pull request, opens it in the app's Terminal and removes the clean ones whose branch is. It is listed under Git & CI and has no public popularity data yet.

TypeClaude code mod
Authorlucasleandro08
Repositorylucasleandro08/claude-mods
Popularityno public popularity data yet
CategoryGit & CI
SecurityReview before installing (72/100)
Rank#3,857 of 5,272 Claude Code mods; #277 in Git & CI
LicenseMIT
Last commit2026-10-13
Hooks6 events
SeesBash calls
Draws onAbovePrompt, Pane

Is worktrees safe to install?

worktrees scores 72/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 5 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.command.register
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.process.runruns processes
$.session.cwd
$.state.get
$.state.set
$.tool.calldrives Claude
$.ui.askdraws interface
$.ui.logdraws interface
$.ui.opendraws interface
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install worktrees?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/lucasleandro08/claude-mods
    claude plugin validate ./claude-mods/plugins/worktrees
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add lucasleandro08/claude-mods && claude plugin install worktrees@dracula-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs worktrees for you:

Install the "worktrees" Claude Code mod from https://github.com/lucasleandro08/claude-mods/tree/main/plugins/worktrees. Run claude plugin validate on it first and show me what it can access before you enable it.

More from lucasleandro08/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • aws-profile: Shows each AWS profile above the prompt with whether its login still works, a one-click `aws sso login` in the app's Ter (Review before installing)
  • codex-loop: /codex-loop hands Claude a review loop with the Codex GitHub bot: request a review, weigh each finding, fix or 馃憥 it, rep (Low risk)
  • deploy-watch: Watches AWS CodeBuild projects: a chip above the prompt with the last build, a warning when a push to the deploy branch (Review before installing)
  • docker-pane: A Docker chip above the prompt and a Dracula-themed containers pane grouped by compose project: ports, health, Start/Sto (Review before installing)
  • dot: An always-on assistant with a name and a face: give it goals, and it keeps working on them in background rounds, asks be (Review before installing)
  • guardrails: Stops risky shell commands before they run: killing ports owned by Docker containers, printing secrets from the environm (Review before installing)
  • kube-pane: A kubectl context chip above the prompt and a Dracula-themed pods pane: switch context for Claude's session without touc (Review before installing)
  • live-diff: A Dracula-themed pane with the diff of every Edit and Write Claude makes in the session, a file navigator and line numbe (Low risk)