mole-mac-cleanup
Mac cleanup & optimization tool combining CleanMyMac, AppCleaner, DaisyDisk features. Deep cleaning, smart uninstaller, disk insights, and project artifact purge.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bjesuiter/mole-mac-cleanupWhat This Skill Does
The mole-mac-cleanup skill provides an interface to Mole (mo), a powerful command-line toolkit for macOS system maintenance. It functions as an all-in-one suite that mimics the capabilities of popular graphical utilities like CleanMyMac, AppCleaner, and DaisyDisk. The skill enables automated system hygiene, allowing agents to perform deep cleaning of caches, logs, and browser leftovers, as well as complex system optimizations such as rebuilding Spotlight indices, resetting network services, and refreshing the Finder. Additionally, it features a project-specific artifact purge utility, perfect for clearing out bulky node_modules, target, or venv directories, making it an essential utility for developers and power users alike.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/bjesuiter/mole-mac-cleanup
Ensure that the Mole CLI is installed on your host system via Homebrew:
brew install mole
Use Cases
This skill is ideal for scenarios requiring automated system maintenance or pre-deployment environment cleanup. Common use cases include:
- Reclaiming disk space before a large project build.
- Resolving system sluggishness or application unresponsiveness through system-level optimization.
- Removing bloated installer files (
.dmg,.pkg) that have accumulated in the Downloads folder. - Automating the removal of stale build artifacts in development directories.
- Ensuring the system environment is clean after heavy research or data processing tasks.
Example Prompts
- "Check how much space I can reclaim by running a deep cleanup and show me the details of what will be removed."
- "Perform a system optimization to refresh the Finder and rebuild my Spotlight index."
- "Run a purge on my development directories to remove outdated project artifacts like node_modules and target folders."
Tips & Limitations
- Always Dry-Run: Always execute commands with the
--dry-runflag first. This allows the agent to inspect the proposed changes before permanently deleting system or project files. - Debug Mode: For complex issues, append the
--debugflag to your command to receive granular details about risk levels and specific file paths being targeted. - Interactive Mode: Note that the raw
mocommand triggers an interactive TUI which is not compatible with agent workflows. Ensure all commands use the non-interactive flags documented here. - Permissions: Some deep system optimizations may require elevated privileges. Ensure your agent environment is configured correctly to handle sudo operations, potentially via
mo touchidfor convenience.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bjesuiter-mole-mac-cleanup": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
Prd
Skill by bjesuiter
nb
Manage notes, bookmarks, and notebooks using the nb CLI. Create, list, search, and organize notes across multiple notebooks with Git-backed versioning.
bridle
Unified configuration manager for AI coding assistants. Manage profiles, install skills/agents/commands, and switch configurations across Claude Code, OpenCode, Goose, and Amp.
opencode-acp-control
Control OpenCode directly via the Agent Client Protocol (ACP). Start sessions, send prompts, resume conversations, and manage OpenCode updates.
exe-dev
Manage persistent VMs on exe.dev. Create VMs, configure HTTP proxies, share access, and set up custom domains. Use when working with exe.dev VMs for hosting, development, or running persistent services.