Benjamin Jesuiter

Mole Mac Cleanup

IT Ops & Securityv1.1.0
By Benjamin JesuiterUpdated 2026-05-113 versions · latest released 2026-01-14mole-mac-cleanup@clawhub_bjesuiter/mole-mac-cleanup
TroubleshootingConfig Generation

According to AlphaMoat, as of 2026-09, Mole Mac Cleanup has 4,390 downloads and 4 stars — ranked #2,223 of 5,078 AI skills overall, and #125 of 264 in IT Ops & Security.

Installs
296
Downloads
4.4K
Stars
4
Overall Rank
#2,223
Top 44% overall · Top 48% in IT Ops & Security
PlatformInstallsDownloadsStarsComments
ClawHub ↗1324.1K2-
SkillHub ↗2964.4K4—

Platforms count differently and update at different times.

What this skill does

It combines CleanMyMac, AppCleaner, DaisyDisk and iStat Menus into one toolkit: deep cleaning (caches, logs, browser leftovers, trash), smart uninstaller, disk-usage insights, live system monitoring and project artifact purge (node_modules, target, build, etc.). Commands support --dry-run preview before cleanup/optimize, plus installer cleanup and Touch ID setup; the documentation recommends a dry-run first.

Profile published 2026-10-27

What you can do with it

  • Preview and clean macOS caches, logs and browser leftovers
  • Remove apps and hidden remnants with the smart uninstaller
  • Purge build artifacts and downloaded installers

When to use it

  • When freeing macOS disk space or cleaning dev artifacts
  • When rebuilding caches, resetting services or refreshing Finder/Dock
  • When reviewing cleanup scope with a dry-run before execution

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Run a dry-run first to preview what will be cleaned.
Clean node_modules and build under this project directory.
Run system optimization and rebuild the Spotlight index.

Monthly Trend

Downloads4.4K
2.8K3.7K4.5K2026-03 · Downloads 3.0K2026-05 · Downloads 3.4K2026-06 · Downloads 3.5K2026-07 · Downloads 3.8K2026-08 · Downloads 4.0K2026-09 · Downloads 4.4K26-0326-09
Stars4
2342026-03 · Stars 22026-05 · Stars 22026-06 · Stars 22026-07 · Stars 42026-08 · Stars 42026-09 · Stars 426-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.4K—4
2026-084.0K+4.3%4
2026-073.8K+8.1%4
2026-063.5K+4.6%2
2026-053.4K—2
2026-033.0K—2

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.8 KB · ClawHub v1.1.0
---
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 <[email protected]>
metadata:
  clawdbot:
    emoji: "🧹"
    os: ["darwin"]
    requires:
      bins: ["mo"]
Show all (140 lines)
    install:
      - id: brew
        kind: brew
        formula: mole
        bins: ["mo"]
        label: Install Mole via Homebrew
---

# Mole - Mac Cleanup & Optimization Tool

**Repo:** 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! 😉

## 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)
```bash
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
```bash
mo clean                        # Run deep cleanup (caches, logs, browser data, trash)
mo clean --debug                # Cleanup with detailed logs
```

### System Optimization
```bash
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
```bash
mo clean --whitelist            # Manage protected cache paths
mo optimize --whitelist         # Manage protected optimization rules
```

### Project Artifact Purge
```bash
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
```bash
mo installer                    # Find/remove .dmg, .pkg, .zip installers
```

Scans: Downloads, Desktop, Homebrew caches, iCloud, Mail attachments

### Setup & Maintenance
```bash
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

1. **Check what would be cleaned:**
   ```bash
   mo clean --dry-run --debug
   ```

2. **If looks good, run cleanup:**
   ```bash
   mo clean
   ```

3. **Optimize system (after cleanup):**
   ```bash
   mo optimize --dry-run
   mo optimize
   ```

4. **Clean dev project artifacts:**
   ```bash
   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-run` first. Built with strict protections.
- **Debug:** Add `--debug` for detailed logs.

Popular in IT Ops & Security

More from Benjamin Jesuiter

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.