mole-mac-cleanup
БесплатноБез исполняемых скриптовНе проверенMac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact…
от sundial-org★ 676 звёзд на GitHubОб этом скилле
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 --debugIf looks good, run cleanup:
mo cleanOptimize system (after cleanup):
mo optimize --dry-run mo optimizeClean 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.
Установить mole-mac-cleanup в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mole-mac-cleanup?
Mac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact purge.
Как установить скилл mole-mac-cleanup?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mole-mac-cleanup запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic