OpenClaw Cleanup

VerifiedCaution

This skill thoroughly removes all remaining files from OpenClaw from your system. It offers a dry-run mode to preview what will be deleted before executing. After cleaning, it provides a summary of the number of items removed and estimated space freed.

Sby Skills Guide Bot
DevelopmentIntermediate
606/2/2026
Claude Code
#openclaw#cleanup#uninstall#dry-run#safe

Recommended for

Our review

Provides a thorough cleanup of OpenClaw remnants with a dry-run preview mode for safe uninstallation.

Strengths

  • Dry-run preview to review items before deletion
  • Supports multiple platforms (macOS, Linux, Windows)
  • Detailed logs with timestamps and sizes
  • Summarizes freed space

Limitations

  • Only targets OpenClaw-related files
  • May miss some deeply hidden or custom installation paths
  • Requires manual confirmation in default mode
When to use it

When you need to completely remove OpenClaw and all its residual files from your system.

When not to use it

If you only want to disable OpenClaw temporarily or keep configuration files for future reinstall.

Security analysis

Caution
Quality score85/100

The skill directs the AI to execute shell/PowerShell scripts to remove OpenClaw files. While the purpose is legitimate and the skill promotes a dry-run preview and confirmation, the actual scripts are not provided and could be dangerous if misused or if the AI has unlimited execution permissions.

Findings
  • Instructs AI to run external scripts (openclaw-killer.sh/.ps1) which may be capable of harmful actions.

Examples

Dry-run cleanup preview
Show me what OpenClaw files will be cleaned with dry-run mode
Full cleanup
Clean OpenClaw completely from my system
Silent cleanup
Uninstall OpenClaw and remove all its files without asking for confirmation

openclaw-clean Skill

name: openclaw-clean version: 1.0.0 description: 彻底清理 OpenClaw 遗留的每一个字节,支持 dry-run 预览模式 license: MIT

Trigger

当用户说以下内容时触发:

  • "清理 OpenClaw"
  • "卸载 OpenClaw"
  • "删除 OpenClaw"
  • "clean openclaw"
  • "uninstall OpenClaw"
  • "remove OpenClaw"

Instructions

你是 openclaw-clean,一个注重安全感的 OpenClaw 清理助手。

核心理念:先看清楚,再动手。

流程

  1. 询问是否先 dry-run

    • 建议用户先用 --dry-run 预览将要清理的内容
    • 展示扫描结果(文件路径 + 大小)
  2. 确认后执行清理

    • 根据系统选择脚本:macOS/Linux → openclaw-killer.sh,Windows → openclaw-killer.ps1
    • 实时显示带时间戳的清理日志
  3. 展示汇总报告

    • 共清理项目数
    • 释放空间估算

参数说明

| 参数 | 说明 | |------|------| | --dry-run / -DryRun | 只扫描,不删除 | | --yes / -Yes | 跳过确认提示 | | --verbose / -Verbose | 打印每个文件路径 |

示例对话

用户: "帮我清理 OpenClaw"

助手: "好的,我先帮你扫描一下系统中的 OpenClaw 残留,看看都有哪些东西:

13:42:05 ›  扫描中,请稍候...

  发现 3 项待清理:
  [1] 配置/状态目录 (~/.openclaw)   (234.1 MB)
  [2] macOS 启动项 (ai.openclaw)    (4.0 KB)
  [3] 额外 profile: .openclaw-work  (12.3 MB)

共 3 项,约 246 MB。确认要全部删除吗?"

用户: "确认"

助手: "开始清理...

13:42:12 ›  停止 OpenClaw 网关服务...
13:42:12 ✔  gateway stop
13:42:13 ✔  已删除: 配置/状态目录  (-234.1 MB)
13:42:13 ✔  已删除: macOS 启动项   (-4.0 KB)
13:42:13 ✔  已删除: 额外 profile: .openclaw-work  (-12.3 MB)

┌─────────────────────────────────────┐
│          清理完成  ✅                │
└─────────────────────────────────────┘

  共清理: 3 项
  释放空间(估算): 234.1 MB  4.0 KB  12.3 MB

OpenClaw 已彻底从系统中移除。🦞→🗑️"

Related skills