Preface¶
Local disks are often gradually filled up by system caches, development toolchains, and common desktop applications, which is a common pain point in daily development. Manually deleting directories is time-consuming and risks removing data that is still in use. When handling this within a conversational Agent, a verifiable and confirmable process is required, rather than a one-time “delete all” approach.
Below is an introduction to WorkBuddy Disk Cleanup (ID @user_f1d11e73/zfl-workbuddy-disk-cleanup) on SkillHub: Designed for WorkBuddy disk and system cache cleanup, it emphasizes full scanning, three-level safety classification, and a “Scan → Confirm → Clean” three-step workflow.
What is this¶
WorkBuddy Disk Cleanup is a community-sourced (community) Agent Skill published by user_f1d11e73, categorized under it-ops-security on SkillHub. The current page lists version v3.11.18 and the tag requires_api_key=false, meaning installation and usage do not rely on any additional API Key.
In one sentence: It guides the scanning of local caches and large files within an Agent session, provides cleanup suggestions based on safety levels, performs the cleanup only after user confirmation, and offers an “isolation zone” for protection to reduce the risk of accidental deletion.
Core Features¶
The following capabilities are derived from the official SkillHub description. Implementation details not explicitly expanded upon on the page are not speculated upon in this article.
Full Scanning Scope¶
The Skill declares support for scanning multiple categories of targets, including but not limited to:
- System caches
- Development-related caches
- Tencent application caches
- AI tool caches
- WeChat data
- Large files
Specific hit paths and rules are driven by the instructions within the Skill package; users should verify the list during the “Confirm” step before proceeding.
Three-Level Classification (G / Y / R)¶
Cleanup suggestions are divided into three levels: G / Y / R, used to distinguish between relatively safe, cautionary, and higher-risk tiers (specific meanings are subject to the guidelines within the Skill). The Agent should prioritize displaying classification results to avoid mixing high-risk items with safely cleanable items for one-time processing.
Isolation Zone Protection¶
The description mentions Isolation Zone Protection: Content that needs to be retained or requires review can be separated from direct deletion via an isolation mechanism, reducing the impact of operational errors on active data.
Three-Step Workflow¶
The fixed official workflow is:
- Scan: Discover cleanable items, categorize, and classify them.
- Confirm: The user or operator confirms whether to clean items individually or by category.
- Clean: After confirmation, execute deletion or move items to the isolation zone.
This differs from the approach of “letting the Agent delete caches directly.” The core philosophy is to lay out the results before taking action.
Installation and Activation¶
The SkillHub page provides two equivalent entry points: install via CLI, or provide the installation prompt to the current AI to execute according to the official installation documentation.
Method 1: Prompt Installation (Recommended on Page)¶
Send the following intent to the current Agent (original text from the page):
Please install `@user_f1d11e73/zfl-workbuddy-disk-cleanup` according to https://skillhub.cn/install/skillhub.md.
The Agent will check for the skillhub CLI, select the correct skills directory, and complete the installation following SkillHub Installation and Priority Source Configuration.
Method 2: skillhub CLI¶
First, confirm if the CLI is installed:
command -v skillhub && skillhub --version
If not installed, the official documentation provides options for a full installation (CLI + default Skills) or CLI-only installation:
# Full installation (CLI + default Skills, recommended)
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
# Install CLI only
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing this Skill, you must use --dir to point to the actual skills directory used by the current Agent; installing to the default ./skills/ might not be recognized. Common paths listed in the official documentation include:
| Environment | skills directory |
|---|---|
| WorkBuddy | ~/.workbuddy/skills/ |
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
In a WorkBuddy scenario, the installation command form is:
skillhub install @user_f1d11e73/zfl-workbuddy-disk-cleanup --dir ~/.workbuddy/skills/
(If the current Agent is not WorkBuddy, replace --dir with the corresponding path from the table above.)
After installation, restart or refresh the Skill list as required by the client, then trigger intents such as “Disk Cleanup” or “Scan Cache” in the conversation.
Typical Usage¶
The public page does not include an independent command-line demo. Typical usage should align with the official three-step workflow, replicated within an Agent conversation:
- State the requirement, e.g., “Scan local cleanable caches and large files; do not delete anything yet.”
- Review the scan results and G/Y/R classification returned by the Agent. Pay special attention to sensitive items like WeChat data, development directories, and large files.
- After clearly confirming the categories or items to clean, instruct the Agent to perform the cleanup. For uncertain items, request to skip them or move them to the isolation zone.
- After cleanup is complete, perform a scan again to confirm space changes and check for any residual items.
Since the Skill is based on the generic SKILL.md format, specific subcommands and script paths are subject to the SKILL.md within the installation package; this article does not fabricate unpublished script names or configuration fields.
Use Cases and Notes¶
Who is it for
- Developers and operations personnel using WorkBuddy or those who have installed the Skill into the corresponding skills directory.
- Users needing to perform local disk maintenance within an Agent following a “check list first, then clean” approach, especially when dealing with multiple types of caches and large files.
Limitations and Notes
- Classified under
it-ops-security, operations may still affect local data. The Confirm step cannot be omitted; WeChat data, development project caches, etc., must be manually reviewed. - G/Y/R are safety indicators, not substitutes for your understanding of business directories; Red tier items should not be cleaned by default unless the consequences are clearly known.
- SkillHub crawled data shows: Rating 100000, Downloads 1721, Installation count 0 (page statistics, subject to change with platform updates). This is a community Skill; maintenance cadence depends on the publisher.
- No API Key is required, but cleanup operations occur in the local environment. Pay attention to backups and permissions (company devices must comply with internal control regulations).
Conclusion¶
WorkBuddy Disk Cleanup solidifies the “Scan once, look clearly, then act” philosophy into an Agent Skill: covering multiple types of caches and large files, utilizing G/Y/R classification and an isolation zone to reduce accidental deletion probability, making it suitable as a conversational entry point for routine local disk maintenance.
- SkillHub Page: https://www.skillhub.cn/skills/user_f1d11e73/zfl-workbuddy-disk-cleanup
- Resource ID (API): https://api.skillhub.cn/user_f1d11e73/zfl-workbuddy-disk-cleanup
- Installation Instructions: https://skillhub.cn/install/skillhub.md