offcut

by radiator-engineering · ★ 0 · updated 4 days ago

Automationvalidates

0

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...

install offcut

Install

git clone https://github.com/radiator-engineering/offcut
claude --plugin-dir ./offcut/mod

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.completesession.end
API calls
$.env.get$.process.run$.ui.log
Reach
level 2 of 3 runs processesreads env varsdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/radiator-engineering/offcut
Path in repo
mod
Author
@radiator-engineering
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.