claudemods

All Claude Code modsnarrowstacks/claude-code-mods

worktrees

A Claude Code mod in narrowstacks/claude-code-mods

/worktrees pane: each git worktree with branch, uncommitted changes, ahead/behind and PR state; removes clean worktrees whose PR is merged or closed

worktrees reaches L2 (writes or runs) by its classified calls and passed claude plugin validate with warnings on Claude Code 2.1.302.

Install hint

/plugin install worktrees --marketplace narrowstacks/claude-code-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsother: $.state.get, other: $.state.set, runs processes, draws

Validation

Passed with warnings on Claude Code 2.1.302

View the source on GitHub Back to the list

What the scan recorded

Observed events
Only what it hooks
Hooks
session.start, command.run {command=worktrees}, ui.render {component=Pane, requestId=worktrees}
API calls
$.command.register, $.process.run, $.session.cwd, $.session.root, $.state.get, $.state.set, $.ui.ask, $.ui.open, $.ui.resolve, $.ui.toast
Validation on 2.1.302
Passed with warnings
Scanned revision
4aa697cd385e
Marketplace warnings
claude-code-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.

More from narrowstacks/claude-code-mods

Badge for your README

Reach badge for worktrees Validation badge for worktrees

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/narrowstacks--claude-code-mods--worktrees-reach.svg)](https://mods.aidojo.si/mods/narrowstacks--claude-code-mods--worktrees/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/narrowstacks--claude-code-mods--worktrees-validates.svg)](https://mods.aidojo.si/mods/narrowstacks--claude-code-mods--worktrees/)