TopRank Skills

Home / Claw Skills / Git / GitHub / upgrade-openclaw
Official OpenClaw rules 36%

upgrade-openclaw

Upgrade OpenClaw and comprehensively discover new features, config options, hooks, and improvements. Use when: user says "upgrade openclaw", "update openclaw", "check for openclaw updates", "what's new in openclaw", or "/skills upgrade_openclaw". Runs the update, diffs the changelog against enabled channels/plugins, performs config schema gap analysis, audits hooks and doctor recommendations, and presents ALL findings for user approval before applying.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 upgrade-openclaw 技能。 若已安装,则直接安装 upgrade-openclaw 技能。

Overview

Skill Key
decentraliser/upgrade-openclaw
Author
decentraliser
Source Repo
openclaw/skills
Version
-
Source Path
skills/decentraliser/upgrade-openclaw
Latest Commit SHA
1fb2ea270dc80b8c10bfec94dcdb2960d0d500ae

Extracted Content

SKILL.md excerpt

# Upgrade OpenClaw

Update, diff, audit, propose. Every new feature surfaced. Nothing missed.

## Settings

On first run, check `settings.json` in this skill's directory. If `subagentModel` not set, ask:

> "Which model for upgrade sub-agents? (e.g., `claude-sonnet-4-6`, `deepseek-chat`). Note: external providers will receive config data."

Save to `settings.json`:
```json
{ "subagentModel": "anthropic/claude-sonnet-4-6" }
```

## Procedure

### 1. Record Pre-Update State

Before touching anything:

```bash
PRE_VERSION=$(openclaw --version | grep -oP '\d{4}\.\d+\.\d+')
echo "$PRE_VERSION"
```

Save `PRE_VERSION` — needed for changelog diffing in Step 3.

### 2. Run Update

```bash
openclaw update
```

If dirty working tree, stash first:
```bash
cd "$(openclaw --version 2>&1 | grep -oP '(?<=\().*?(?=\))' || echo ~/openclaw)" 
git stash --include-untracked -m "pre-update stash" && openclaw update
```

Record new version:
```bash
POST_VERSION=$(openclaw --version | grep -oP '\d{4}\.\d+\.\d+')
```

If `PRE_VERSION == POST_VERSION`, report "Already up to date" and skip to Step 5 (audit only).

### 3. Extract Delta Changelog

The changelog lives locally at `~/openclaw/CHANGELOG.md` after update. Versions delimited by `## YYYY.x.x` headers.

Extract only entries between old and new version:

```bash
awk "/^## $POST_VERSION/,/^## $PRE_VERSION/" ~/openclaw/CHANGELOG.md
```

Then **filter by relevance** to this setup:

1. Read current config via `gateway config.get` to identify enabled channels/plugins
2. From the changelog delta, **keep** entries matching:
   - Enabled channels (e.g., Telegram — skip LINE/Discord/Feishu/etc. unless enabled)
   - Core agent/gateway/cron/tools/memory/security changes (always relevant)
   - ACP/sessions/subagent changes (if ACP enabled)
   - Breaking changes (always relevant)
3. **Discard** entries for disabled channels, iOS/macOS app changes, and platforms not in use
4. **Categorize** kept entries into: Features | Fixes | Security | Breaking C...

Related Claw Skills