claudemods

All Claude Code modsAbhiramDwivedi/claude-ops

worktrees

A Claude Code mod in AbhiramDwivedi/claude-ops

Gives every agent that can edit a git worktree of its own, runs a project's setup script with its own port range, stops only the processes that setup script recorded, 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 with warnings.

Install hint

/plugin install worktrees --marketplace AbhiramDwivedi/claude-ops

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 runsruns processes, writes files, reads files, reads env vars, draws

Validation

Passed with warnings

View 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.list, $.fs.read, $.fs.stat, $.fs.write, $.process.run, $.session.cwd, $.ui.log, $.ui.toast
Validation
Passed with warnings
Scanned revision
078413cfc5df
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. What a mod can access and how the scan works.

More from AbhiramDwivedi/claude-ops

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/AbhiramDwivedi--claude-ops--worktrees-reach.svg)](https://mods.aidojo.si/mods/AbhiramDwivedi--claude-ops--worktrees/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/AbhiramDwivedi--claude-ops--worktrees-validates.svg)](https://mods.aidojo.si/mods/AbhiramDwivedi--claude-ops--worktrees/)