Agent skill

Disk Raccoon

by orange2ai in orange2ai/disk-raccoon

macOS 缓存清理 Agent(小浣熊)。对 Mac 上的开发工具缓存、应用缓存做只读体检, 按缓存地图的安全等级判断哪些能删,经用户确认后执行清理。

MITAuto-check passed

Install Disk Raccoon

skills CLI
$ npx skills add orange2ai/disk-raccoon --skill disk-raccoon -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install orange2ai/disk-raccoon disk-raccoon --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
disk-raccoon
GitHub stars
204
Token cost
~427 tokens
SKILL.md length
78 words
Files
6 (incl. references)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

macOS 缓存清理 Agent(小浣熊)。对 Mac 上的开发工具缓存、应用缓存做只读体检, 按缓存地图的安全等级判断哪些能删,经用户确认后执行清理。

  • Works in 6 steps: 第一轮只读。 只用 du、ls、pgrep… → 地图优先。 删除任何路径前,先查… → 状态神圣。… → …
  • : 用户说磁盘满了、清理缓存、Mac 空间不够、某个应用占了几十个 G、 帮我瘦身、cache cleaner、磁盘体检。只管缓存,不做应用卸载和系统优化
  • SKILL.md covers 铁律(违反任何一条就停下来), 工作流 and 与 Mole 的关系
  • Calls python3

What it does

Disk Raccoon is an agent skill from orange2ai/disk-raccoon. macOS 缓存清理 Agent(小浣熊)。对 Mac 上的开发工具缓存、应用缓存做只读体检, 按缓存地图的安全等级判断哪些能删,经用户确认后执行清理。 Use when: 用户说磁盘满了、清理缓存、Mac 空间不够、某个应用占了几十个 G、 帮我瘦身、cache cleaner、磁盘体检。只管缓存,不做应用卸载和系统优化。

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `README.en.md`, `README.md` and `references/cache-map.md`).

It works with macOS. The repository describes itself as: 🦝 macOS 缓存清理 Agent:先洗再吃。缓存地图 + 三级安全等级,只删能删的。首次实战一晚清出 135GB。 The licence is MIT.

When your agent uses it

  • : 用户说磁盘满了、清理缓存、Mac 空间不够、某个应用占了几十个 G、 帮我瘦身、cache cleaner、磁盘体检。只管缓存,不做应用卸载和系统优化

Example prompts

  • “Use the disk-raccoon skill to maco 缓存清理 Agent(小浣熊)。对 Mac 上的开发工具缓存、应用缓存做只读体检, 按缓存地图的安全等级判断哪些能删,经用户确认后执行清理”
  • “/disk-raccoon”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 第一轮只读。 只用 du、ls、pgrep 收集信息,输出报告。用户没确认之前,一个字节都不删。
  2. 地图优先。 删除任何路径前,先查 references/cache-map.md。地图上没有的路径:先搞清楚它属于哪个应用、存的是什么,查官方文档或源码,确认是"可再生缓存"且不在任何禁止清单里,才可以提交给用户。查不清楚就报告为"未知,不建议动"。
  3. 状态神圣。 登录态、消息数据库、聊天记录、钥匙串、配置文件,永远不碰。只动"删掉后应用会自动重新生成或重新下载"的东西。
  4. 先退场再动手。 目标应用正在运行就先退出(pkill 优雅退出,失败再 -9),避免边删边重建。
  5. 可恢复优先。 用户目录下的内容进 ~/.Trash(shutil.move),不直接 rm -rf。系统级路径(/Library)删除需要 sudo,生成命令让用户自己跑,不代跑。
  6. 删除前报数。 报告里每项写清楚:路径、大小、属于什么应用、安全等级、删除后果。让用户勾选。

What it can do on your machine

Read from SKILL.md and the folder at commit c44ef19. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Disk Raccoon loads about 427 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 78 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~44
When it runs · the whole SKILL.md, loaded when a task matches
~427
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from orange2ai/disk-raccoon at commit c44ef19, republished under its MIT licence (© orange2ai). 78 words, ~427 tokens.

Download SKILL.mdSave it as .claude/skills/disk-raccoon/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
disk-raccoon
description
macOS 缓存清理 Agent(小浣熊)。对 Mac 上的开发工具缓存、应用缓存做只读体检, 按缓存地图的安全等级判断哪些能删,经用户确认后执行清理。 Use when: 用户说磁盘满了、清理缓存、Mac 空间不够、某个应用占了几十个 G、 帮我瘦身、cache cleaner、磁盘体检。只管缓存,不做应用卸载和系统优化。

小浣熊 🦝 清理工作手册

浣熊吃东西之前,会先洗一洗。你删文件之前,先看缓存地图。

铁律(违反任何一条就停下来)

  1. 第一轮只读。 只用 du、ls、pgrep 收集信息,输出报告。用户没确认之前,一个字节都不删。
  2. 地图优先。 删除任何路径前,先查 references/cache-map.md。地图上没有的路径:先搞清楚它属于哪个应用、存的是什么,查官方文档或源码,确认是"可再生缓存"且不在任何禁止清单里,才可以提交给用户。查不清楚就报告为"未知,不建议动"。
  3. 状态神圣。 登录态、消息数据库、聊天记录、钥匙串、配置文件,永远不碰。只动"删掉后应用会自动重新生成或重新下载"的东西。
  4. 先退场再动手。 目标应用正在运行就先退出(pkill 优雅退出,失败再 -9),避免边删边重建。
  5. 可恢复优先。 用户目录下的内容进 ~/.Trash(shutil.move),不直接 rm -rf。系统级路径(/Library)删除需要 sudo,生成命令让用户自己跑,不代跑。
  6. 删除前报数。 报告里每项写清楚:路径、大小、属于什么应用、安全等级、删除后果。让用户勾选。

工作流

第一轮:体检(只读)

依次扫描并汇总(存在才扫,不存在的跳过):

bash
# 磁盘总量
df -h /

# 缓存地图上的候选路径(见 references/cache-map.md 全表)
du -sh ~/.cache 2>/dev/null
du -sh ~/Library/Caches 2>/dev/null
du -sh ~/Library/Group Containers/*Telegram* 2>/dev/null
du -sh ~/Library/Application\ Support/LarkShell 2>/dev/null
du -sh ~/Library/Application\ Support/Google/Chrome 2>/dev/null
du -sh ~/Library/Developer/Xcode/DerivedData 2>/dev/null
du -sh ~/Library/Containers/com.tencent.xinWeChat 2>/dev/null

对可疑目录,下钻一层找大头:du -sh <dir>/* | sort -rh | head。

第二轮:判断

把每个发现对照缓存地图,标注:

  • ✅ 安全:可再生缓存,直接可清
  • ⚠️ 注意:部分可清(写明只清哪个子目录、保留哪个)
  • 🚫 别碰:说明为什么
第三轮:确认与执行

输出报告等用户确认。执行时:

  1. 退出目标应用(pkill,等 2 秒确认)
  2. 按地图指定的范围删(用 python3 shutil.rmtree/move,部分 agent 的 rm -rf 有安全护栏)
  3. 删完复测 du -sh 和 df -h,报战果
  4. 提醒用户重建成本(如浏览器缓存重建会慢一次)

与 Mole 的关系

用户装了 Mole(终端执行 mole)可以用它做扫描定位,但删除决策仍然走本 skill 的缓存地图和确认流程。Mole 的清单是参考,不是授权。

© orange2ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in the repository root of orange2ai/disk-raccoon.

  • SKILL.md
  • .gitignore
  • LICENSE
  • README.en.md
  • README.md
  • references/cache-map.md

Open the folder on GitHubat commit c44ef19

Compare with similar skills

Disk Raccoon next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Disk Raccoon compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Disk Raccoon this skillorange2ai/disk-raccoon204—~427Automated safety check: PassMIT
Site ArchitectureAvdLee/RocketSimApp80611 repos~3.3kAutomated safety check: PassCustom licence
Engine Whats Newflutter/flutter180k—~978Automated safety check: PassBSD-3-Clause
macOS Spm App PackagingDimillian/Skills4k5 repos~1.2kAutomated safety check: PassMIT
Openclaw Live Updateropenclaw/openclaw392k—~3.7kAutomated safety check: PassMIT
Orca iOS Simulator Controlstablyai/orca89k1 repos~584Automated safety check: PassApache-2.0

Similar skills

  • Site Architecture

    AvdLee/RocketSimApp

    When the user wants to plan, map, or restructure their website's page hierarchy, navigation, URL structure, or internal linking.

    806 GitHub starsUsed in 11 repos~3.3k tokens
    Marketing & SEOAuto-check passed
  • Engine Whats New

    flutter/flutter

    Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).

    180k GitHub stars~978 tokensUpdated today
    MobileAuto-check passed
  • macOS Spm App Packaging

    Dimillian/Skills

    Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project.

    4k GitHub starsUsed in 5 repos~1.2k tokens
    MobileAuto-check passed
  • Openclaw Live Updater

    openclaw/openclaw

    Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.

    392k GitHub stars~3.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • iOS Simulator control from inside Orca, with the live device view in Orca's emulator pane. Use when driving a booted Apple Simulator on macOS: taps, gestures…

    89k GitHub starsUsed in 1 repo~584 tokens
    MobileAuto-check passed
  • A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.

    70k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed

Works with

Questions about Disk Raccoon

What does Disk Raccoon do?

macOS 缓存清理 Agent(小浣熊)。对 Mac 上的开发工具缓存、应用缓存做只读体检, 按缓存地图的安全等级判断哪些能删,经用户确认后执行清理。. Disk Raccoon is an agent skill from orange2ai/disk-raccoon.

When should I use Disk Raccoon?

Disk Raccoon fits situations like: : 用户说磁盘满了、清理缓存、Mac 空间不够、某个应用占了几十个 G、 帮我瘦身、cache cleaner、磁盘体检。只管缓存,不做应用卸载和系统优化.

How do I install Disk Raccoon in Claude Code?

Run `npx skills add orange2ai/disk-raccoon --skill disk-raccoon -a claude-code`. Or copy the skill folder (the orange2ai/disk-raccoon repository) into .claude/skills/disk-raccoon in your project. Claude Code loads it when a task matches its description.

How do I install Disk Raccoon in Codex?

Run `npx skills add orange2ai/disk-raccoon --skill disk-raccoon -a codex`. Or copy the skill folder (the orange2ai/disk-raccoon repository) into .agents/skills/disk-raccoon in your project. Codex loads it when a task matches its description.

Can I use Disk Raccoon in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add orange2ai/disk-raccoon --skill disk-raccoon -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/disk-raccoon, .gemini/skills/disk-raccoon, .github/skills/disk-raccoon and .opencode/skills/disk-raccoon in your project.

What does Disk Raccoon need to run?

Going by SKILL.md and its folder, Disk Raccoon needs the command-line tools its instructions call (python3). Our summary lists: Python 3.

Does Disk Raccoon access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Disk Raccoon safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Disk Raccoon use?

Disk Raccoon is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Disk Raccoon use?

About 427 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Disk Raccoon?

Skills that share tags, products or a category with Disk Raccoon: Site Architecture (AvdLee/RocketSimApp, 806 stars), Engine Whats New (flutter/flutter, 180k stars), macOS Spm App Packaging (Dimillian/Skills, 4k stars) and Openclaw Live Updater (openclaw/openclaw, 392k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Disk Raccoon?

orange2ai (a GitHub user) maintains it in orange2ai/disk-raccoon, which has 204 GitHub stars. The repository was last updated on August 31, 2026.

Source: orange2ai/disk-raccoon on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.