Aller au contenu
TakoAPI
Retour aux skills

mole-mac-cleanup

par bjesuiter

Apple Apps & Services
2.6kTéléchargements rapportés par clawskills.sh
2Étoiles
0Vues
0 mention J'aimeConnecte-toi pour aimer ce skill
—Pas encore noté
Ta note

Résumé

Mac cleanup & optimization tool combining CleanMyMac.

Description

Ce que fait ce skill

Mole is a Mac-only CLI tool invoked as `mo` that removes caches, logs, browser data, and app remnants, and purges dev project artifacts like node_modules and build directories. It also optimizes system services by rebuilding databases, resetting Spotlight, and refreshing Finder and Dock. Always use `--dry-run` before executing any operation.

Replaces separate GUI tools like CleanMyMac, AppCleaner, and DaisyDisk with a single scriptable CLI command that runs non-interactively in agent workflows.

Quand l'utiliser

  • Clearing browser and app caches before a big release
  • Removing leftover files after uninstalling an app
  • Purging stale node_modules across multiple projects
  • Cleaning old .dmg and installer files from Downloads
  • Rebuilding Spotlight index and resetting system services after slowdowns

Exemple de workflow

ENTRÉE

User asks: Free up disk space on my Mac without deleting anything important

AGENT
  1. 1

    Run mo clean --dry-run --debug to preview caches, logs, and browser data flagged for removal

  2. 2

    Review the output and confirm nothing critical is listed

  3. 3

    Run mo clean to execute the cleanup

  4. 4

    Run mo optimize --dry-run then mo optimize to rebuild system databases and reset services

  5. 5

    Run mo purge to remove stale build artifacts like node_modules and target directories

SORTIE

Disk space recovered by removing caches, logs, browser data, and project artifacts; Spotlight index rebuilt and system services reset

Installation

clawhub install bjesuiter/mole-mac-cleanup

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens