← Back to Skills Marketplace
shenzheke

Ubuntu WSL System Cleanup

by shenzheke · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
115
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ubuntu-wsl-system-cleanup
Description
Audit and safely clean Ubuntu 24.04 system junk, caches, logs, temp files, and unused local tool artifacts outside /mnt. Use when the user asks to clean the...
Usage Guidance
This skill is coherent with its stated purpose, but it performs destructive filesystem operations (rm -rf, apt-get clean, journal vacuum). Before running: 1) Confirm whether the environment uses /root or a non-root $HOME — the scripts target /root paths. 2) Ensure you (or the agent) run the scripts with the correct privileges and explicit user consent for any extended or Docker cleanup. 3) Back up important data or run a dry-run/listing first (check the reported 'before' output and the scan lists) before allowing deletions. 4) If you want the cleanup to target a non-root user home, modify the script paths or run as that user. If any behavior seems unexpected (e.g., deleting specific caches or removing tool files), ask for a detailed review before proceeding.
Capability Analysis
Type: OpenClaw Skill Name: ubuntu-wsl-system-cleanup Version: 1.0.0 The skill bundle provides legitimate system maintenance and cleanup utilities for Ubuntu/WSL environments. The scripts (safe-clean.sh and second-round-clean.sh) perform standard operations such as clearing package manager caches, vacuuming system logs, and identifying orphaned tool artifacts, while the documentation (SKILL.md and references/) emphasizes safety constraints like avoiding host mounts (/mnt) and requiring user confirmation for aggressive actions.
Capability Assessment
Purpose & Capability
The name/description (WSL Ubuntu cleanup) match the included scripts and references. Requested actions (apt cache, journald vacuum, tmp cleanup, user caches, orphaned-tool scans) are appropriate for the stated purpose; no unrelated credentials, binaries, or external endpoints are required.
Instruction Scope
Instructions and scripts operate on system paths (/var, /tmp, /root, /root/.cache, /root/.local, /var/lib/apt, journalctl) which is expected for a cleanup tool. They explicitly avoid /mnt and Docker unless requested. Note: scripts assume root-centric paths (/root, /root/.openclaw/workspace); on systems where the primary user is not root (e.g., /home/ubuntu), the instructions may need adjustment and will require appropriate privileges to run.
Install Mechanism
No install spec — instruction-only with bundled shell scripts. Nothing is downloaded or extracted from external URLs, lowering installer risk.
Credentials
No environment variables, credentials, or external config paths are requested. The files accessed are consistent with cleanup tasks (apt caches, journald, /tmp, user caches, pipx/pip/npm locations).
Persistence & Privilege
Skill does not request permanent/always-on presence and allows user invocation. It does require the agent (or user) to run scripts with appropriate filesystem privileges to perform cleanup, which is expected.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ubuntu-wsl-system-cleanup
  3. After installation, invoke the skill by name or use /ubuntu-wsl-system-cleanup
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: safe Ubuntu/WSL cleanup, cache/log cleanup, and second-round orphaned-tool residue detection guidance.
Metadata
Slug ubuntu-wsl-system-cleanup
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Ubuntu WSL System Cleanup?

Audit and safely clean Ubuntu 24.04 system junk, caches, logs, temp files, and unused local tool artifacts outside /mnt. Use when the user asks to clean the... It is an AI Agent Skill for Claude Code / OpenClaw, with 115 downloads so far.

How do I install Ubuntu WSL System Cleanup?

Run "/install ubuntu-wsl-system-cleanup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ubuntu WSL System Cleanup free?

Yes, Ubuntu WSL System Cleanup is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ubuntu WSL System Cleanup support?

Ubuntu WSL System Cleanup is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ubuntu WSL System Cleanup?

It is built and maintained by shenzheke (@shenzheke); the current version is v1.0.0.

💬 Comments