Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Mole

$ mo Community High Risk
tw93 · Files & Search · MIT · macos

Mole (mo) is a macOS-only system maintenance and disk cleanup CLI combining mo clean --dry-run cache previews, mo purge project artifact cleanup, mo uninstall, and an interactive mo analyze disk explorer. Because cleanup subcommands delete user/build caches and mo analyze launches a TUI, agents must use --dry-run and avoid interactive subcommands.

FCRS-1.0 Score
67 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
brew install mole
CLI vs MCP Decision CLI Only

mo operates on macOS system caches and local build artifacts directly; there is no relevant MCP alternative.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
— Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 13 / 25

Supports mo clean --dry-run non-interactively, but lacks --json output and bare mo / mo analyze / mo uninstall rely on interactive TUI menus.

  • mo clean --dry-run previews targets without prompts
  • No --json output; mo analyze is an interactive TUI
Trust & Safety 17 / 25

Provides --dry-run and --whitelist safeguards, but mo clean, mo purge, and mo uninstall permanently delete caches, build artifacts, and apps.

  • --dry-run preview and whitelist configuration available
  • Destructive cleanup commands require explicit user confirmation
Setup & Portability 10 / 15

macOS-only tool installed via brew install mole; unusable on Linux or Windows.

  • Strictly macOS-specific (platforms: ["macos"])
Utility & Efficiency 12 / 15

Consolidates macOS cache cleanup, node_modules/target purging, and disk analysis in one utility.

  • Replaces manual cache hunting across ~/Library/Caches
Maintenance & Lineage 8 / 10

Actively maintained MIT-licensed open-source project (tw93/mole).

  • Popular macOS utility repository on GitHub
Docs & Verifiability 7 / 10

Clear README documenting mo clean --dry-run, mo purge, mo analyze, and whitelist setup.

  • Upstream README and --help reference

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; reads macOS user caches/configs and stores Mole whitelist settings in ~/.config/mole/.

Side Effects
Read-Only Local Write Destructive
Cost & Quotas

100% free, offline, and open-source (MIT).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Mole (mo) Agent Rules
- ALWAYS run `mo clean --dry-run` first and get explicit user approval before running `mo clean`, `mo purge`, or `mo uninstall`.
- NEVER launch bare `mo` or `mo analyze` in non-TTY agent shells—they open interactive TUIs.

Agent-Ready Command Recipes

Safe Read-Only Queries

Preview reclaimable macOS caches without deleting
mo clean --dry-run

Lists candidate cache, log, and temporary paths and estimated reclaimable space without removing any files.

Controlled Writes & Previews

Clean caches only after reviewing dry-run output
mo clean --whitelist

Runs cache cleanup while respecting ~/.config/mole/whitelist exclusions; require explicit user approval before running without --dry-run.

Strengths for Agents

  • + mo clean --dry-run previews reclaimable macOS caches safely before deletion.
  • + Supports --whitelist protection to exclude critical caches or directories.

Caveats & Pitfalls

  • ! macOS-only; does not run on Linux or Windows.
  • ! No --json output, and mo / mo analyze open interactive TUIs.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI