mole-mac-cleaner
Deep clean and optimize your Mac using the Mole CLI tool
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/adisinghstudent/mole-mac-cleanerWhat This Skill Does
The Mole Mac Cleaner skill acts as an intelligent interface for the Mole (mo) CLI, a robust and all-in-one maintenance toolkit for macOS. This skill enables OpenClaw AI to perform deep system cleaning, smart application uninstallation, and disk space management directly on your machine. By leveraging the Mole binary, the agent can navigate complex file structures to identify and remove stale caches, browser clutter, developer artifacts like node_modules, and remnant files left behind by uninstalled applications. It effectively turns your AI agent into a system administrator, allowing you to optimize performance, regain storage space, and maintain system health without manually digging through hidden library folders or complex CLI commands.
Installation
To integrate this capability into your OpenClaw agent, ensure you have the Mole binary installed on your host system first via brew install mole. Once the prerequisite is met, install the skill using the following command in your terminal:
clawhub install openclaw/skills/skills/adisinghstudent/mole-mac-cleaner
Ensure that your agent has the necessary permissions to execute terminal commands on your local environment for the skill to function correctly.
Use Cases
This skill is ideal for power users and developers who experience system bloat or storage shortages. Common scenarios include:
- Reclaiming disk space before a large project by purging project artifacts.
- Deep-cleaning developer caches like Xcode or npm folders that are no longer in use.
- Performing a clean sweep of system and browser caches to improve macOS responsiveness.
- Safely removing unused applications along with their hidden configuration and log files.
Example Prompts
- "OpenClaw, please run a safe preview of a deep clean to see how much space I can reclaim on my disk."
- "Can you use Mole to find and remove the hidden remnants of all apps I have already uninstalled?"
- "I need more space for my current project; please purge all unnecessary build artifacts like node_modules in my workspace."
Tips & Limitations
Always prioritize safety by utilizing the --dry-run flag before executing any destructive operations. While Mole is powerful, it is a system-level tool; always review the proposed changes. For critical system files you wish to keep, utilize the whitelist configuration found in ~/.config/mole/. Note that this skill requires direct terminal access, and users should ensure their system backups (like Time Machine) are up to date before running large-scale optimization tasks.
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-adisinghstudent-mole-mac-cleaner": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution
Related Skills
Oh My Openagent Omo
Skill by adisinghstudent
Planning With Files Manus Workflow
Skill by adisinghstudent
mirofish-offline-simulation
Fully local multi-agent swarm intelligence simulation engine using Neo4j + Ollama for public opinion, market sentiment, and social dynamics prediction.
ghostling-libghostty-terminal
Build minimal terminal emulators using the libghostty-vt C API with Raylib for windowing and rendering
Obra Superpowers Agentic Workflow
Skill by adisinghstudent