Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add YangsonHung/awesome-agent-skills --skill mac-software-storage-cleanup-cngit clone --depth 1 https://github.com/YangsonHung/awesome-agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/mac-software-storage-cleanup-cn)<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/mac-software-storage-cleanup-cn"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/mac-software-storage-cleanup-cn/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yangsonhung/awesome-agent-skills/mac-software-storage-cleanup-cn"><img src="https://agentmods.dev/badge/skills/yangsonhung/awesome-agent-skills/mac-software-storage-cleanup-cn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.00707 |
| Opus 5 | $0.00017 | $0.00353 |
| Sonnet 5 | $0.00007 | $0.00141 |
| Haiku 4.5 | $0.00003 | $0.00071 |
Grade A, and why
mac-software-storage-cleanup-cn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Mac Software Storage Cleanup
Overview
审计 macOS 软件安装与磁盘占用,输出可执行的分级清理建议,并在用户确认后执行低风险清理。流程会区分应用清单、缓存、模拟器数据和中风险应用数据,避免在没有确认的情况下删除业务数据。
何时使用
当用户有以下需求时使用本技能:
- 检查
/Applications、~/Applications、Homebrew Formula、Homebrew Cask 安装了哪些软件 - 统计软件和常见缓存目录的空间占用,并按大小排序
- 清理
~/Library/Caches、~/Library/Developer/CoreSimulator等低风险目录 - 给出磁盘空间治理建议,并区分低风险与中风险清理项
不要使用
以下场景不应使用本技能:
- 用户想卸载某个具体应用,而不是做磁盘治理盘点
- 用户要求直接删除业务数据目录,但没有明确确认
- 任务环境不是 macOS,或目标路径不适用当前系统
使用说明
- 先执行
scripts/report_sizes.sh,盘点软件来源与主要占用目录。 - 基于报告区分清理优先级:
- 优先级 1:缓存和模拟器数据,默认低风险。
- 优先级 2:应用业务数据目录,仅列出候选,不直接删除。
- 优先级 3:收益较低的小型缓存或日志。
- 输出结论时,必须展示目录类别、数量、总占用和 Top N 大户。
- 如需扫描优先级 2 候选,执行
scripts/list_priority2_candidates.sh [目标目录] [TopN]。 - 只有在用户明确确认后,才执行
scripts/cleanup_priority1.sh或等价清理动作。 - 清理完成后,重新核算并输出“清理前 -> 清理后 -> 释放空间”的对比结果。
标准流程
盘点安装来源与空间占用
-> 识别高价值可清理目录
-> 给出分级建议
-> 等待用户确认
-> 执行低风险清理
-> 复核释放结果
执行命令
bash scripts/report_sizes.sh
bash scripts/list_priority2_candidates.sh ~/Library/Application\\ Support 20
bash scripts/cleanup_priority1.sh
输出要求
- 明确展示每类路径的数量和总占用
- 列出 Top N 大户,便于用户快速决策
- 任何清理动作都必须包含清理前后对比
- 没有用户确认时,不主动删除优先级 2 目录
边界
- 不使用破坏性 git 命令
- 不删除用户未确认的应用业务数据
- 若脚本失败,改用更稳妥的只读排查或最小范围清理方式
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 70 lines · 34 tokens per session scan A 189d4f17b340
mac-software-storage-cleanup-cn is a skill published in the GitHub repository YangsonHung/awesome-agent-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 707 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
domain
When you want to brainstorm and check available .com domains for a new project — brand naming, aftermarket pricing (HugeDomains / Afternic / Sedo / Dan), USPTO trademark screening, and social handle availability. Built on Laura Roeder's "work backwards from availability, not from a name you fell in love with"…
company-brain
Your team's shared, AI-ready knowledge base — people, companies, meetings, SOPs, and decisions structured so Claude can answer questions on your team's behalf. Team-scope sibling to second-brain (which is personal-scope). Seven modes — capture (drop something into the right structured dir), compile (process into wiki…
slide-deck
When you want to draft, update, convert, or export a slide deck for a React/Next.js slide system (${SLIDEDECKREPO:-$HOME/code/your-slide-deck-site}/src/app/slides/). Writes TypeScript Slide[] arrays using your primitives (Eyebrow, Heading, Accent, Body, BulletList, Divider, TwoCol, GradientText), 12 cycling brand…
service-desk
Runs the IT service desk — intake, triage, prioritization, escalation, knowledge, and the metrics that improve service rather than distort it. Use this to set up or fix a service desk, design ticket priority and escalation, reduce repeat contacts, structure a knowledge base, or work out why a desk hitting its targets…
session-cleanup
Identify stale and empty Claude Code sessions in the Agent Monitor and explain the cleanup endpoint (POST /api/settings/cleanup), always showing the exact list of what WOULD be removed before anything is deleted. Cleanup permanently deletes data, so this skill previews first and requires explicit user confirmation.…
vastai
Vast.ai CLI to manage GPU instances, volumes, serverless endpoints, and billing.