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
6/2/2026
Claude Code
#openclaw#cleanup#uninstall#dry-run#safe

Recommended for

Automated summary

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.
How this analysis is made

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 已彻底从系统中移除。🦞→🗑️"

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/openclaw-cleanup-mmlj2owh/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/openclaw-cleanup-mmlj2owh' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/openclaw-cleanup-mmlj2owh/download' --output '.skill-downloads/openclaw-cleanup-mmlj2owh/SKILL.md.part' && mv '.skill-downloads/openclaw-cleanup-mmlj2owh/SKILL.md.part' '.skill-downloads/openclaw-cleanup-mmlj2owh/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/openclaw-cleanup-mmlj2owh/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills