cdisk-health-scan
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "cdisk-health-scan" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2b350cc8060cafc1cc5400527925feb4407aa03701fc18782b60f087cfc69ebb. Verify the upstream source and version against https://skillhub.cn/skills/user_1793b15c/cdisk-health-scan before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
On-demand C: drive diagnosis assistant. Triggered when the user says “scan C:”, “check C: space”, “C: is full again”, “clean C:”, “what can be deleted”, “disk analysis”, or “check my C:”. Runs a read-only diagnostic script to collect usage data and, based on accumulated knowledge, produces a tiered report (safe-to-delete / recommend optimization / do not touch), lists full absolute paths for each deletable item, and provides cleaning recommendations. Will not delete any files.
Introduction source: third_party · user_1793b15c · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: cdisk-health-scan
description: 按需C盘诊断助手。用户说"扫描C盘""检查C盘空间""C盘又满了""C盘清理""哪些能删""磁盘分析""帮我看看C盘"时触发。运行只读体检脚本拿到占用数据,结合沉淀知识输出分档报告(可立即清/建议优化/千万别动)+ 每个可删项的完整绝对路径 + 清理建议。绝不删除任何文件。
agent_created: trueC盘按需诊断(触发词驱动,非定时)
用户喊一声就跑的 C盘体检:只读脚本扫出占用构成,AI 结合历史诊断知识给出"能删什么 + 精确路径 + 建议"。由 2026-07-23 的 C盘清理长对话沉淀而来。本 skill 是按需触发的诊断工具,不是定时任务。
何时用
用户表达想了解/清理 C盘空间:扫描C盘、C盘不足、C盘清理、哪些文件能删、磁盘分析、帮我看看C盘等。
执行步骤
- 用 PowerShell 运行
scripts/cdisk_health_check.ps1,必须带 dangerouslyDisableSandbox:true(脚本读个人 AppData,沙箱默认拦截):powershell -ExecutionPolicy Bypass -File "<skill_dir>/scripts/cdisk_health_check.ps1"- 脚本只读,向屏幕打印原始数据,并尝试在桌面生成
C盘体检报告_yyyyMM.txt(个人桌面写可能被 WorkBuddy 沙箱拦截,属正常,不影响下一步)。
- 脚本只读,向屏幕打印原始数据,并尝试在桌面生成
- 抓取脚本屏幕输出(即原始数据),进入报告加工。
- 【强制收尾 · 同一轮内完成 · 禁止等用户二次询问 · 必须写进对话框】 把原始数据结合下方「沉淀诊断知识」加工成格式化报告,并:
a. 直接把完整报告内容写入对话回复里(Markdown 表格,含 ①空间现状 ②系统可清项 ③🟢可立即清理 ④🟡看情况 ⑤🔴千万别动 ⑥最大释放估算 + 诊断洞察;每个可删项带完整绝对路径)。这是用户最看重的部分——绝不能只甩一个文件让用户去找,必须贴在对话中。
b. (可选)同时把报告写到 WorkBuddy 可写目录(如技能目录或工作区根)留底,文件名
C盘体检报告_yyyyMM.txt,但文件只是备份,正文已在对话里。 c. 若调用 present_files,仅作为"留底文件"补充,绝不能用它替代对话内的报告正文。 - 提示:想在自己桌面留一份,直接双击运行该脚本即可(脱离 WorkBuddy 沙箱不拦)。
沉淀诊断知识(本机实测 2026-07-23)
-
盘况:C盘 119GB 小盘,长期 85-90% 占用,任何缓存堆积即告警。删 DuMate 残留后约 22.9GB 可用。
-
大户:用户 AppData ≈40GB(最大) > Windows 33GB > Program Files 14GB > PFx86 6.7GB > ProgramData 5.3GB(含 WorkBuddy 自身3.98GB) > .workbuddy 3.5GB。
-
已知可清候选(精确路径,手动删):
- 夸克 Quark:AppData\Local\Programs\Quark(双版本 6.8 旧版残留 + 6.9 当前) + AppData\Local\Quark\User Data(含 updates 更新包 / QianwenInstaller 千问组件 / pdf-cache);常驻+自动更新双份程序导致虚胖,典型"没怎么用却大"。
- 芒果TV:AppData\Roaming\芒果TV(主程序早卸,纯缓存残留)。
- 百度网盘:设置→应用卸主程序 + 手动删 AppData\Roaming\baidunetdisk。
- ima.copilot:AppData\Local\ima.copilot(字节AI助手,设置→应用卸「ima」)。
- WPS:卸主程序(设置→应用)不清 AppData 缓存(Local\kingsoft\WPS Office + Roaming\kingsoft\wps 共6.7GB),需手动删缓存才彻底;"清理缓存"按钮清不掉大头。
-
红线(千万别动/别整删):
- WorkBuddy 自身:
ProgramData\WorkBuddy+AppData\Local\Programs\WorkBuddy+C:\Users\你的用户名\.workbuddy—— 这是 AI 自己的运行时与记忆(别删,删了 AI 就废了)。占用大小因机而异,关键是"认出这是 WorkBuddy 相关目录,整类勿动"。 - 微信/QQ 数据在 AppData\Roaming\Tencent + Local\Tencent(含微信聊天记录),严禁整删 Tencent 目录;微信日常必留。
- Windows\System32、Program Files 系统组件、D盘页面文件。
- WorkBuddy 自身:
-
沙箱铁律:个人 AppData/桌面删除 AI 执行会被 strip_write 拦截,AI 只给路径,最终删除用户手动(文件资源管理器 Shift+Delete)。系统目录清理(DISM /StartComponentCleanup、磁盘清理)AI 可执行但需用户授权。
-
实测更新(2026-07-24):C盘已用 95.8GB / 剩 23.1GB(19.4%)。新增可清候选(手动删):360系(AppData\Roaming\360se6 0.85GB 浏览器 + 360huabao 0.21GB 画报)、Tabbit Browser(AppData\Local\Tabbit Browser 0.4GB + 程序 434MB)、AdGuardVPN 230MB、Cloud 279MB、OfficePLUS 0.2GB、kfastpic_sogou 0.2GB(搜狗看图)、QClaw 0.34GB、ichat 0.25GB。WorkBuddy 自身更新器缓存(勿动):AppData\Local\@genieworkbuddy-desktop-updater 0.47GB + @guanjia-openclawelectron-updater 0.65GB。回收站涨到 1.49GB(删 DuMate 等可能还在回收站,可立即清空)。夸克 AppData\Local\Quark 现 1.14GB(较前 1.46 略降)。
复用/增强
体检逻辑在 scripts/cdisk_health_check.ps1;诊断知识沉淀在此 SKILL.md,新发现的可清候选/红线追加到「沉淀诊断知识」。
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决用户高频刚需(C盘空间不足、清理建议),直接提升日常效率
- 提供明确路径与分类建议(可立即清/建议优化/千万别动),实用性强
Highlights
- 触发词覆盖全面(扫描C盘、检查C盘空间、C盘清理等),边界清晰,无歧义
Highlights
- Phase/步骤清晰(执行步骤1-4),有出口条件(强制收尾、同一轮内完成)
- 含端到端示例(沉淀诊断知识含具体路径与实测数据),frontmatter完整
Highlights
- 工具来源明确(PowerShell脚本路径清晰),参数正确(dangerouslyDisableSandbox:true)
- 覆盖主要异常(沙箱拦截说明、回收站处理),不可逆操作有确认机制(AI只读,用户手动删)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Administrator or elevated privileges
Elevate only when necessary. Keep protection and certificate validation enabled and avoid broad system access.
Mentioned in main document · lines 16
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.