coldstack.dev/coldcleaner · Local-first

Take back the space
your worktrees use.

The agents finished their branches. The worktrees, scratch files and benchmark output are still on disk, and the next build needs the space. Let Coldcleaner draw up a cleanup plan.

One workstation, before and after.

One workstationNov 22–23, 2026
Disk use 89% full69% full
Worktrees removed261 total
One test restore21 matching entries
Net space freed86.5 GiB

Which worktree has your last edit?

Two directories can look equally abandoned. One holds a merged branch. The other has a change you never pushed. A dry run lists what Coldcleaner would remove and why it would leave the rest.

A cleanup reminder in one repo does little for the next project. Set rules for the directories your agents use. Each preview then works from Git state and backup rules, even when the agent that made the files is long gone.

You choose where it looks and what it can remove. On this workstation, 43 unfinished worktrees were backed up and removed with approval. Eight others stayed on disk after backup errors.

What the cleanup recovered.

86.5 GiB

Net space freed on one workstation, from 89% full to 69%.

261

Worktrees retired. Of those, 43 unfinished worktrees had approval and backups.

1 test restore

The restored backup matched all 21 entries in its manifest.

Other jobs were writing to disk during this cleanup, so the figure is the net change.

See the full evidence

Try a cleanup preview.

Give your agent the manual and ask for a dry run.

Read https://coldstack.dev/docs/coldcleaner/ and https://github.com/TayHCode/coldcleaner. Help me preview a cleanup. Show me the proposed changes before applying anything.

Install with uv, then check your local prerequisites.

uv tool install git+https://github.com/TayHCode/coldcleaner coldcleaner doctor