Qclaw Computer Cleanup
Paste the following prompt into your AI chat to install this skill:
Please refer to https://skillhub.cn/install/skillhub.md to install @user_29dc410e/conputer-clean-qclaw-skill.
About this skill
The Core Problem It Solves
Modern operating systems and frequently used software, particularly development tools and social applications, accumulate substantial amounts of cache, temporary files, and unused images locally, gradually consuming disk space. Manually cleaning these scattered directories is tedious and error-prone, risking the deletion of critical files that cause software malfunctions. For developers and IT ops personnel using the qclaw platform, there is a need for an automated cleaning solution that offers precise identification, safe classification, and adaptation to text-based interaction.
Working Mechanism and Core Capabilities
Built on Python's standard library, this skill implements an intelligent, cross-platform (Windows/macOS/Linux) cleaning process. Its core logic is safety-tiered and confirmation-driven:
- Safe Cleanup Items: Executed directly without user intervention. Covers routine system temporary files, the recycle bin/trash, caches from mainstream social apps (e.g., WeChat, QQ) and browsers (Chrome, Edge, etc.), as well as installation caches for development tools like
pipandconda. - Sensitive Cleanup Items: Require forced secondary text confirmation. This applies to operations that might delete user-downloaded content or environment configurations, such as cleaning up unused
Dockerimages and volumes, macOS-specificXcodesimulator and build caches,Homebrewold version packages, and temporary large files on the desktop (installers, compressed packages, etc.). - Key Execution Steps:
- Receives a command like "Clean up computer junk", "Deep clean computer", or a specific directive (e.g., "Clean Docker").
- Automatically adapts file paths based on the current operating system and executes the corresponding cleanup tasks.
- For sensitive items, prompts the user via text to input "confirm" or "cancel".
- Calculates and reports the total space freed in real-time.
Applicable Scope and Important Notes
- Tool Dependencies: Before cleaning
Docker,Xcode, orHomebrewcaches, ensure these tools are installed and functional (Dockermust be running). - Permission Handling: When cleaning system-level directories, the skill automatically skips any file or directory it lacks permission to access, preventing process interruption or error logs.
- Non-Destructive Design: The skill only deletes known, safe cache files and is designed not to touch user documents, images, videos, or project source code. If an application's cache is cleared, restarting that application typically rebuilds it automatically without affecting normal use.
- Interaction Context: Explicitly designed for qclaw's text-based interaction model. All prompts and confirmations are handled via text, requiring no graphical interface or voice support.
Use Cases
- After long-term use of local development environments like Docker or Xcode, disk space is consumed by build caches and unused images, requiring safe release.
- As an IT operations specialist, you need to periodically clear accumulated container volumes, build caches, and other temporary resources from test servers or personal work machines.
- Your design or development work involves multiple large projects, and afterward, you need to clean up temporary installers, archives, and image files from the desktop and download directory in one go.
- After daily use of browsers, social apps (WeChat, QQ), and download managers, a large amount of cache accumulates, affecting system responsiveness and requiring a one-click cleanup.
Best For
- A full-stack engineer using Docker, Kubernetes, or Xcode for development, who needs to manage the ever-growing local images, build caches, and simulator data.
- An IT operations professional responsible for maintaining development and test environments, who needs to periodically reclaim resources to prevent environment failures due to insufficient disk space.
- A technical writer or designer who frequently handles large documents, design drafts, or installers, leading to a buildup of temporary files on the desktop and in the downloads folder.
- A remote-working developer who often switches between multiple devices (especially Macs) and needs to quickly clear caches from package managers like `pip`, `conda`, and `Homebrew`.
Related Skills
Comprehensive network engineering skill covering fault troubleshooting, technical consulting, and architecture design across routing and switching, wireless, security, cloud computing, and optical transport.
Provides 9 application modules based on GB/T 33000-2025 and DuPont safety methodologies for diagnosing, standardizing, and building culture in enterprise safety management systems.
A security-first vetting protocol for AI agent skills, used to thoroughly check code and risks before installation.
Automatically scans skill packages before and after installation to block malicious or non-compliant code, acting as a security gatekeeper for skill platforms.