worktrees-manager-mod

by djmid · ★ 0 · updated 6 days ago

PanesStatus lineGuardsCommandsPromptvalidates

0

A /worktrees side panel: colored, named worktrees with one-line tasks, fast session switching, and per-worktree dev-server ports Claude respects

install worktrees-manager-mod

Install

/plugin marketplace add netgfx/claude-worktrees-mod
/plugin install worktrees-manager-mod@claude-worktrees-mod

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runui.closeprompt.composeprompt.submittool.callclassic.CwdChangedturn.completeturn.startturn.stepclassic.Stopsession.endclassic.SessionStartui.render
API calls
$.clock.every$.clock.now$.command.list$.command.register$.command.run$.env.set$.fs.exists$.fs.read$.fs.write$.model.complete$.process.run$.session.cwd$.session.id$.session.model$.settings.read$.store.delete$.store.get$.store.keys$.store.set$.tool.call$.ui.copy$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.status$.ui.toast
Draws
Pane
Can see
every promptBash|PowerShell callsEnterWorktree|ExitWorktree callsclassic hooks
Reach
level 2 of 3 runs processeswrites filessets env varsdrives Claudereads filesreads settingspersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/netgfx/claude-worktrees-mod
Path in repo
repository root
Source commit
fd415a0 the exact code the scan read
Author
djmid @netgfx
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.