跳到正文
TakoAPI
返回技能列表

mole-mac-cleanup

由 bjesuiter 提供

Apple Apps & Services
2.6k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Mac cleanup & optimization tool combining CleanMyMac.

描述

该技能的功能

Mole is a Mac-only CLI tool invoked as `mo` that removes caches, logs, browser data, and app remnants, and purges dev project artifacts like node_modules and build directories. It also optimizes system services by rebuilding databases, resetting Spotlight, and refreshing Finder and Dock. Always use `--dry-run` before executing any operation.

Replaces separate GUI tools like CleanMyMac, AppCleaner, and DaisyDisk with a single scriptable CLI command that runs non-interactively in agent workflows.

何时使用

  • Clearing browser and app caches before a big release
  • Removing leftover files after uninstalling an app
  • Purging stale node_modules across multiple projects
  • Cleaning old .dmg and installer files from Downloads
  • Rebuilding Spotlight index and resetting system services after slowdowns

示例工作流

输入

User asks: Free up disk space on my Mac without deleting anything important

智能体
  1. 1

    Run mo clean --dry-run --debug to preview caches, logs, and browser data flagged for removal

  2. 2

    Review the output and confirm nothing critical is listed

  3. 3

    Run mo clean to execute the cleanup

  4. 4

    Run mo optimize --dry-run then mo optimize to rebuild system databases and reset services

  5. 5

    Run mo purge to remove stale build artifacts like node_modules and target directories

输出

Disk space recovered by removing caches, logs, browser data, and project artifacts; Spotlight index rebuilt and system services reset

安装

clawhub install bjesuiter/mole-mac-cleanup

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接