All Claude Code modsAbhiramDwivedi/claude-ops
worktrees
Gives every agent that can edit a git worktree of its own, runs a project's setup script with its own port range, kills what an agent left running, removes an agent's worktree and branch once the session merges it, and tidies other merged branches on demand with /tidy
worktrees reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 9
- API methods referenced: 13
- Access from classified calls: L2, writes or runs: runs processes, writes files, reads files, reads env vars, draws
- Static scan, not a runtime test
Install hint
/plugin install worktrees --marketplace AbhiramDwivedi/claude-opsFrom 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 runsruns processes, writes files, reads files, reads env vars, drawsValidation
Passed on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- classic hooks
- Hooks
classic.PreToolUse {tool=Agent}, classic.WorktreeCreate, classic.WorktreeRemove, classic.SubagentStop, classic.SubagentStart, classic.SessionStart, classic.PostToolUse, session.start, command.run {command=tidy}- API calls
$.clock.after, $.clock.now, $.clock.sleep, $.command.register, $.env.get, $.fs.exists, $.fs.read, $.fs.stat, $.fs.write, $.process.run, $.session.cwd, $.ui.log, $.ui.toast- Validation on 2.1.302
- Passed
- Scanned revision
0d24bcb00c45- Marketplace passed
- claude-ops
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 AbhiramDwivedi/claude-ops
- session-modelsShows the main model and its effort, the live agents by model and effort, and the working directory, and warn…
- subagent-limitsKeeps subagents small: tells the main agent how to size and split work, asks a growing subagent to checkpoint…
- usage-limitsKeeps the 5-hour and weekly limit windows, their burn rate, a run-out projection, context fill, session cost…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/AbhiramDwivedi--claude-ops--worktrees/)
[](https://mods.aidojo.si/mods/AbhiramDwivedi--claude-ops--worktrees/)