All Claude Code modsradiator-engineering/offcut
offcut
Cleans up finished git worktrees as soon as a turn or a session ends. When a turn ends (the main session's or a subagent's), it runs `offcut apply --only auto --yes` for the session's repo in the background: a worktree goes only if it is clean, pushed, and its work is merged or eventlog says its agent is done. When the session ends, it runs once more a few seconds later, also clearing unused build caches, so the session's own worktree can go. Every removal is recorded for `offcut restore`. Inert when `offcut` is not installed, outside a git repo, or with OFFCUT=off.
offcut reaches L2 (writes or runs) and passed claude plugin validate on Claude Code 2.1.302.
- Events hooked: 3
- API methods referenced: 3
- Access from classified calls: L2, writes or runs: runs processes, reads env vars, draws
- Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L2 Writes or runsruns processes, 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
- Only what it hooks
- Hooks
session.start, turn.complete, session.end- API calls
$.env.get, $.process.run, $.ui.log- Validation on 2.1.302
- Passed
- Scanned revision
6b2a3e861055
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.
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/radiator-engineering--offcut--offcut/)
[](https://mods.aidojo.si/mods/radiator-engineering--offcut--offcut/)