← 返回 Skills 市场
Disk Cleanup Master
作者
Unclecheng
· GitHub ↗
· v1.0.0
· MIT-0
110
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install unclecheng-garbage-cleanup-master-v1
功能描述
磁盘垃圾清理助手。自动扫描磁盘找到老文件、大文件、垃圾文件,生成垃圾桶.md让用户审核确认后再清理。触发词:清理垃圾、清理磁盘、清理硬盘、扫描垃圾、垃圾文件、老文件、大文件、磁盘清理、空间不足、清理缓存、垃圾清理大师
安全使用建议
This skill appears to implement what it claims, but take care before using it. Key points: 1) The SKILL.md is Windows-focused (expects C:\ paths and Desktop) but there is no OS restriction — if you run the scripts on a non-Windows system, delete_trash.py will perform direct (permanent) deletes rather than moving files to the recycle bin. 2) delete_trash.py extracts any absolute Windows paths in the markdown and will delete them; always inspect the generated 垃圾桶.md line-by-line. 3) Use the --dry-run option first to verify what will be deleted, and avoid running the cleanup with elevated/admin privileges unless you truly understand the consequences. 4) Back up important data before first use. 5) If you only have a Windows machine and want the recycle behavior, confirm the script is executed with a Windows Python and test with harmless files first. If you need the skill to be safe cross-platform, ask the author to add explicit OS checks and safer deletion fallbacks (e.g., move-to-trash libraries for non-Windows) and to add an OS restriction in the metadata.
功能分析
Type: OpenClaw Skill
Name: unclecheng-garbage-cleanup-master-v1
Version: 1.0.0
The skill bundle is a disk cleanup utility designed to scan for and remove large, old, or temporary files on Windows. It follows a safe 'human-in-the-loop' workflow where scan results are written to a markdown file on the user's desktop for manual review before any deletion occurs. The scripts (scan_disk.py and delete_trash.py) include appropriate safeguards such as excluding critical system directories (e.g., C:\Windows), defaulting to the Windows Recycle Bin via SHFileOperationW, and providing clear warnings to the user. No evidence of data exfiltration, unauthorized remote execution, or malicious intent was found.
能力评估
Purpose & Capability
The SKILL.md and the two included scripts (scan_disk.py and delete_trash.py) implement the described scanning → generate garbage桶.md → user-confirm → cleanup workflow. No unrelated credentials, network calls, or strange binaries are requested. However, the skill is written with a Windows-centric expectation (absolute Windows paths, Desktop location, use of Windows recycle API) while the registry metadata places no OS restriction — this mismatch should be noted.
Instruction Scope
Instructions require creating and later parsing a user-edited файл (垃圾桶.md) that must contain absolute paths; delete_trash.py will parse that markdown and delete every path it finds. Although SKILL.md enforces an explicit user confirmation step and default-to-recycle behavior on Windows, the code will permanently delete files on non-Windows platforms (fallback behavior), and the path-extraction regex may pick up any absolute paths present in the markdown. If the skill runs on the wrong OS, or if the markdown is edited incorrectly/maliciously, important files could be removed.
Install Mechanism
No install spec; the skill is instruction + scripts only. That minimizes disk footprint beyond the included code and is proportionate for a utility that runs local scans and deletions.
Credentials
The skill requests no environment variables, credentials, or external configuration. It only requires local filesystem access and a Python interpreter, which is appropriate for its purpose.
Persistence & Privilege
The skill is not always-enabled and does not request persistent platform privileges. It does not modify other skills or global agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install unclecheng-garbage-cleanup-master-v1 - 安装完成后,直接呼叫该 Skill 的名称或使用
/unclecheng-garbage-cleanup-master-v1触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- First release of "垃圾清理大师" (Disk Junk Cleaner) skill.
- Scans disks for old, large, and junk files, generating a detailed review list (垃圾桶.md) for user confirmation before any cleanup.
- Offers multi-phase workflow: Scan → Generate markdown report → User approval then safe cleanup (files sent to recycle bin).
- Smart grouping/classifying of files for review, detailed markdown format with exclusion/exception rules.
- Emphasizes user safety: no automatic deletion, user must confirm, system files are excluded, and batch operations are small with error stops.
- Supports flexible scan parameters and exclusion keywords.
元数据
常见问题
Disk Cleanup Master 是什么?
磁盘垃圾清理助手。自动扫描磁盘找到老文件、大文件、垃圾文件,生成垃圾桶.md让用户审核确认后再清理。触发词:清理垃圾、清理磁盘、清理硬盘、扫描垃圾、垃圾文件、老文件、大文件、磁盘清理、空间不足、清理缓存、垃圾清理大师. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。
如何安装 Disk Cleanup Master?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install unclecheng-garbage-cleanup-master-v1」即可一键安装,无需额外配置。
Disk Cleanup Master 是免费的吗?
是的,Disk Cleanup Master 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Disk Cleanup Master 支持哪些平台?
Disk Cleanup Master 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Disk Cleanup Master?
由 Unclecheng(@unclecheng-li)开发并维护,当前版本 v1.0.0。
推荐 Skills