Agent skill · operations · aradotso
mole-mac-cleaner
Deep clean and optimize your Mac using the Mole CLI tool
Why this skill is useful
Adds specific commands and workflows for deep cleaning and optimizing macOS that the AI wouldn't reliably generate on its own.
What it needs
Requires mole installed locally. About 5k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
Mole Mac Cleaner Skill by ara.so — Daily 2026 Skills collection. Mole (mo) is an all-in-one macOS maintenance CLI that combines deep cleaning, smart app uninstallation, disk analysis, system optimization, live monitoring, and project artifact purging into a single binary. Installation Core Commands Safe Preview Before Deleting Always dry-run destructive commands first: Key Command Details mo clean — Deep Cleanup Cleans user app caches, browser caches (Chrome, Safari, Firefox), developer tool caches (Xcode, Node.js, npm), system logs, temp files, app-specific caches (Spotify, Dropbox, Slack), and Trash. Whitelist config lives at ~/.config/mole/. Edit it to protect paths you want to keep. mo uninstall — Smart App Removal Finds apps, shows size and last-used date, then removes the app bundle plus all related files: Application Support, Caches, Preferences Logs, WebKit storage, Cookies Extensions, Plugins, Launch Daemons mo optimize — System Refresh Optimizations include: Rebuild system databases and clear caches Reset network services Refresh Finder and Dock Clean diagnostic and crash logs Remove swap files and restart dynamic pager Rebuild launch services and Spotlight index mo analyze — Disk Explorer JSON output example: Navigator shortcuts inside mo analyze: Key Action ----- -------- ↑↓ or j/k Navigate list ←→ or h/l Go back / Enter directory O Open in Finder F Reveal in Finder ⌫ Move to Trash (via Finder, safer than direct delete) L Show large files Q Quit mo status — Live Dashboard JSON output example: Shortcuts inside mo status: k toggles the cat mascot, q quits. mo purge — Project Artifact Cleanup Scans for nodemodules, target, build, dist, venv, and similar directories. Projects newer than 7 days are unselected by default. Configure custom scan paths (~/.config/mole/purgepaths): When this file exists, Mole uses only those paths. Otherwise it defaults to ~/Projects, ~/GitHub, ~/dev. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/mole-mac-cleaner