技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
mole-mac-tool【数据与研究】Mole (https://github.com/tw93/mole) is a macOS terminal maintenance tool that replaces CleanMyMac, AppCleaner, DaisyDisk, and iStat Menus with a single binary. This skill should be used when the user asks about Mac cleanup, disk space analysis, app uninstallation, system optimization, system monitoring, or project build artifact cleanup. Triggers inc…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Mole is a single-binary macOS maintenance CLI that replaces multiple paid tools. It handles system cleanup, app uninstallation, disk analysis, system monitoring, optimization, and project build artifact cleanup.
brew install mole
Or via install script:
curl -fsSL https://raw.githubusercontent.com/tw93/mole/main/install.sh | bash
mo clean — Deep System CleanupScans and cleans user app caches, browser caches (Chrome/Safari/Firefox), dev tool residuals (Xcode, Node.js, npm), system logs, temp files, app-specific caches, and Trash. Can free tens of GB.
Key flags:
--dry-run — Preview what would be deleted without actually deleting--json — Machine-readable outputmo uninstall — Smart App UninstallInteractive app selection. Removes the app AND 52+ related files across 12 locations: Application Support, Caches, Preferences, Logs, WebKit storage, Cookies, Extensions, Plugins, Launch daemons, etc.
Key flags:
--dry-run — Preview removal planmo clean)mo optimize — System OptimizationRebuilds system databases, clears caches, resets network services, refreshes Finder/Dock, cleans diagnostic/crash logs, removes swap files, rebuilds Launch Services and Spotlight index.
Key flags:
--dry-run — Preview optimization plan--whitelist — Exclude specific optimization itemsmo analyze — Disk Space AnalysisVisual disk usage with percentage bars. Finds large files, shows last access time. Supports keyboard navigation (arrow keys, vim h/j/k/l).
Key flags:
--dry-run — Preview analysismo status — Real-time System MonitorLive dashboard with health score (based on CPU, memory, disk, temp, I/O load). Shows per-core CPU usage, load average, memory details, disk R/W, battery health/cycles/temp, fan speed, network speed, proxy info, process ranking. Press k to toggle cat display.
Key flags:
--json — JSON output (auto-enabled in pipe mode)mo purge — Project Build Artifact CleanupScans and cleans node_modules, target, .build, build, dist, venv, etc. Projects modified within 7 days are unchecked by default to prevent accidental deletion. Supports custom scan path configuration.
Key flags:
--dry-run — Preview what would be purgedmo installer — Installer Package CleanupFinds installer files in Downloads, Desktop, Homebrew cache, iCloud, and Mail. Annotates each file's source for identification.
mo history — Operation Log ViewerRead-only viewer for the operation log at ~/Library/Logs/mole/operations.log. No destructive actions.
Key flags:
--json — JSON outputCRITICAL: Always remind users of these safety rules before running any destructive command.
--dry-run first to preview what will be deleted before the real runmo clean is permanent after confirmation — no Trash, no undo. Review carefullymo analyze deletions use Finder Trash — safest deletion path, but limited scopemo uninstall routes to Trash where possible — safer than mo clean~/Library/Logs/mole/operations.log — check if unsure what was done/, /System, /bin, /sbin, /usr, /etc, /var, /private, /Library/ExtensionsFor the full security audit report, see references/security_audit.md.
mo analyze
Use keyboard to navigate, find large old files. Deletions go to Trash.
mo clean --dry-run # Preview first
mo clean # Then run if looks good
mo uninstall --dry-run # Preview first
mo uninstall # Then run, select app interactively
mo optimize --dry-run # Preview first
mo optimize # Then run
mo status
mo purge --dry-run # Preview first
mo purge # Then run
mo installer
--dry-run first and warn about irreversibilityreferences/security_audit.md if the user has security concerns