setup-worktrees

by 0xBADC0FFEE · ★ 0 · updated yesterday

PanesCommandsvalidates

0

Puts session worktrees in /.worktrees/ and runs your own setup/teardown scripts there, kept in .claude/settings.local.json. Needs function hooks (early access).

install setup-worktrees

Install

/plugin marketplace add 0xBADC0FFEE/claude-code-mods
/plugin install setup-worktrees@claude-code-mods

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.render
API calls
$.command.register$.env.get$.fs.exists$.fs.read$.fs.write$.process.run$.session.root$.state.get$.state.set$.ui.copy$.ui.invalidate$.ui.open$.ui.resolve$.ui.toast
Draws
Pane
Reach
level 2 of 3 runs processeswrites fileswrites the clipboardreads filesreads env varsreads mod 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/0xBADC0FFEE/claude-code-mods
Path in repo
setup-worktrees
Source commit
e1d22f2 the exact code the scan read
Author
@0xBADC0FFEE
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.

More from 0xBADC0FFEE/claude-code-mods

context-tokens

0xBADC0FFEE/claude-code-mods

Shows the context tokens in use beside the prompt footer of the desktop app, green under 100k, yellow to 150k, red beyond. Needs function hooks (early access).

★ 0ReskinsGuards