← 返回 Skills 市场
shenzheke

Ubuntu WSL System Cleanup

作者 shenzheke · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
115
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ubuntu-wsl-system-cleanup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ubuntu-wsl-system-cleanup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: safe Ubuntu/WSL cleanup, cache/log cleanup, and second-round orphaned-tool residue detection guidance.
元数据
Slug ubuntu-wsl-system-cleanup
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 115 次。

如何安装 Ubuntu WSL System Cleanup?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ubuntu-wsl-system-cleanup」即可一键安装,无需额外配置。

Ubuntu WSL System Cleanup 是免费的吗?

是的,Ubuntu WSL System Cleanup 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ubuntu WSL System Cleanup 支持哪些平台?

Ubuntu WSL System Cleanup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ubuntu WSL System Cleanup?

由 shenzheke(@shenzheke)开发并维护,当前版本 v1.0.0。

💬 留言讨论