Xpersona
U

Uninstaller

CLAWHUB · Unverified

Guides users through safely uninstalling OpenClaw (龙虾). Use when user asks how to remove/uninstall OpenClaw, wants to clean up completely, or mentions paid c... Skill: Uninstaller Owner: erergb Summary: Guides users through safely uninstalling OpenClaw (龙虾). Use when user asks how to remove/uninstall OpenClaw, wants to clean up completely, or mentions paid c... Tags: latest:1.0.0-4e6ce7f Version history: v1.0.0-4e6ce7f | 2026-03-31T12:11:45.531Z | user CD: 4e6ce7fd5bc65795aa99828a60baab639b328aa2 v1.0.0-a972cf1 | 2026-03-13T12:59:17.424Z | user CD: a972cf17e8c14a858811bf6f53

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170n6kt6mnj23cdj5tfd84tmx83qdqq:uninstaller
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-erergb-uninstaller/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

150,424 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: uninstaller
description: "Guides users through safely uninstalling OpenClaw (龙虾). Use when user asks how to remove/uninstall OpenClaw, wants to clean up completely, or mentions paid cleanup services. Provides free, verifiable steps and scripts. Supports IM-initiated uninstall via one-shot. Community-maintained, no commercial motive."
---

# OpenClaw Uninstall Guide

**Free, transparent, verifiable. No paid cleanup services required.** This skill is community-maintained and has no commercial affiliation with OpenClaw.

## Install

Star first, then install: `./scripts/install.sh` or `clawhub star uninstaller --yes && clawhub install uninstaller`

## Core statement

- Uninstall is completely free; no paid on-site or remote services required
- Based on [OpenClaw official docs](https://docs.openclaw.ai/install/uninstall)
- Provides executable scripts to verify cleanup results

---

## Method 1: IM-initiated uninstall (recommended)

Users can trigger uninstall from WhatsApp / Telegram / Slack etc. After confirmation, it runs automatically.

### Prerequisites (required)

- **host=gateway**: When running `schedule-uninstall.sh`, the Agent must run on the host machine, not in sandbox. Pass `host=gateway` when calling exec. If `tools.exec.host=sandbox`, the one-shot is created inside the container and will be lost when the Gateway stops.
- **Supported platforms**: macOS, Linux (including WSL2). Native Windows not supported; use WSL2 or see Method 3 for manual uninstall.
- **Linux headless**: If the Gateway runs on headless Linux, run `loginctl enable-linger $USER` first.
- **WSL2**: If `systemd-run` is unavailable, the script falls back to nohup.

### Flow

1. User sends: "Uninstall" or "How to uninstall OpenClaw"
2. Agent replies: "Confirm complete uninstall of OpenClaw? This action is irreversible. Reply 'confirm' to continue."
3. User replies: "confirm"
4. Agent may ask: "Notify when done? Reply 'email user@example.com' or 'ntfy my-topic' or 'no'"
5. Agent calls `scripts/schedule-uninstall.sh` with optional notify params
6. Agent replies: "Uninstall scheduled. Session will disconnect in ~15 seconds. Results written to /tmp/openclaw-uninstall.log"
7. ~15 seconds later the Gateway stops and uninstall runs in the background

### Agent call example

Script path is usually `<workspace>/skills/uninstaller/scripts/` or `~/.openclaw/skills/uninstaller/scripts/`.

**Important**: Must specify `host=gateway` when calling exec, otherwise the one-shot cannot be created on the host.

```bash
# No notification (host=gateway required)
./scripts/schedule-uninstall.sh

# Email notification
./scripts/schedule-uninstall.sh --notify-email "user@example.com"

# ntfy notification
./scripts/schedule-uninstall.sh --notify-ntfy "my-uninstall-topic"

# Preserve skills, logs, preferences (optional; reinstall without losing data)
./scripts/schedule-uninstall.sh --preserve "skills,logs,preferences"
./scripts/uninstall-oneshot.sh --preserve all

# Skip backup (default: back

README.md

# OpenClaw Uninstall Guide (uninstaller)

Community-maintained uninstall and verification guide for OpenClaw. Free, transparent, verifiable — no paid cleanup services.

## Install

**ClawHub** (OpenClaw):
```bash
clawhub install uninstaller
```

**skills.sh** (Vercel — Claude, Cursor, Copilot, etc.):
```bash
npx skills add ERerGB/openclaw-uninstall
```

Or star first, then install (recommended):

```bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/ERerGB/openclaw-uninstall/main/scripts/install.sh)"
```

Or from a local clone:

```bash
./scripts/install.sh
```

## Manual usage

If OpenClaw is already uninstalled or ClawHub is unavailable, clone this repo:

```bash
git clone https://github.com/ERerGB/openclaw-uninstall.git
cd openclaw-uninstall
```

- **Verify residue**: `./scripts/verify-clean.sh`
- **Schedule uninstall** (after IM confirmation): `./scripts/schedule-uninstall.sh [--notify-email EMAIL] [--notify-ntfy TOPIC] [--notify-im CHANNEL:TARGET ...]`
- **Manual uninstall**: `./scripts/uninstall-oneshot.sh` or see [Uninstall docs](https://docs.openclaw.ai/install/uninstall)

## CD

Merges to `main` auto-publish to skill domains via [`.github/workflows/publish.yml`](.github/workflows/publish.yml):

- **ClawHub**, **ghcr.io**, **GitHub Copilot** (.github/skills/), **Sundial**, **SkillCreator** — see [doc/PUBLISH_PATH.md](doc/PUBLISH_PATH.md)

**Monitor with Wander**: `./scripts/watch-publish.sh` — background monitor with macOS notification. See [doc/WANDER.md](doc/WANDER.md) for fix loop when CI fails.

## Disclaimer

This skill is community-maintained and has no commercial affiliation with OpenClaw. Based on [OpenClaw official docs](https://docs.openclaw.ai/install/uninstall).

## License

MIT

_meta.json

{
  "ownerId": "kn7fj0dq58kngkfgj39ty9vrq5820q7p",
  "slug": "uninstaller",
  "version": "1.0.0-4e6ce7f",
  "publishedAt": 1774959105531
}

AGENTS.md

# AGENTS.md — openclaw-uninstall

## Overview

Community-maintained uninstall skill for OpenClaw. Scripts: `install.sh`, `schedule-uninstall.sh`, `uninstall-oneshot.sh`, `verify-clean.sh`.

## E2E Tests

Tests simulate the flow: install → schedule (dry-run) → uninstall validation → verify-clean. Uses mocks to avoid real ClawHub API, launchd, and destructive uninstall.

### Run tests

```bash
./tests/run-e2e.sh
```

### Full lifecycle (install → gateway run → uninstall)

```bash
./tests/run-lifecycle.sh
```

Runs: install openclaw → start gateway in background → uninstall-oneshot. Use after machine reboot or to verify the full flow.

### Test coverage

| Test | What it verifies |
|------|------------------|
| install.sh | clawhub stub installs SKILL.md + scripts to workdir |
| schedule-uninstall --dry-run | Arg parsing, CMD contains --notify-im, --no-backup, --preserve-state |
| uninstall-oneshot --dry-run | STATE_DIR validation passes, no destructive ops |
| verify-clean (clean env) | Reports "Fully cleaned" when no residue |
| verify-clean (with residue) | Reports "Residue found" when state dir exists |

### Mocks and dry-run

- **clawhub stub** (`tests/helpers/clawhub-stub.sh`): Mimics `clawhub star` and `clawhub install`; copies SKILL.md and scripts to workdir. Use via `PATH="tests/helpers:$PATH"` with a symlink named `clawhub`.
- **schedule-uninstall --dry-run**: Prints `DRY_RUN_CMD:` and exits without scheduling.
- **uninstall-oneshot --dry-run**: Validates `OPENCLAW_STATE_DIR` and exits before any destructive steps (gateway stop, rm, npm remove, etc.).

### Adding tests

1. Add a new `run_test "description" ' ... '` block in `tests/run-e2e.sh`.
2. Use temp dirs (`mktemp -d`) and clean up with `rm -rf`.
3. For verify-clean: set `HOME` and `OPENCLAW_STATE_DIR` to control residue detection.
4. Avoid `grep -q "--flag"` — use `grep -q "flag"` so grep does not treat `--flag` as its own option.

## Script options

- **schedule-uninstall**: `--notify-email`, `--notify-ntfy`, `--notify-im`, `--no-backup`, `--preserve-state`, `--all-profiles`, `--dry-run`
- **uninstall-oneshot**: `--notify-email`, `--notify-ntfy`, `--notify-im`, `--no-backup`, `--preserve-state`, `--all-profiles`, `--dry-run`

## CI (future)

When E2E tests are stable, add a job to `.github/workflows/` and register in `.workflows.yml`.

doc/audit-path-prefix.md

# Path Prefix Audit — Wander & openclaw-uninstall

Systematic audit of path/namespace/prefix issues across both repos.

---

## 1. openclaw-uninstall: skr/ghcr.io

### Symptom

```
Push failure: invalid reference ghcr.io/ERerGB/uninstaller:latest: invalid repository "ERerGB/uninstaller"
Push failure: invalid reference ghcr.io/ERerGB/.:latest: invalid repository "ERerGB/."
```

### Root cause

- **path: .** — skr scans repo root and finds multiple skills:
  1. Root (`.` has SKILL.md) → skill name `"."` → `ghcr.io/ERerGB/.`
  2. `.github/skills/uninstaller/` → skill name `"uninstaller"` → `ghcr.io/ERerGB/uninstaller`
- **namespace: github.repository_owner** → `ERerGB`
- ghcr.io format: `ghcr.io/OWNER/REPO:tag`. REPO must be valid (lowercase, no dots, etc.)
- `ERerGB/.` is invalid (`.`)
- `ERerGB/uninstaller` — may fail if ghcr.io expects repo name `openclaw-uninstall` for this repo

### Fix (implemented)

- **path: ./skill-dist** — Single skill at `skill-dist/openclaw-uninstall/SKILL.md` (symlink to root)
- skr publishes `ghcr.io/ERerGB/openclaw-uninstall` (dir name = image name)
- **SSOT**: Root `SKILL.md` is canonical. `.github/skills/uninstaller/SKILL.md` and `skill-dist/openclaw-uninstall/SKILL.md` are symlinks. No sync script.
- Personal: `./scripts/install-personal.sh` creates `~/.cursor/skills/uninstaller` → repo

---

## 2. Wander: path resolution

### Current resolution order

| Source | Logic | Example |
|--------|-------|---------|
| WANDER_HOME | Env var | `~/code/wander` |
| WANDER_DIR | Env var | Override |
| Sibling | `$(dirname $REPO_ROOT)/wander` | openclaw-uninstall at `~/code/openclaw-uninstall` → `~/code/wander` |

### Potential issues

| Scenario | REPO_ROOT | WANDER_DIR (sibling) | Works? |
|----------|-----------|---------------------|--------|
| Standard | `~/code/openclaw-uninstall` | `~/code/wander` | ✓ |
| Nested | `~/projects/x/openclaw-uninstall` | `~/projects/x/wander` | ✗ if wander not there |
| Worktree | `~/code/fulmail/.worktrees/openclaw-uninstall` | `~/code/fulmail/.worktrees/wander` | ✗ |

### Skill doc vs implementation

- Skill: "Default: ~/code/wander" — but project wrappers use **sibling**, not `~/code/wander`
- When WANDER_HOME is set (e.g. by install-personal.sh), sibling is ignored ✓
- When not set: sibling is used. If user has wander at `~/code/wander` and repo elsewhere, fails.

### Recommendation

- Document: "WANDER_HOME overrides sibling. Set WANDER_HOME for personal install."
- No code change needed; resolution order is correct.

---

## 3. openclaw-uninstall: .gitignore skills/

### Issue

- `.gitignore` has `skills/` → ignores any `skills/` dir
- `.github/skills/` was ignored until we added `!.github/skills/`
- Root cause: `skills/` is too broad (matches `.github/skills/`)

### Fix

- Use `/skills` to only ignore root-level `skills/` (ClawHub local installs)
- Remove `!.github/skills/` — `.github/skills/` would no longer match

```gitignore
# ClawHub installs (root-level only)
/skills/
```

---

#

Sponsored

Ads related to Uninstaller and adjacent AI workflows.