Clean Code Shit
One cache. 57 GB. That is a lot of disk for packages you already installed.
Flush it

cleancodeshit 1.2.1 · free and MIT · macOS and Linux

Your disk isfull ofshit.

AI agents write code fast. They also leave node_modules, browsers, Docker layers and model weights all over your machine. Clean Code Shit finds the mess, shows what each pile costs, and flushes only what you pick.

Scroll to build the pile.

It starts small.

A package cache here, a build folder there. Nobody notices a few gigabytes until the disk does.

Then the agents show up.

Five at a time. uvx pulls tools, a browser downloads for one run, and model weights land just in case. Toolchains join the pile.

Every run leaves residue.

Stale project folders outlive the projects. Image layers and agent transcripts nobody reads pile up behind them.

One day the disk says no.

Docker volumes are still there, never in a preset. And ~/.cache/uv is holding 57 GB on its own.

the fix

Meet the script
that flushes it.

Small flush clears rebuildable caches. Big flush adds the slow re-downloads. Hover or focus either button to see what goes.

safe caution danger stale, opt-in
# Sample disk. Pick a flush to run a cleanup.

what goes down

41 kinds of mess.
Five bins.

Every item is probed first and shown with its size and risk. Tools you do not have are skipped. Plus one opt-in sweep for stale project folders. Full item reference.

the safety model

Nothing flushes
without asking.

safe

A cache the tool rebuilds or re-downloads on demand.

caution

Re-downloading is slow or large, or it removes old versions.

danger

Can lose data. Needs yes typed in full, is never in a preset, and is refused by --yes.

  • Scan, choose, confirm, clean, report. Nothing is removed before you confirm.
  • --list and --dry-run change nothing at all.
  • Never deletes outside your home folder, and refuses to run as root.
  • Agent settings, credentials and memory are never touched. Session transcripts are danger items.
  • Editor caches are skipped while the editor is open.
  • Every cleaning run writes a log, so you can see exactly what went.

install

Install the cleaner.

No sudo, no root, no package manager required. bash 3.2 or newer, so the stock macOS bash is fine.

Homebrew

brew install bankerneel/tap/cleancodeshit

Manual install

sheet 1 of 3

Download the release

u=https://github.com/bankerneel/cleancodeshit/releases/download/v1.2.1
curl -fsSL -O "$u/cleancodeshit"      -O "$u/cleancodeshit.sha256"      -O "$u/install.sh"
Three files, one folder.

sheet 2 of 3

Check the checksum

shasum -a 256 -c cleancodeshit.sha256   # macOS
sha256sum -c cleancodeshit.sha256       # Linux
Both print cleancodeshit: OK.

sheet 3 of 3

Install, then look first

bash install.sh
cleancodeshit --dry-run
Installs to ~/.local/bin.