origin-bizops-mole-maintenance

Performs weekly Mac maintenance using Mole CLI with dry-run previews and user confirmation.

Updated Dec 9, 2025
One-click install
npx skills add https://github.com/Aki2022/skills --skill origin-bizops-mole-maintenance-aki2022
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: origin-bizops-mole-maintenance
Source: https://github.com/Aki2022/skills/tree/main/origin-bizops-mole-maintenance
Command: npx skills add https://github.com/Aki2022/skills --skill origin-bizops-mole-maintenance-aki2022

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Mac systems accumulate caches, installer files, Docker artifacts, and build outputs that consume disk space over time, and cleaning them manually risks deleting important data like AI models, IDE indexes, or production binaries. ## Core Features & Use Cases - Guided Weekly Maintenance: Runs a structured 9-step workflow using Mole CLI (mo) covering health checks, disk analysis, cache cleaning, installer cleanup, Docker pruning, and system optimization. - Safety-First Execution: Every destructive action requires a dry-run preview and explicit user approval; protected whitelists preserve Playwright browsers, HuggingFace models, Ollama models, and IDE caches. - Use Case: When your Mac's disk is filling up, ask for a weekly maintenance run to get a health score, identify the largest space consumers (including Docker.raw and local snapshots), and safely reclaim gigabytes via Trash-based deletion. ## Quick Start Run a weekly Mac maintenance with mole, showing me a dry-run preview of what will be cleaned before deleting anything.

Frequently Asked Questions about origin-bizops-mole-maintenance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up disk space on Mac with Mole CLI?

Run mo status for a health check, then mo clean --dry-run to preview cache cleanup before executing mo clean. Follow with mo installer for .dmg/.pkg files and mo optimize for system maintenance, confirming each step before execution.

How to safely delete node_modules and build artifacts on macOS?

Use mo purge, an interactive TUI that lists projects by size and last-used date, moving selections to Trash instead of permanent deletion. Projects modified within 7 days are excluded by default to prevent accidental removal.

Does mo clean delete AI models or IDE caches?

No, Mole's default whitelist protects HuggingFace models, Ollama models, Playwright browsers, JetBrains indexes, Maven and Gradle caches, and Python virtualenvs. You can add more protections with mo clean --whitelist.

Can I prune Docker disk usage without deleting Docker.raw directly?

Yes, use docker system df -v to inspect usage, then remove specific images by ID with docker image rm after confirming they are unused. Never delete Docker.raw directly and avoid docker system prune -a --volumes without explicit review.

What should I do if mo command is not found?

Install Mole with brew install mole from the tw93/tap repository, then verify with which mo. If Mole fails due to TTY or permission issues, fall back to read-only df, du, and find commands for manual disk analysis.