Auto-Updater Skill
一个面向 Other 场景的 Agent 技能。原始说明:Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
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:
kind: brew
formula: mole
bins: ["mo"]
label: Install Mole via Homebrew
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
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.