From sundial-org-awesome-openclaw-skills-4
Cleans and optimizes macOS: removes caches/logs, uninstalls apps with remnants, visualizes disk usage, monitors system stats, and purges project artifacts (node_modules, target, etc.).
How this skill is triggered — by the user, by Claude, or both
Slash command
/sundial-org-awesome-openclaw-skills-4:mole-mac-cleanupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Repo:** https://github.com/tw93/Mole
Repo: https://github.com/tw93/Mole
Command: mo (not mole!)
Install: brew install mole
Note for humans:
mowithout params opens an interactive TUI mode. Not useful for agents, but you might wanna try it manually! 😉
All-in-one toolkit combining CleanMyMac, AppCleaner, DaisyDisk, and iStat Menus:
node_modules, target, build, etc.mo clean --dry-run # Preview cleanup plan
mo clean --dry-run --debug # Detailed preview with risk levels & file info
mo optimize --dry-run # Preview optimization actions
mo optimize --dry-run --debug # Detailed optimization preview
mo clean # Run deep cleanup (caches, logs, browser data, trash)
mo clean --debug # Cleanup with detailed logs
mo optimize # Rebuild caches, reset services, refresh Finder/Dock
mo optimize --debug # With detailed operation logs
What mo optimize does:
mo clean --whitelist # Manage protected cache paths
mo optimize --whitelist # Manage protected optimization rules
mo purge # Clean old build artifacts (node_modules, target, venv, etc.)
mo purge --paths # Configure which directories to scan
Config file: ~/.config/mole/purge_paths
mo installer # Find/remove .dmg, .pkg, .zip installers
Scans: Downloads, Desktop, Homebrew caches, iCloud, Mail attachments
mo touchid # Configure Touch ID for sudo
mo completion # Set up shell tab completion
mo update # Update Mole itself
mo remove # Uninstall Mole from system
mo --version # Show installed version
mo --help # Show help
Check what would be cleaned:
mo clean --dry-run --debug
If looks good, run cleanup:
mo clean
Optimize system (after cleanup):
mo optimize --dry-run
mo optimize
Clean dev project artifacts:
mo purge
mo clean)--dry-run first. Built with strict protections.--debug for detailed logs.npx claudepluginhub sundial-org/awesome-openclaw-skillsDeep cleans and optimizes macOS using the Mole CLI tool. Covers cache cleanup, smart app uninstallation, disk analysis, system optimization, and project artifact removal.
Automates macOS disk cleanup and memory monitoring with Mole-based safety guards and LaunchAgent alerting. Responds to low disk space, kernel panics, and vm-compressor shortages on Apple Silicon.
Audits macOS app installations and cache sizes, prioritizes cleanup recommendations, and safely reclaims disk space after confirmation.