9.9kโ
by bjesuiter
mole-mac-cleanup โ OpenClaw Skill
mole-mac-cleanup is an OpenClaw Skills integration for coding workflows. Mac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact purge.
Skill Snapshot
| name | mole-mac-cleanup |
| description | Mac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact purge. OpenClaw Skills integration. |
| owner | bjesuiter |
| repository | bjesuiter/mole-mac-cleanup |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @bjesuiter/mole-mac-cleanup |
| last updated | Feb 7, 2026 |
Maintainer

name: mole-mac-cleanup description: Mac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact purge. author: Benjamin Jesuiter bjesuiter@gmail.com metadata: clawdbot: emoji: "๐งน" os: ["darwin"] requires: bins: ["mo"] install: - id: brew kind: brew formula: mole bins: ["mo"] label: Install Mole via Homebrew
Mole - Mac Cleanup & Optimization Tool
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! ๐
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
node_modules,target,build, etc.
Non-Interactive Commands (Clawd-friendly)
Preview / Dry Run (ALWAYS USE FIRST)
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
Execute Cleanup
mo clean # Run deep cleanup (caches, logs, browser data, trash)
mo clean --debug # Cleanup with detailed logs
System Optimization
mo optimize # Rebuild caches, reset services, refresh Finder/Dock
mo optimize --debug # With detailed operation logs
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
mo clean --whitelist # Manage protected cache paths
mo optimize --whitelist # Manage protected optimization rules
Project Artifact Purge
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
Installer Cleanup
mo installer # Find/remove .dmg, .pkg, .zip installers
Scans: Downloads, Desktop, Homebrew caches, iCloud, Mail attachments
Setup & Maintenance
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
Typical Workflow
-
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
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-runfirst. Built with strict protections. - Debug: Add
--debugfor detailed logs.
No README available.
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
Requirements
- OpenClaw CLI installed and configured.
- Language: Markdown
- License: MIT
- Topics:
FAQ
How do I install mole-mac-cleanup?
Run openclaw add @bjesuiter/mole-mac-cleanup in your terminal. This installs mole-mac-cleanup into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/bjesuiter/mole-mac-cleanup. Review commits and README documentation before installing.
