Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

reinstall-openclawreinstall OpenClaw 搜索

Agent Skill

reinstall-openclaw 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,890

周安装

290

GitHub Stars

公开资料未说明

下载量

2,413
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:reinstall-openclaw(reinstall OpenClaw 搜索)
来源仓库:https://github.com/albertpan2018/reinstall-openclaw
安装命令:
openclaw skills install reinstall-openclaw
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install reinstall-openclaw

简介

安全卸载并重新安装 OpenClaw,保留用户配置和技能。

  • 包括备份和恢复机制,确保数据安全。
  • 适合系统升级或故障修复场景。reinstall-openclaw 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install reinstall-openclaw。
  • 使用前建议确认权限范围和维护状态,避免触发未授权操作。

SKILL.md

name
reinstall-openclaw
description
Safely uninstall and reinstall OpenClaw while preserving user configurations, credentials, memory files, skills, and custom settings. Includes backup and restore procedures.
metadata

Reinstall OpenClaw Skill

This skill provides complete procedures to safely uninstall and reinstall OpenClaw while preserving all user configurations, credentials, memory files, skills, and custom settings.

Use Cases

  • Clean reinstall of OpenClaw to fix corrupted installations
  • Remove third-party modifications and restore to official version
  • Upgrade to latest version with fresh installation
  • Migrate OpenClaw to a new environment with existing configurations

Prerequisites

  • WSL (Ubuntu 20.04 or later) or Linux/macOS with Node.js
  • Node.js 18+ and npm/pnpm
  • Access to WSL terminal (for Windows users)

Complete Procedure

Step 1: Check Current Installation

First, identify the OpenClaw installation location and version:

# Check OpenClaw version
npx openclaw --version

# Find OpenClaw npm package location
npm root -g

# List global npm packages
npm list -g --depth=0

Step 2: Backup All User Data

Create a complete backup of all user configurations:

# Create backup directory with timestamp
BACKUP_DIR=~/openclaw-backup-$(date +%Y%m%d)
mkdir -p $BACKUP_DIR

# Backup entire .openclaw directory
cp -r ~/.openclaw $BACKUP_DIR/

# Verify backup
ls -la $BACKUP_DIR/

What to Backup (Already included in ~/.openclaw)

Directory/FileDescription
openclaw.jsonMain configuration (gateway token, API keys, channel configs)
credentials/API credentials and secrets
memory/SQLite memory database
agents/Agent configurations and sessions
skills/Installed skills
workspace/User workspace (SOUL.md, IDENTITY.md, AGENTS.md, etc.)
feishu/Feishu configuration
identity/Device identity files
devices/Paired devices
cron/Scheduled cron jobs

Step 3: Stop OpenClaw Services

Stop all running OpenClaw processes:

# Stop gateway if running
npx openclaw gateway stop

# Kill any remaining processes
pkill -f openclaw
pkill -f "node.*openclaw"

# Verify no processes running
ps aux | grep openclaw

Step 4: Uninstall OpenClaw

Use the official uninstall command:

# Full uninstall (removes everything including CLI - optional)
npx openclaw uninstall --all --yes

# OR uninstall but keep CLI (recommended)
npx openclaw uninstall --state --workspace --yes

Note: The --all flag removes the CLI as well. If you want to keep the CLI for reinstallation, omit this flag.

Step 5: Clean Up Remaining Files

Remove any remaining files that might interfere:

# Remove npm cache (optional but recommended)
npm cache clean --force

# Remove old OpenClaw npm package if still exists
sudo npm uninstall -g openclaw

# Remove any remaining .openclaw directories
rm -rf ~/.openclaw
rm -rf ~/.openclaw-dev

Step 6: Install Latest OpenClaw

Install the latest official version:

# Install globally
sudo npm install -g openclaw@latest

# Verify installation
npx openclaw --version

Step 7: Restore User Configuration

Restore your backed-up configurations:

# Restore .openclaw directory
cp -r ~/openclaw-backup-YYYYMMDD/* ~/.openclaw/

# Set correct permissions
chmod 700 ~/.openclaw

Step 8: Run Health Check and Fix

# Run doctor to check for issues
npx openclaw doctor --fix

Step 9: Start OpenClaw Gateway

# Start the gateway
npx openclaw gateway

# Check health
npx openclaw health

# Check status
npx openclaw status

Complete One-Liner Backup Script

Run this before uninstalling to create a timestamped backup:

# Create automatic backup
BACKUP_DIR=~/openclaw-backup-$(date +%Y%m%d-%H%M%S) && mkdir -p $BACKUP_DIR && cp -r ~/.openclaw/* $BACKUP_DIR/ && echo "Backup created: $BACKUP_DIR"

Complete One-Liner Restore Script

Run this after reinstallation to restore configurations:

# Restore from latest backup
LATEST_BACKUP=$(ls -td ~/openclaw-backup-* | head -1) && cp -r $LATEST_BACKUP/* ~/.openclaw/ && chmod 700 ~/.openclaw && echo "Restored from: $LATEST_BACKUP"

Troubleshooting

Gateway won't start after restore

# Stop any stale processes
npx openclaw gateway stop

# Force start
npx openclaw gateway --force

Port already in use

# Find process using the port
lsof -i :18788

# Kill it
kill <PID>

Configuration errors after restore

# Run doctor to fix
npx openclaw doctor --fix

Permission issues

# Fix .openclaw permissions
chmod 700 ~/.openclaw
chmod 600 ~/.openclaw/openclaw.json
chmod 700 ~/.openclaw/credentials

Files Reference

Configuration File (~/.openclaw/openclaw.json)

Key settings to preserve:

  • gateway.port - Gateway port (default: 18788)
  • gateway.auth.token - Gateway authentication token
  • channels.feishu - Feishu app credentials
  • models.providers - API keys for AI models

Backup Contents

~/.openclaw/
├── openclaw.json          # Main config
├── credentials/           # API secrets
├── memory/main.sqlite     # Memory database
├── agents/main/           # Agent configs
├── skills/                # Installed skills
├── workspace/             # User workspace
│   ├── SOUL.md
│   ├── IDENTITY.md
│   ├── AGENTS.md
│   └── USER.md
├── feishu/                # Feishu config
├── identity/              # Device identity
├── devices/               # Paired devices
└── cron/                  # Scheduled jobs

Important Notes

  1. Always backup before uninstalling - Never skip the backup step
  2. Keep backup in a safe place - Copy to external storage or cloud
  3. Test after restore - Verify all configurations work correctly
  4. Third-party modifications - This procedure removes all third-party patches and returns to official version
  5. Memory files are preserved - The SQLite memory database is included in the backup

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.33%
按下载量换算1,745

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills