Launching today

CleanMate
Open-source Mac & Ubuntu cleaner your AI agent can run
2 followers
Open-source Mac & Ubuntu cleaner your AI agent can run
2 followers
CleanMate frees disk space on macOS and Ubuntu: system caches and logs, developer junk (Xcode, Docker, Homebrew, node_modules), downloaded AI models, apps with their leftovers. Everything is previewed first and removed only after you confirm. A `cleanmate` command and an Agent Skill let Claude Code or Codex scan first and clean only what you approve. Free, MIT, no account, no telemetry.







Free
Launch Team

Render Sandboxes: a computer for every agentIsolated compute, persistent state and a real filesystem
Promoted
Hi Product Hunt, I'm the maker of CleanMate.
CleanMate is a free, open-source disk cleaner: a native SwiftUI app for macOS and a desktop + terminal app for Ubuntu. You see everything with its size before anything is removed. Your files go to the Trash; only junk that apps rebuild (caches, build output) is deleted for good.
It started because AI coding agents fill a disk fast (node_modules, Docker images, Xcode builds, model files) and will happily clean it with rm -r on a path they guessed. Now they can call CleanMate instead:
cleanmate scan --json on a Mac (cm --json scan on Ubuntu) runs the same Smart Scan as the app and prints JSON.
cleanmate clean --only ... cleans exactly the items named, with the app's safety rules, and logs it.
An Agent Skill (bunx skills add homielab/cleanmate-macos) teaches Claude Code, Codex, Cursor and others to scan first, show you the result and clean only what you confirm.
Guardrails: no clean without --yes when no one is at a terminal, Docker volumes and containers only when named, browser history only when asked, running apps skipped. No account, no tracking; the Mac app's only network call is the update check, which you can turn off.
Install: brew install --cask homielab/tap/cleanmate or the notarized DMG (macOS 13+); on Ubuntu 24.04, 26.04 and 26.10 from the PPA ppa:homielab/cleanmate (the terminal app also runs on 22.04).
I'd love to hear what you would let an agent clean, and what never.