C Disk Cleanup — AI skill for Claude Code
一个 Claude Code 技能,用 PowerShell 并行扫描 C 盘 11 个关键区域,AI 为每个目录/文件生成中文描述和风险定级(安全 / 需确认 / 危险),输出单文件只读 HTML 报告.
How to install C Disk Cleanup
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ljh-sys/c-disk-cleanup and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What C Disk Cleanup does
一个 Claude Code 技能,用 PowerShell 并行扫描 C 盘 11 个关键区域,AI 为每个目录/文件生成中文描述和风险定级(安全 / 需确认 / 危险),输出单文件只读 HTML 报告。
Alternatives in AI
- Artifacts Builder — Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech 97.5k ★
- Guizang Ppt Skill — AI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts 24.9k ★
- Architecture Diagram Generator — Generate beautiful dark-themed system architecture diagrams as standalone HTML/SVG files 7k ★
README
C 盘清理分析 · C Drive Cleanup Skill
**Windows only.** 一键扫描 C 盘,AI 为你生成中文清理分析报告。
一个 Claude Code 技能,用 PowerShell 并行扫描 C 盘 11 个关键区域,AI 为每个目录/文件生成中文描述和风险定级(安全 / 需确认 / 危险),输出单文件只读 HTML 报告。
   
效果
- 🔍 覆盖 11 个区域:AppData、ProgramData、Windows 目录、Program Files、回收站、注册表启动项等
- 🤖 AI 驱动分析:所有描述和风险等级由 AI 根据路径实时生成,不做硬编码规则
- 📊 只读 HTML 报告:磁盘概览 + 使用率进度条 + 按类别分组表格 + 侧边栏导航
- 🌐 中/英文切换:右上角一键切换,偏好保存到 localStorage
- 🟢🟡🔴 三级风险定级:安全(绿)/ 需确认(黄)/ 危险(红),色标直观
- 💾 AI 缓存持久化:已分析的路径自动缓存,后续扫描直接复用
- ⚡ 并行扫描:PowerShell 多 Job 并发,30-90 秒完成全盘扫描
安装
方式一:npx 安装(推荐)
npx skills add ljh-sys/c-disk-cleanup --skill c-disk-cleanup
方式二:把下面这段话发给 AI
帮我安装 `c-disk-cleanup` 这个 Claude Code skill。请按下面步骤做:
- 确保
~/.claude/skills/目录存在(不存在就创建)- 执行
git clone https://github.com/ljh-sys/c-disk-cleanup.git ~/.claude/skills/c-disk-cleanup- 验证:
ls ~/.claude/skills/c-disk-cleanup/应该看到SKILL.md、scan.ps1、make-report.py三项- 告诉我安装好了,之后我说"分析C盘"之类的话就会触发这个 skill
把这段话复制粘贴给 Claude Code 或任何有 shell 权限的 AI Agent,它会自动完成安装。
方式三:手动命令行
git clone https://github.com/ljh-sys/c-disk-cleanup.git ~/.claude/skills/c-disk-cleanup
触发方式
装好后,Claude Code 会在对话中自动发现并调用这个 skill。触发关键词:
- "分析C盘" / "扫描C盘" / "C盘分析"
- "C盘清理" / "清理C盘" / "C盘空间"
- "磁盘清理" / "看看C盘"
- "给我一份C盘清理报告"
使用流程
- 触发扫描 — 对 AI 说"分析C盘",Claude Code 自动调用
scan.ps1 - AI 分析 — 扫描完成后,AI 读取新增条目,逐个生成中文描述和风险定级
- 生成报告 —
make-report.py合并扫描数据 + AI 描述,输出 HTML 报告到桌面 - 浏览器预览 — 报告自动在浏览器中打开
你说"分析C盘"
│
▼
scan.ps1 并行扫描
│
▼
data.json ──── AI 生成描述 ──── ai-descriptions.json
│ │
▼ │
make-report.py ◄────────────────────────
Related Skills
System Cleanup
Agent Skill: safely clean Windows with any AI coding agent (Trae / Claude Code / Cursor / CodeBuddy / ZCode) -
Cleanup Cache
Clean system caches (npm, Homebrew, Yarn, browsers, Python/ML) to free disk space
Windows DNS Policy Manager
Browser-based GUI for Windows Server DNS — policies, zones, records, DNSSEC, DNS over HTTPS, and blocklists. N
Fauxnix
Run Linux-style commands on Windows via deterministic bash→PowerShell translation. No VM, no WSL. MCP server +
Hands
Cross-platform computer-use agent. Your LLM on your mouse, keyboard, and screen. Windows (PowerShell), macOS (
Windows LLM Bridge
让 LLM Agent 像调函数一样驱动一台 Windows 主机:跑 cmd / PowerShell、推拉文件、调用厂商工具,统一返回结构化结果。android-llm-bridge 的姊妹项目。
Related Agents
Design Gatherer
SDD Phase 1 sub-agent. Fetches ALL Claude Design files (HTML + README) to disk, extracts exact labels, CSS tok
Azure Infrastructure Engineer
Azure infrastructure and Az PowerShell automation expert
Light Web YoutubeSummarizer
Use this agent to summarize a YouTube transcript text file. The agent first cleans the transcript via the Powe