Computer Disk Cleanup Skill: Read-only scanning, tiered trash disposal.

Introduction

When a development machine’s disk slowly fills up with caches, duplicate packages, and large files, common practices include installing system cleanup tools or using rm directly. The former is often a black box, while the latter is difficult to recover from if files are deleted by mistake. If you want an Agent to follow a fixed workflow to “review the report first, then process in batches based on risk,” and default to moving files to the Trash instead of hard deleting them, you can install the PC Disk Cleaner (@kunlungrowth/kunlun-pc-cleaner) from SkillHub into clients that support SKILL.md, such as Cursor or Claude Code, and use conversation to drive scanning and organization.

What is this

PC Disk Cleaner is an enterprise-sourced Skill published by Kunlun Growth on SkillHub. The current version is v1.2.1, categorized under it-ops-security, with the tag requires_api_key=false (no API Key required).

In one sentence: It first performs a read-only scan to generate a recycling report, then grades by risk to move files into the Trash in batches (absolutely no hard deletion). It covers scenarios such as duplicate files, caches, large files, old downloads, screenshots, and videos. In terms of implementation, it handles path differences across macOS / Windows / Linux.

  • SkillHub Page: https://www.skillhub.cn/skills/kunlungrowth/kunlun-pc-cleaner
  • Coordinate: @kunlungrowth/kunlun-pc-cleaner

Core Functions

The following capabilities are derived from the official SkillHub description. Capabilities not specified on the page are not expanded upon.

  1. Read-only Scanning and Recycling Report
    The first step does not modify the disk; it only scans and outputs a readable recycling report, allowing you to determine which directories to touch and how much space can be freed up.

  2. Risk Grading and Batch Execution
    It performs risk grading on candidate files and moves them into the Trash in batches after confirmation, avoiding one-time large-scale accidental operations.

  3. Soft Delete Strategy
    It explicitly moves files to the Trash rather than performing hard deletion, reducing the risk of irrecoverable accidental deletion.

  4. Multi-scenario Coverage
    Common disk-occupying types such as duplicate files, caches, large files, old downloads, screenshots, and videos are included in the same workflow.

  5. Cross-platform Paths
    The same Skill targets macOS, Windows, and Linux, with internal logic distinguishing between path conventions for each system.

Installation and Activation

SkillHub recommends installing via its installation documentation and CLI into the current Agent’s skills directory. Installing in the wrong directory will cause the client to fail to recognize it; restarting the client may be necessary.

1. Check or Install SkillHub CLI

command -v skillhub && skillhub --version

If not installed, follow the official documentation to perform a complete installation (CLI + Default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

CLI only:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install this Skill

Install the Skill to the skills directory corresponding to your current environment (--dir is required). Common path examples:

Client skills Directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

Installation command format (package name based on SkillHub coordinates):

skillhub install kunlungrowth/kunlun-pc-cleaner --dir ~/.cursor/skills/

You can also send the prompt below to an AI to let it operate according to the installation documentation:

Please install `@kunlungrowth/kunlun-pc-cleaner` based on https://skillhub.cn/install/skillhub.md.

Differences between Cursor, Codex CLI, and Claude Code mainly lie in the skills directory path; the installation steps themselves follow SkillHub Installation and Priority Source Configuration. If public materials do not separately list additional configuration items for each client, do not fabricate configuration files.

Typical Usage

The public page does not include a complete conversation script, but the reproducible workflow is consistent with the official description:

  1. In an Agent where this Skill is enabled, state your goal (e.g., scan caches and large files under the user directory, do not delete yet).
  2. Wait for the Agent to complete the read-only scan and read the generated recycling report (path, size, type, risk level).
  3. Select or specify batches based on the report, and after confirmation, ask the Agent to move them into the Trash in batches; no moving should occur before confirmation.
  4. If the results do not meet expectations, restore files from the system Trash (the Skill promises not to hard delete; restoration relies on the respective OS Trash mechanism).

Specific scanning ranges, risk grading rules, and command implementations are written in the SKILL.md inside the Skill package, which the Agent will follow after installation.

Applicable Scenarios and Notes

Who is it for

  • Developers who need to regularly free up disk space but want the process to be auditable and confirmable in batches.
  • Users who switch between macOS / Windows / Linux environments and want the Agent to handle path differences uniformly.
  • Teams unwilling to hand cleanup completely over to closed-source one-click tools and prefer to “report first, act second.”

Limitations and Notes

  • The capability boundaries are subject to the SkillHub description; do not assume the existence of undeclared capabilities (e.g., chat attachment scenarios not explicitly mentioned).
  • “Absolutely no hard deletion” means the Skill is designed to move files to the Trash; you should still verify the report before each batch execution and back up important data first.
  • Categorized as it-ops-security, suitable as an operations-oriented assistance capability. Usage on production machines or shared servers should be evaluated separately for permissions and scanning scope.
  • Installation, search, and upgrade depend on the skillhub CLI and network; corresponding permissions must be opened in sandboxed or network-restricted environments.

Conclusion

PC Disk Cleaner organizes disk cleanup into an Agent workflow of “read-only report → risk grading → move to Trash after confirmation.” It targets common disk-occupying scenarios like duplicate files, caches, large files, old downloads, and screenshots/videos, while considering path differences across three platforms. For installation or updates, refer to the SkillHub page and installation documentation:

https://www.skillhub.cn/skills/kunlungrowth/kunlun-pc-cleaner

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye