Disk Cleanup Skill — Development skill for Claude Code
Agent skill (Claude Code / Codex) for analysing and safely cleaning Windows drives with WizTree: leftovers, stray or fake installers, duplicates, regenerable project artifacts, crash dumps.
How to install Disk Cleanup Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open guxudong0917/disk-cleanup-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Disk Cleanup Skill does
Agent skill (Claude Code / Codex) for analysing and safely cleaning Windows drives with WizTree: leftovers, stray or fake installers, duplicates, regenerable project artifacts, crash dumps. Reports first, deletes only after you confirm.
Alternatives in Development
- Duplicates — Skills doing the same job 503 ★
- Dashclaw Quality — Recurring find-and-fix quality pass over the whole DashClaw app — browser smoke (frontend-verify) + code gates 297 ★
- Claude App Mirror — 原样镜像官方 Claude 桌面版安装包(macOS DMG / Windows 离线 MSIX / Linux deb):每 15 分钟探测、SHA256 可校验、国内高速下载 Verbatim, SHA256-ver 281 ★
README
disk-cleanup:让 AI 帮你清理 Windows 磁盘
**English:** An agent skill for Claude Code, Codex and other tools that read `SKILL.md`. It finds out what is filling a Windows drive and cleans it safely: WizTree scans with reusable snapshots, leftovers of uninstalled software, stray and fake installers, duplicates, regenerable project artifacts, crash dumps and browser caches. Findings are grouped into "safe to delete / needs your action / your call / don't touch", and nothing is deleted before you confirm. It also stops and reports suspicious files instead of deleting them as junk. The skill is written in English; this README is in Chinese.
**C 盘又满了?** 直接告诉 AI 助手"C 盘满了",它会按这个 skill 的流程处理:
- 用 WizTree 在几十秒内扫完整个盘;
- 找出空间被谁占了、哪些能删、为什么能删;
- 分组列给你看,你确认之后再动手。
这个 skill 是在一台真实电脑上反复清理时一点点总结出来的,每条规则都对应一次踩过的坑。在那台电脑上:
- C 盘剩余空间从 2.3 GB 增加到 15 GB;
- 顺带发现并清除了一个伪装成系统文件的后门程序。
能做什么
| 方面 | 具体内容 |
|---|---|
| 快速扫描 | 用 WizTree 直接读取 NTFS 文件索引,整个盘 10~25 秒。结果存成快照,后续提问直接查快照,不重复扫描 |
| 看变化 | 每个盘保留最近 3 份快照,告诉你"这段时间哪个文件夹涨了多少" |
| 软件残留 | 已卸载软件留下的文件夹、失效的开始菜单快捷方式和开机启动项、"应用"里卸载时报"找不到文件"的条目 |
| 安装包 | 不只看文件名,还会读 exe 的描述信息,识别安装程序的打包框架(NSIS、Inno Setup、WiX……),并核对对应软件是否已装、版本是新是旧。也能识别"旧版本的免安装副本" |
| 冒充的程序 | 文件名声称是某个软件,文件里的信息却对不上(比如名为 SomeApp_2.4.4.exe,描述却是"FormCeo"、没有签名),会单独标出来做安全检查 |
| 重复文件 | 大小相同的文件用哈希确认;压缩包和旁边已解压的文件夹逐个文件比对,不会因为总大小一样就判定重复 |
| 旧项目瘦身 | 识别 Unity、Unreal、Node、Python、Gradle、Visual Studio、Premiere 项目里能重新生成的部分(node_modules、.venv、Library、Intermediate……),只清理长期没动过的项目 |
| 系统角落 | 崩溃转储(包括系统服务目录里的)、浏览器各配置的缓存、回收站、WSL 虚拟磁盘、休眠文件、Windows 更新缓存 |
| 国内软件 | 微信新旧版数据迁移核对、网盘临时文件、厂商电脑管家日志、捆绑软件残留(见 references/china-apps.md) |
| 中文环境 | 报告分组和备忘标题统一用固定的中文名称;提示的设置路径和中文 Windows 界面一致;GBK 编码的 zip 文件名不会乱码 |
安全设计
- 先汇报,后删除:结果分为"可以直接删 / 需要你操作 / 你来决定 / 不要动"四组,每一项都写明依据,你确认后才删。
- 个人资料默认进回收站,判断错了还能找回。只有缓存和已经核实能重新生成的内容才直接删除。
- 删除脚本内置保护,不会删
C:\Windows、用户目录根等关键位置。 - 判断"残留"要有证据:核对注册表、开始菜单、正在运行的进程和最近写入时间,不只看名字。
Related Skills
Video Library Skill
Claude Code skill that keeps raw camera footage on external drives in order: sorts clips by shooting day and c
Wave Checkpoint
Save wave state to disk so an auto-compact, session crash, or laptop battery death doesn't kill the run. Run t
Orch Resume
Rebuild orchestration state after a crash, /clear or compaction — reads the ledger, scratch index and verify v
Mac Space Cleaner
Safely free up disk space on macOS from Claude Code — scan, review, and delete only what you approve.
Mac Disk Cleanup
Claude Code / Codex skill: safely free up disk space on a Mac, never deletes without your OK
Claude Pc Cleanup
Claude Code skill: scan a macOS machine for reclaimable disk space and clean it up safely, tier by tier, with
Related Agents
Office DevOps
Office worker. Builds, packaging, CI, release — installers (Windows/macOS), app bundles, GitHub Actions, versi
Windows Developer
Windows desktop application engineer – .NET (WinUI 3, WPF, WinForms), C#, Electron / Tauri desktop apps, Windo
Forensics Carver
Use PROACTIVELY for forensics challenges. Triggers on pcap/pcapng files, memory dumps (raw/vmem/lime), disk im