Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

mac-software-storage-cleanupmac 软件存储清理

Agent Skill

mac-software-storage-cleanup 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

285

周安装

12

GitHub Stars

3

下载量

195
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mac-software-storage-cleanup(mac 软件存储清理)
来源仓库:https://github.com/yangsonhung/awesome-agent-skills
仓库路径:skills/mac-software-storage-cleanup
安装命令:
npx skills add https://github.com/yangsonhung/awesome-agent-skills --skill mac-software-storage-cleanup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yangsonhung/awesome-agent-skills --skill mac-software-storage-cleanup

简介

用于查找与清理 Mac 上冗余软件与存储占用。

  • 支持按大小、类型与应用分类进行筛选建议。
  • 适用于研究检索类任务中的空间管理工具发现。
  • 操作前应确认软件是否仍在用,防止误删重要程序。
  • mac-software-storage-cleanup 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Mac Software Storage Cleanup

Audit installed software and storage usage on macOS, produce prioritized cleanup recommendations, and execute low-risk cleanup only after confirmation.

When to use

Use this skill when the user:

  • Wants to inspect software installed under /Applications, ~/Applications, Homebrew Formula, or Homebrew Cask
  • Wants storage usage ranked by size across apps and common cache locations
  • Wants to clean low-risk paths such as ~/Library/Caches and ~/Library/Developer/CoreSimulator
  • Wants reclaim recommendations with low-risk and medium-risk cleanup separated clearly

Do not use

Do not use this skill when:

  • The user wants to uninstall one specific app instead of doing storage governance
  • The user asks to delete application data directly without explicit confirmation
  • The environment is not macOS or the target paths do not apply

Instructions

  1. Run scripts/report_sizes.sh first to inventory install sources and major storage consumers.
  2. Classify cleanup candidates by priority:

- Priority 1: caches and simulator data, generally low risk. - Priority 2: application data directories, report only and never delete by default. - Priority 3: low-yield small caches or logs.

  1. Reports must show category totals, counts, and Top N largest entries.
  2. To inspect priority-2 candidates, run scripts/list_priority2_candidates.sh [target_dir] [TopN].
  3. Only after explicit user confirmation, run scripts/cleanup_priority1.sh or an equivalent low-risk cleanup action.
  4. After cleanup, recompute usage and show a before -> after -> reclaimed summary.

Workflow

Inventory install sources and storage usage
  -> identify high-value cleanup targets
  -> present prioritized recommendations
  -> wait for user confirmation
  -> run low-risk cleanup
  -> verify reclaimed space

Run commands

bash scripts/report_sizes.sh
bash scripts/list_priority2_candidates.sh ~/Library/Application\\ Support 20
bash scripts/cleanup_priority1.sh

Output requirements

  • Show counts and total size for each path category
  • List Top N largest consumers so the user can decide quickly
  • Every cleanup action must include before-and-after comparison
  • Do not delete priority-2 directories without explicit user approval

Boundaries

  • Do not use destructive git commands
  • Do not delete unconfirmed application data
  • If a script fails, fall back to read-only inspection or the smallest safe cleanup scope

适合场景

01

研究助手

02

事实核查

03

知识库问答

04

带来源的搜索总结

能力概览

能力 1

组合搜索和大模型调用

能力 2

支持多来源检索和总结

能力 3

强调引用来源和事实核查

能力 4

适合研究型 Agent 流程

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.24%
按下载量换算69

Claude

28.89%
按下载量换算56

Cursor

19.91%
按下载量换算39

Gemini CLI

10.69%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills