Automation/GitHub/Tool
TrimReaper
by michael-berardi·Last observed 2026-10-27
★ 0 stars⑂ 0 forks
TrimReaper is a command-line cleanup tool for agent job folders and developer-machine caches. It removes a job folder only after checking that the job is finished, Git has no work to preserve, no process is using it, and no unpreserved secrets remain; it archives and verifies unsaved work first.
Useful for
- Reclaim disk space from completed AI-agent jobs and developer caches while preserving unsaved work and leaving local models untouched.
Key features
- Before cleanup, it records a durable receipt; when unsaved work remains, it archives the work and verifies the archive.
- It cleans tool caches with each tool's own cleaner and reclaims agent worktrees; it can run automatically when disk space is low.
Requirements & limitations
- Requires macOS, Python 3.10 or newer, and git, lsof, and ps.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.