Claude Code mod
setup-worktrees
Puts session worktrees in <repo>/.worktrees/ and runs your own setup/teardown scripts there, kept in .claude/settings.local.json. Needs function hooks (early access).
Install
/plugin marketplace add 0xBADC0FFEE/claude-code-mods
/plugin install setup-worktrees@claude-code-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, writes files, writes the clipboard, reads files, reads env vars, reads mod state, draws
- Draws in
AbovePromptPane- Hooks
ui.rendersession.startcommand.run
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- 0xBADC0FFEE/claude-code-mods
- Folder
setup-worktrees- Marketplace
claude-code-mods- Author
- 0xBADC0FFEE
- License
- MIT
- Last updated
- 22 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is setup-worktrees?
Puts session worktrees in <repo>/.worktrees/ and runs your own setup/teardown scripts there, kept in .claude/settings.local.json. Needs function hooks (early access). It is a mod for Claude Code, from 0xBADC0FFEE/claude-code-mods on GitHub.
What can the setup-worktrees mod access?
Its widest reach is "writes or runs" (runs processes, writes files, writes the clipboard, reads files, reads env vars, reads mod state, draws). It draws in AbovePrompt, Pane. Like any mod, it runs with your permissions.
How do I install setup-worktrees?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add 0xBADC0FFEE/claude-code-mods and then /plugin install setup-worktrees@claude-code-mods.
More git & github mods
session-prs
itkrt2y/claude-plugins
List the pull requests created in this session in a band above the prompt, and every recorded PR with the session that created it.
ship-it
LorcanChinnock/claude-desk-neighbours
One press raises a PR for the session's work, then watches CI and reviews and works through the feedback until it's ready to merge. Tracks every other PR the session links, too.
session-path
JashDev/claude-mods
A row above the prompt with the session folder, the git branch (switch it or copy it) and how far behind main you are
ship-state
tyree88/tempered_plugins
Band above the prompt: branch, dirty files, ahead/behind, PR, CI and prod deploy for the repo the session works in; toasts when CI finishes or prod goes live; one-key commit/push button.
session-outputs
gorkamb/claude-session-outputs
A side pane listing what a session made for you: files, Artifacts, PRs, CI runs and the commands it hands you to run
skills-manager
cbruyndoncx/claude-skills-manager-mod
Manage AI agent skills (SKILL.md), playbooks and value chains: list, toggle, categorise, install from GitHub/monorepo/ZIP/local/marketplace, update, freeze, scan, export, index; run and organise playbooks; map skills and playbooks to value chains. Port of the Obsidian Skills Manager plugin plus BOB playbooks.
Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.