mole-mac-cleanupMac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact purge.
Install via ClawdBot CLI:
clawdbot install bjesuiter/mole-mac-cleanupRepo: 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! ๐
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
mo clean --dry-run --debug
mo clean
mo optimize --dry-run
mo optimize
mo purge
mo clean)--dry-run first. Built with strict protections.--debug for detailed logs.Generated Mar 1, 2026
Developers can use Mole to clean up project artifacts like node_modules, target directories, and build files, freeing up disk space and improving system performance. It also helps remove caches from tools like Xcode and npm, ensuring a cleaner development environment without manual file hunting.
IT teams can deploy Mole across corporate Mac fleets to automate cleanup of system logs, browser caches, and temporary files, reducing support tickets related to slow performance. The dry-run feature allows safe previewing of actions before execution, minimizing risks in enterprise environments.
Graphic designers and video editors can use Mole to clear caches from apps like Adobe Creative Cloud and Dropbox, reclaiming storage for large project files. The optimize command helps refresh system services and rebuild caches, potentially speeding up resource-intensive creative software.
Small businesses with limited IT staff can use Mole to maintain Mac systems by cleaning browser data, removing old installers, and optimizing system performance. This reduces the need for manual maintenance, helping employees stay productive with less downtime.
Offer a free version with basic cleanup and optimization features, while charging for advanced capabilities like automated scheduling, cloud backup integration, or priority support. This model attracts individual users and upsells to power users or small teams.
Sell bulk licenses to organizations for fleet-wide deployment, including features like centralized management, compliance reporting, and custom whitelists. This targets IT departments in medium to large companies seeking standardized maintenance tools.
Bundle Mole with new Mac purchases or partner with Apple resellers to include the tool as a value-added service. This drives adoption through OEM channels and can generate revenue via referral fees or co-marketing agreements.
๐ฌ Integration Tip
Integrate Mole into automated scripts by using non-interactive commands like mo clean --dry-run first, then mo clean for safe execution. Ensure the mo binary is installed via Homebrew and accessible in the system PATH.
Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot
Perform advanced filesystem tasks including listing, recursive searching by name or content, batch copying/moving/deleting files, and analyzing directory siz...
Essential SSH commands for secure remote access, key management, tunneling, and file transfers.
Extract text from PDF files for LLM processing
The directory for AI agent services. Discover tools, platforms, and infrastructure built for agents.
Advanced filesystem operations - listing, searching, batch processing, and directory analysis for Clawdbot