Token导航 LogoToken导航

Agent Skill · 开发

openclaw-upgrader(OpenClaw upgrader 测试)

openclaw-upgrader 用于辅助测试设计、自动化测试和回归验证,适合在 OpenClaw 中需要补充测试、分析失败日志或验证功能改动时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

openclaw-upgrader 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 4,953。

总安装 7,244周安装 308GitHub Stars 公开资料未说明下载 2,538核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.1

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install openclaw-upgrader

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

openclaw-upgrader 使用 Codex 监督跨平台升级至指定或最新版本。适用于自动化完成复杂升级任务,减少人工错误。集成测试与验证流程,确保升级后功能正常。安装时按仓库提供的命令执行,建议先在测试环境验证依赖、命令权限和文件改动范围。依赖外部 AI 模型与网络连接,执行时间可能较长。

适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install openclaw-upgrader;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

openclaw-upgrader 怎么安装?

在终端执行 openclaw skills install openclaw-upgrader。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

openclaw-upgrader 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

openclaw-upgrader 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install openclaw-upgrader 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

openclaw-upgrader 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

openclaw-upgrader 用的人多吗?

公开数据是累计安装 7,244 次,近一周安装 308 次,下载 2,538 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

openclaw-upgrader 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
openclaw-upgrader

OpenClaw upgrader 测试 · 本页

7,244—执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
openclaw-upgrader
description
Upgrade OpenClaw to a specific version or latest using a cross-platform, Codex-supervised flow. Use when the user asks to upgrade or update OpenClaw. OpenClaw should do lightweight pre-upgrade preparation itself, then hand the full upgrade, restart, recovery, service-definition refresh, and verification workflow to Codex with a strong prompt.

OpenClaw Upgrader

Use this skill for cross-platform, same-host OpenClaw upgrades. Keep the skill focused on one job:

  1. OpenClaw does the minimal safe preparation itself
  2. A local ACP/CLI coding agent (Codex or Claude Code) executes the full upgrade and recovery workflow on the same host
  3. Success means the upgraded OpenClaw runtime is usable again, not merely that package installation finished

Core contract

Do not treat this as a shell script wrapper skill. Treat it as a same-host ACP/CLI delegation skill.

This skill is for upgrading the OpenClaw installation on the same host where the delegated coding agent runs. It is cross-platform across host OS/service models, but it is not a generic remote-host orchestration skill.

Concurrency contract:

  • On a given host, allow at most one active openclaw-upgrader run at a time.
  • If a second run is requested while one is active, do not run them concurrently.
  • The caller must either reject re-entry immediately or queue it explicitly.
  • Prefer immediate rejection by default unless the caller has a real queueing mechanism.

OpenClaw should do only lightweight preparation before delegation:

  • detect current version
  • identify likely package manager / install method if easy to determine
  • back up the config
  • collect relevant environment facts for Codex
  • formulate a strong Codex prompt

Use scripts/collect-upgrade-context.sh to gather a machine-readable context snapshot before delegation. That script must reject re-entry before agent preflights and may claim the host-level active-run lock on behalf of the outer upgrader flow. Use scripts/run-upgrade-delegation.sh as the outer runner scaffold so the lock is released only when the upgrader flow reaches a terminal path. Read references/review-checklist.md when composing or reviewing the Codex handoff.

After that, hand off the full upgrade workflow to a local coding agent: prefer Codex; use Claude Code if Codex is unavailable or unsuitable.

What success means

An upgrade is successful only if all of these are true:

  1. OpenClaw version is at the requested target, or already latest/target
  2. The correct OpenClaw Gateway/service instance is running again under the host's service model
  3. The correct configured/local Gateway endpoint is reachable again
  4. Authentication-aware probing shows the endpoint is live, even if it is protected
  5. OpenClaw can serve the intended local clients again
  6. No required post-upgrade recovery step remains pending

If package installation succeeded but the runtime did not recover, report failure, not success.

Cross-platform rule

Do not hardcode macOS-specific assumptions into the skill contract.

Examples:

  • Do not require LaunchAgent in the generic rules
  • Do not hardcode 127.0.0.1:18789 as the only valid endpoint
  • Do not assume only one service manager exists

Instead, require Codex to verify the appropriate host-specific service model and the actual configured/local endpoint.

Examples of host-specific service models Codex may need to handle:

  • macOS LaunchAgent / launchctl
  • Linux systemd / service managers
  • containerized or manually supervised installs
  • other local supervisor arrangements

What OpenClaw should do before delegation

Do these directly before spawning the delegated agent:

  1. Enforce the single-active-run lock for this host before any agent probe, preflight, or other side-effecting preparation
  2. Detect current version
  3. Back up config
  4. Check agent availability and delegation preconditions
  5. Record key runtime facts, if cheaply available
  6. Pass those facts into the delegated-agent task

The run lock must cover the entire active upgrader lifecycle, not just context collection. scripts/collect-upgrade-context.sh may claim the host-level run lock and emit lock metadata, but the caller/outer runner must retain that lock until the delegated upgrade run reaches a terminal state and then release it deliberately. scripts/run-upgrade-delegation.sh is the default outer-runner scaffold for this purpose and must remain responsible for terminal lock release.

If delegation cannot begin, OpenClaw itself must write a structured pre-delegation failure result. Do not leave blocked delegation as an implicit or unstructured failure. If another upgrader run is already active on this host, reject re-entry or explicitly queue it; do not allow concurrent execution.

Useful facts to pass:

  • current version
  • requested target version
  • install method clues (npm, pnpm, yarn, package manager, custom)
  • config path
  • state dir / profile context if present (OPENCLAW_STATE_DIR, OPENCLAW_PROFILE)
  • expected gateway/service command(s)
  • actual service label / unit / task name, if known
  • known local endpoint, if known
  • endpoint auth mode, if known
  • token/password source or auth expectation, if known
  • OS / platform
  • any recent failure mode already observed by the user
  • Codex installed/auth/preflight status
  • Claude Code installed/auth/preflight status
  • selected agent, if any
  • delegation block reason, if delegation cannot start

When multiple OpenClaw instances may exist, pass enough identity information that Codex can upgrade, repair, and verify the same instance.

Delegated agent responsibility

The delegated local coding agent (Codex or Claude Code) owns the full upgrade flow after handoff. That includes:

  1. Determine the correct upgrade path for this host
  2. Execute the upgrade
  3. Refresh or reinstall the host-native service definition if the updated install requires it
  4. Restart or recover the correct Gateway/service instance
  5. Detect broken post-upgrade states
  6. Repair them
  7. Verify end-to-end usability
  8. Write a structured result

Agent selection and fallback

Before delegation, check whether a supported local coding agent is actually usable.

Preferred order:

  1. Codex
  2. Claude Code

Check all of the following before selecting an agent:

  • CLI is installed and invokable
  • CLI is authenticated/logged in
  • CLI passes a lightweight, non-destructive delegation-viability preflight on this host

Important: this preflight is a necessary but not sufficient condition. It is only meant to reject obviously unusable agents before delegation. It does not prove that the agent will definitely succeed at package upgrade, service recovery, verification, or file writes during the real run.

Handle these cases explicitly:

No supported CLI installed

If neither Codex nor Claude Code is installed, stop and report that the skill cannot proceed yet. Do not silently fall back to a shell-only upgrade flow. Write a structured result with status delegation_blocked.

CLI installed but not logged in

If a CLI is installed but not authenticated, stop and report that the selected agent is unavailable until login/auth is completed. If no other supported agent is usable, write a structured result with status delegation_blocked.

CLI logged in but fails delegation preflight

If a CLI is authenticated but fails the lightweight delegation-viability preflight, treat it as unavailable for this task and try the other supported CLI if present. If neither agent passes preflight, stop and report that delegation cannot safely continue, and write a structured result with status delegation_blocked.

Do not overclaim what the preflight proves. A passing preflight only means the agent looks viable enough to start delegation; it does not prove that the full upgrade workflow will succeed.

Both available

Prefer Codex by default. Use Claude Code when Codex is unavailable, unauthenticated, or lacks the needed capabilities.

OpenClaw should record the selected agent explicitly before delegation.

What the delegated-agent prompt must emphasize

The most important part of this skill is the prompt quality. The prompt to the delegated agent should strongly emphasize these points:

1. Treat runtime recovery as part of the upgrade

Tell the delegated agent explicitly:

  • The upgrade is not complete when package installation finishes
  • The upgrade is only complete when OpenClaw is operational again
  • Broken service state after install is a failed upgrade and must be repaired
  • If the updated install ships or expects refreshed service definitions, refresh/reinstall them before concluding recovery failed

2. Work from the host's real service model

Tell the delegated agent to infer and verify the real service management model on the host instead of assuming macOS or any single supervisor.

Examples:

  • inspect how OpenClaw is currently launched
  • inspect current service state
  • restart/reload using the correct host-native mechanism
  • refresh or reinstall the host-native service definition if needed after upgrade
  • verify that the service manager actually brought the runtime back

3. Verify the real endpoint, not a guessed one

Tell the delegated agent to validate the real configured/local Gateway endpoint.

Do not let Codex stop after a restart command. Require it to verify actual reachability.

Require authentication-aware verification:

  • if the endpoint responds and is auth-protected, treat that as reachable service, not dead service
  • use the available auth context when appropriate
  • distinguish "unreachable" from "reachable but requires auth"
  • continue validating real host operations during the delegated run instead of assuming the preflight proved everything

4. Distinguish package success from runtime success

Tell the delegated agent to separately evaluate:

  • package/install success
  • service-definition refresh success
  • service recovery success
  • endpoint reachability
  • authenticated or auth-aware probe success
  • client usability
  • whether the delegated run actually retained enough permissions/capabilities once real upgrade actions began

If the first passes and the latter fail, overall status must still be failure.

5. Prefer diagnosis + repair over blind retries

Tell the delegated agent to inspect the failure mode and repair the actual cause.

Examples of causes:

  • service manager failed to reload
  • updated install requires refreshed service definition
  • unit/agent not loaded
  • wrong instance label/unit/task repaired
  • process crashed on boot
  • config/env regression after upgrade
  • port/endpoint mismatch
  • stale wrapper / broken launch target
  • auth assumptions wrong during endpoint verification

6. Keep instance identity stable through the whole run

Tell the delegated agent to identify the exact OpenClaw instance being upgraded and use the same identity for upgrade, repair, restart, and validation.

Useful identity anchors include:

  • config path
  • OPENCLAW_STATE_DIR
  • OPENCLAW_PROFILE
  • service label/unit/task name
  • endpoint
  • runtime working directory

Do not allow "upgraded one instance, repaired another" outcomes.

7. Leave a machine-readable result

Require the delegated agent to write a structured result file with:

  • prior version
  • final version
  • upgrade status
  • service-definition refresh status
  • service recovery status
  • endpoint reachability status
  • auth-aware endpoint probe status
  • instance identity used
  • key repair actions taken
  • final error if unsuccessful
  • log location

Suggested delegated-agent prompt template

Use a prompt roughly like this, adapted to the environment and selected agent:

Upgrade OpenClaw to <TARGET_VERSION> on this host.

You are the delegated local coding agent for this host. You own the full upgrade workflow end to end: package upgrade, service-definition refresh if needed, service recovery, endpoint verification, and post-upgrade validation.

Facts:
- Current version: <CURRENT_VERSION>
- Target version: <TARGET_VERSION>
- OS/platform: <PLATFORM>
- Config path: <CONFIG_PATH>
- Install method clues: <INSTALL_METHOD_HINTS>
- State dir: <STATE_DIR_OR_UNKNOWN>
- Profile: <PROFILE_OR_UNKNOWN>
- Service label/unit/task: <SERVICE_IDENTITY_OR_UNKNOWN>
- Known Gateway endpoint: <KNOWN_ENDPOINT_OR_UNKNOWN>
- Endpoint auth mode: <AUTH_MODE_OR_UNKNOWN>
- Auth source/expectation: <AUTH_SOURCE_OR_UNKNOWN>
- Known recent failure mode: <KNOWN_FAILURE_MODE>
- Config backup already created at: <BACKUP_PATH>

Requirements:
1. Determine the correct host-specific upgrade path
2. Perform the upgrade
3. Refresh or reinstall the host-native service definition if the updated install requires it
4. Recover/restart the correct Gateway instance using the host's actual service model
5. Verify the real configured/local Gateway endpoint is reachable again
6. Use auth-aware probing so "reachable but requires auth" is not misclassified as downtime
7. Verify OpenClaw is operational for the intended local clients again
8. If package install succeeds but runtime recovery fails, treat the overall result as failure and repair it
9. Write a structured result file to ~/.openclaw/.upgrade-result.json

Do not stop at “package upgraded” or “restart issued”. The task is only complete when the intended OpenClaw instance is operational again.

Treat the preflight fields you were given as an initial viability signal, not a proof of full upgrade authority. Re-check permissions/capabilities when the real upgrade actions begin.

Result file

Write structured output to:

~/.openclaw/.upgrade-result.json

Expected shape:

{
  "status": "success | failed | already_latest | in_progress | delegation_blocked | rejected_reentry",
  "start_time": "2026-03-13T20:00:00",
  "end_time": "2026-03-13T20:02:30",
  "previous_version": "2026.3.12",
  "new_version": "2026.3.13",
  "selected_agent": "codex | claude-code | none",
  "delegation_status": "started | blocked | rejected_reentry | queued | not_needed | unknown",
  "delegation_block_reason": "not_installed | not_authenticated | insufficient_capability | active_run_exists | unknown | null",
  "agent_checks": {
    "codex": {
      "installed": true,
      "authenticated": true,
      "preflight_ok": true
    },
    "claude_code": {
      "installed": false,
      "authenticated": false,
      "preflight_ok": false
    }
  },
  "service_definition_status": "refreshed | unchanged | failed | unknown | not_started",
  "service_status": "healthy | unhealthy | unknown | not_started",
  "endpoint_status": "reachable | unreachable | unknown | not_started",
  "auth_probe_status": "ok | auth_required | failed | unknown | not_started",
  "service_model": "launchctl | systemd | manual | container | unknown | not_started",
  "instance_identity": {
    "config_path": "...",
    "state_dir": "...",
    "profile": "...",
    "service_name": "...",
    "endpoint": "..."
  },
  "repair_actions": ["..."],
  "error": "Error message if failed",
  "log_file": "/tmp/openclaw-upgrade-20260313-200000.log"
}

Important notes

  1. Keep OpenClaw-side preparation light
  2. Delegate the real upgrade workflow to a supported local coding agent
  3. Prefer Codex, but support Claude Code as a first-class fallback
  4. Refuse shell-only fallback when no suitable coding agent is available
  5. Enforce single-active-run semantics on the host; reject or explicitly queue re-entry
  6. If delegation cannot begin, OpenClaw must write a structured delegation_blocked or rejected_reentry result itself
  7. Make the delegated-agent prompt strict about recovery and verification
  8. Keep the skill cross-platform
  9. Never equate package installation with upgrade success
  10. Never let the delegated agent repair or verify the wrong OpenClaw instance
  11. Never let auth-protected reachability be mistaken for outage

平台分布

OpenClaw

80.12%
按下载量换算2,033

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install openclaw-upgrader 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills