Loading...
Loading...
Smart Disk Cleaner for Mac, a user-friendly wrapper based on Mole (https://github.com/tw93/Mole)
npx skill4agent add crazynomad/skills disk-cleanerpython scripts/mole_cleaner.py --checkpython scripts/mole_cleaner.py --preview # Terminal text report
python scripts/mole_cleaner.py --preview --html # HTML report (auto-opens browser)
python scripts/mole_cleaner.py --preview --csv # Complete CSV list (saved to desktop)
python scripts/mole_cleaner.py --preview --json # JSON format outputpython scripts/mole_cleaner.py --clean --tier air --confirm # Air: Most safe
python scripts/mole_cleaner.py --clean --tier pro --confirm # Pro: Recommended
python scripts/mole_cleaner.py --clean --tier max --confirm # Max: Maximize
python scripts/mole_cleaner.py --clean --confirm # Default full cleaningpython scripts/mole_cleaner.py --whitelist --show # View current whitelist
python scripts/mole_cleaner.py --whitelist --preset office # Add white-collar office preset
python scripts/mole_cleaner.py --whitelist --preset developer # Add developer preset
python scripts/mole_cleaner.py --whitelist --add ~/Documents/重要项目 # Add custom pathpython scripts/mole_cleaner.py --statuspython scripts/mole_cleaner.py --show-achievementpython scripts/mole_cleaner.py --check--auto-installpython scripts/mole_cleaner.py --previewPlease select the solution you want to execute:
1. 🌬️ Air - Most safe, only clears browser and logs → X.XX GB
2. ⚡ Pro - Recommended, balances safety and space → X.XX GB
3. 🚀 Max - Maximize hard drive space release → X.XX GB
4. 📋 View complete list first - Generate CSV detailed list
5. ⚙️ Configure whitelist - Protect specific paths# Execute after confirmation
python scripts/mole_cleaner.py --clean --tier air --confirm # Or pro/maxpython scripts/mole_cleaner.py --preview --csvofficedevelopermediapython scripts/mole_cleaner.py --whitelist --preset office
# Or add custom path
python scripts/mole_cleaner.py --whitelist --add ~/Documents/重要项目--confirm~/.config/mole-cleaner/logs/| Tier | Cleaning Scope | Risk Level |
|---|---|---|
| 🌬️ Air | Browser cache, system logs | Low risk |
| ⚡ Pro | Air + user application cache, package manager cache, trash | Medium risk |
| 🚀 Max | All cleanable items | Higher risk |
| Preset | Protected Content |
|---|---|
| office | Office documents (.doc, .docx, .xls, .xlsx, .ppt, .pptx, .pdf, .pages, .numbers, .key) |
| developer | Code and configuration (.py, .js, .ts, .go, .rs, .java, .swift, .json, .yaml, .toml) |
| media | Media projects (.psd, .ai, .sketch, .fig, .aep, .prproj, .fcpx, .mov, .mp4) |
brew install tw93/tap/molepip install jinja2~/.config/mole-cleaner/
├── logs/ # Operation logs
├── reports/ # HTML reports
└── achievements/ # Achievement pages
~/Desktop/
└── mole-clean-list-YYYYMMDD-HHMMSS.csv # Complete CSV list