Agent skill · operations · sundial-org

mole-mac-cleanup

Mac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact purge.

Why this skill is useful

Adds specific commands and workflows for deep system cleanup and optimization that the AI wouldn't reliably generate on its own.

What it needs

Requires brew installed locally. About 2k tokens when loaded. Last updated 2026-03-07. 639 stars on the source repository.

What this skill does

Mole - Mac Cleanup & Optimization Tool Repo: https://github.com/tw93/Mole Command: mo (not mole!) Install: brew install mole Note for humans: mo without params opens an interactive TUI mode. Not useful for agents, but you might wanna try it manually! 😉 What It Does All-in-one toolkit combining CleanMyMac, AppCleaner, DaisyDisk, and iStat Menus: Deep cleaning — removes caches, logs, browser leftovers Smart uninstaller — removes apps + hidden remnants Disk insights — visualizes usage, manages large files Live monitoring — real-time system stats Project artifact purge — cleans nodemodules, target, build, etc. --- Non-Interactive Commands (Clawd-friendly) Preview / Dry Run (ALWAYS USE FIRST) Execute Cleanup System Optimization What mo optimize does: 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 Whitelist Management Project Artifact Purge Config file: ~/.config/mole/purgepaths Installer Cleanup Scans: Downloads, Desktop, Homebrew caches, iCloud, Mail attachments Setup & Maintenance --- Typical Workflow 1. Check what would be cleaned: 2. If looks good, run cleanup: 3. Optimize system (after cleanup): 4. Clean dev project artifacts: --- What Gets Cleaned (mo clean) User app cache Browser cache (Chrome, Safari, Firefox) Developer tools (Xcode, Node.js, npm) System logs and temp files App-specific cache (Spotify, Dropbox, Slack) Trash Notes Terminal: Best with Ghostty, Alacritty, kitty, WezTerm. iTerm2 has issues. Safety: Use --dry-run first. Built with strict protections. Debug: Add --debug for detailed logs.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sundial-org/mole-mac-cleanup

View the source on GitHub

Browse the @skills marketplace