claudemods

All Claude Code modsradiator-engineering/offcut

offcut

A Claude Code mod in radiator-engineering/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.

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, draws

Validation

Passed on Claude Code 2.1.302

View 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

Reach badge for offcut Validation badge for offcut

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