ElfClean

Find the space AI and code left on your Mac

Coding agents, local models and every project an AI helped you build quietly fill your disk. ElfClean finds that space, explains each item in plain language and moves nothing until you've reviewed it.

Email me when it's out

Coming soon to the Mac App Store. Free to scan. One purchase, no subscription. macOS 15 or later.

2874132GB

ticked. Free space goes from 42 GB to 70116174 GB once the Trash is emptied.

How much to clean

An example 512 GB Mac with local models and a year of projects. Choose a level to see where the line lands.

What ElfClean looks for

More than 140 kinds of folders, each with a plain explanation of what it is, what changes if it goes and how to get it back. The colour says how careful to be.

WhatWhere it usually livesHow careful
AI tools
Ollama modelsShared layers counted once, kept until every model using them goes.~/.ollama/modelsPersonal data
Hugging Face modelsThe hub cache and Xet caches.~/.cache/huggingfaceReview first
Claude Code and Codex historyArchived before removal, never treated as a cache.~/.claude/projects, ~/.codex/sessionsPersonal data
Git worktrees agents madeThe merged ones are ready to prune.~/.codex/worktrees and your projectsPersonal data
Old agent versionsClaude Code and Cursor Agent keep every release they install.~/.local/share/claude/versionsReview first
Cursor, Devin and VS Code cachesPlus storage for folders you've deleted and superseded extensions.~/Library/Application Support/CursorRebuilds itself
Projects and developer tools
node_modules in old projectsAlso .next, build folders, Rust target and virtual environments.The project folders you chooseReview first
Package cachesnpm, pnpm, Yarn, Bun, pip, uv, Poetry, Cargo, Go, Gradle, CocoaPods, Swift packages, Homebrew.~/.npm, ~/Library/CachesRebuilds itself
Xcode DerivedDataBuild files Xcode makes again on the next build.~/Library/Developer/Xcode/DerivedDataRebuilds itself
Simulators and device supportEach device with the runtime it uses.~/Library/Developer/CoreSimulatorPersonal data
Everyday
App caches and logsIncluding AI apps like ChatGPT and Claude.~/Library/Caches, ~/Library/LogsRebuilds itself
Old downloads and leftoversInstallers you've used and data from apps you deleted.~/Downloads, ~/LibraryReview first

It won't delete work you haven't pushed

When an AI wrote most of the code, it's easy to lose track of what's saved. ElfClean reads each project's Git repository on your Mac and shows whether it has changes that aren't committed or pushed anywhere.

Work that exists only on your Mac is marked At risk and never ticked for you, and it's checked again just before anything is removed.

ElfClean's Projects screen. The web project is marked At risk: 2 changed files and no remote outside this Mac.

Review everything. Get anything back.

  • Nothing moves until you've seen what it is, what removing it changes and how to get it back.
  • Items go to the Trash, and History remembers where each came from so it can put it back while it's still there.
  • Running apps, Apple and system apps, credentials, cloud drives and anything you mark Never Touch are left alone.
  • Honest numbers: measured sizes, no health score, no claim that cleaning speeds up your Mac.
ElfClean's Clean screen: the gauge on the left, levels from Caches to Personal data, and sections for Xcode, package downloads, AI app data and app caches.

Made for three kinds of full disk

Vibe coders

Every project an AI helped you build keeps its own node_modules, build folders and caches, and agents leave worktrees, logs and old versions behind. Clearing old node_modules

People who run AI on their Mac

Local models are often 5 to 40 GB each. See every Ollama and Hugging Face model, with shared files counted once, and add model folders you keep on other disks. Removing local models

Developers

Xcode DerivedData, archives, device support and simulators, package caches for every major ecosystem, and the Git worktrees your agents made. Clearing Xcode's files

Pay once. Keep your files to yourself.

Free to try, one purchase

Scans, the storage map, previews and History are free, and so are cleaning one item at a time and removing an app. One purchase unlocks cleaning everything you select at once, on your Macs and with Family Sharing. The App Store shows the price in your currency.

Private and sandboxed

No accounts, analytics or telemetry. Nothing about your files leaves your Mac. ElfClean is sold through the Mac App Store and measures your home folder and the folders you add. Privacy policy

Questions

Will ElfClean delete anything without asking?
No. Scanning only reads. Nothing moves until you've reviewed it and confirmed. Items go to the Trash by default, and History can put them back while they're still there. Space is freed when you empty the Trash.
Is it safe to delete node_modules on a Mac?
Usually: npm, pnpm, Yarn or Bun install it again from your lockfile. ElfClean offers node_modules only in projects you haven't touched for a while, leaves recent ones unticked, and marks projects with uncommitted or unpushed work as At risk. More on node_modules
Which AI tools does it know about?
Claude Code, Codex, Cursor, Devin (formerly Windsurf), VS Code, Roo Code, Aider and Continue, plus Ollama and Hugging Face models and the Git worktrees agents leave behind. AI apps' caches and logs are covered by the app caches rules. What coding agents leave behind
Does it speed up my Mac?
No. It frees disk space and tells you exactly how much. There's no health score and no promise that cleaning makes your Mac faster.
Does it need Full Disk Access?
No. ElfClean is sandboxed. You grant it your home folder, and any other folders or disks you want measured. It measures those, not the whole disk.
Is it a subscription?
No. Scanning is free, and one purchase unlocks cleaning several items at once. There's nothing to renew.
Who makes it?
ElfClean is made by Colin Sergay, an independent developer. Questions and bug reports go straight to him at csergay@gmail.com.

Guides

Where each tool keeps its files, and how to clear them by hand if you'd rather not use an app.

See what your Mac is holding

ElfClean is coming soon to the Mac App Store. Scanning is free and removes nothing.

Email me when it's out