Reclaim the disk space
your agents left behind.

Coding agents can leave behind Git worktrees, scratch logs, and old build outputs. A worktree is a separate project folder that can contain edits you still need. Coldcleaner checks Git state and shows proposed removals and items it would hold.

coldstack.dev/coldcleaner · Open-source · Local

One workstation cleanup

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

Check for unsaved work before cleanup

Two folders can look alike even when one holds a merged branch and the other holds edits you never pushed. The default dry run explains which items Coldcleaner would remove or hold and why.

Set rules for the directories your agents use. Coldcleaner applies those rules and checks Git state for worktree cleanup.

In the recorded cleanup, 43 unfinished worktrees were approved and backed up before removal. Eight others stayed on disk after backup errors.

What it recovered in real use.

86.5 GiB

Net disk space freed on one workstation (89% full down to 69%).

261

Worktrees retired, including 43 unfinished worktrees with approval and backups.

1 test restore

The restored backup matched all 21 entries in its manifest.

Measured while other jobs were actively writing to disk, so this is the net space recovered.

See the full evidence

Preview a cleanup

Give your agent the docs and ask for a dry run before applying changes.

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

Install with uv and check your local setup.

uv tool install git+https://github.com/coldstack-dev/coldcleaner coldcleaner doctor