mole-mac-cleanup for Openclaw

A comprehensive Mac optimization toolkit for deep cleaning, app uninstallation, and project artifact purging via a simple CLI.

bjesuiter
v1.1.0
Jan 14, 2026
2
4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install mole-mac-cleanup

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install mole-mac-cleanup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is mole-mac-cleanup?

mole-mac-cleanup is an all-in-one system utility designed for macOS power users and automated agents. It combines the functionality of popular tools like CleanMyMac and DaisyDisk into a high-performance command-line interface. By integrating this tool into your Openclaw Skills library, you gain the ability to manage system health, reclaim disk space, and optimize performance through a single, unified interface.

The tool is specifically built to handle deep cleaning of caches, logs, and browser leftovers, while also providing a smart uninstaller to remove applications along with their hidden remnants. Its focus on non-interactive execution makes it an ideal addition to Openclaw Skills for those looking to automate system maintenance tasks reliably without manual intervention.

mole-mac-cleanup Use Cases

  • Reclaiming disk space by removing system caches, logs, and browser data.
  • Safely uninstalling macOS applications and removing all associated hidden files.
  • Purging developer project artifacts like node_modules or build directories to free up storage.
  • Automating system optimization tasks such as rebuilding Spotlight indexes and resetting network services.
  • Auditing disk usage and identifying large files before performing a cleanup via Openclaw Skills.

How mole-mac-cleanup Works

  1. Run a dry run using the --dry-run flag to preview exactly which files and directories will be affected by the cleanup or optimization.
  2. Execute the clean command to remove user app caches, developer tool residues, and system-level logs.
  3. Trigger the optimize command to rebuild system databases, clear network caches, and refresh core services like Finder and Dock.
  4. Use the purge functionality to scan for and delete heavy build artifacts across specified project directories defined in the Openclaw Skills workflow.
  5. Manage whitelist configurations to ensure critical paths or system services are protected during automated maintenance.

mole-mac-cleanup Setup

Install the tool via Homebrew and configure it for command-line use within Openclaw Skills:

brew install mole
mo completion
mo touchid

Note: The primary command is mo, which provides the core interface for all cleanup operations.

mole-mac-cleanup Data Schema & Taxonomy

The tool manages data across several key areas of the macOS filesystem:

Category Targets
Cleanup Targets User caches, Browser data (Chrome, Safari, Firefox), Xcode, Node.js
Optimization System databases, Launch services, Spotlight index, Network services
Config Path ~/.config/mole/purge_paths (for project artifact scan locations)
Installer Scan Downloads, Desktop, Homebrew caches, iCloud, Mail attachments

Detailed execution data and risk levels can be generated using the --debug flag for auditing within Openclaw Skills.

mole-mac-cleanup Advanced Features

  • Non-interactive mode support for seamless integration with Openclaw Skills and automated maintenance workflows.
  • Project artifact purging that intelligently targets heavy development folders across the filesystem.
  • Integrated installer cleanup to find and remove forgotten .dmg, .pkg, and .zip files.
  • Whitelist management for granular control over which files and services remain untouched during deep cleans.
  • Native Touch ID integration to streamline sudo-level system operations safely and efficiently.

SKILL.md


Loading

Related Openclaw Skills

Featured*