← 返回 Skills 市场
zdy2019

OpenClaw Auto-Updater

作者 ZDY2019 · GitHub ↗ · v1.0.1 · MIT-0
win32linuxdarwin ✓ 安全检测通过
178
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install auto-updater-openclaw
功能描述
Automatically keep OpenClaw and installed workspace skills up to date using native OpenClaw commands. Use when the user wants automatic update checks, schedu...
使用说明 (SKILL.md)

OpenClaw Auto-Updater

Use this skill to set up or run native OpenClaw update routines.

This skill is for OpenClaw, not legacy Clawdbot/ClawdHub setups. Prefer these commands:

  • openclaw update ... for OpenClaw itself
  • openclaw skills update ... for installed skills
  • openclaw cron ... for scheduling

What to do

When the user asks for automatic updates:

  1. Check whether they want:
    • OpenClaw core updates
    • skill updates
    • both
  2. Prefer native OpenClaw commands over legacy clawdbot / clawdhub commands.
  3. If scheduling is requested, create a cron job with openclaw cron add or the cron tool. Prefer binding the job to the current session when the user wants the summary to come back to the same chat.
  4. Make the cron message ask for:
    • current OpenClaw version before/after (if updated)
    • which skills were updated
    • any failures or skipped items
  5. Keep summaries short and readable.

Safe default behavior

Default recommendation:

  • Update skills automatically
  • Leave OpenClaw core binary/app updates as opt-in unless the user explicitly wants automatic core updates too

Reason: skill updates are lower risk than changing the OpenClaw runtime itself.

Native command patterns

Check OpenClaw status/version

openclaw --version
openclaw status

Update installed skills

openclaw skills update \x3Cslug>
openclaw skills update --all

Inspect skills first

openclaw skills list
openclaw skills check

Check/update OpenClaw itself

openclaw update --help

Only automate core updates after the user explicitly asks.

Cron template: skills-only auto-update

For lower rate-limit pressure, prefer updating skills one by one instead of always starting with --all. Recommended example:

openclaw cron add \
  --name "Daily Skills Auto-Update" \
  --cron "0 4 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --announce \
  --message "Run the daily OpenClaw skills maintenance routine. Use native OpenClaw commands only. Prefer a gentle strategy: first identify tracked ClawHub-installed skills, then run openclaw skills update \x3Cslug> one by one, record updated/current/failed items, and if 429 Rate limit exceeded appears, explain it is a ClawHub remote rate limit and stop the rest of this run. Do not use legacy clawdbot or clawdhub commands." \
  --light-context

Cron template: core + skills update

Only use this if the user explicitly wants OpenClaw itself updated automatically.

openclaw cron add \
  --name "Daily OpenClaw Auto-Update" \
  --cron "0 4 * * *" \
  --tz "Asia/Shanghai" \
  --session isolated \
  --announce \
  --message "Run the daily OpenClaw maintenance routine using native OpenClaw commands only. Steps: (1) record the current OpenClaw version, (2) inspect whether OpenClaw core update commands are available and apply updates only through supported OpenClaw update flows, (3) update tracked skills gently, preferably with openclaw skills update \x3Cslug> one by one instead of blindly starting with --all, (4) if 429 Rate limit exceeded appears, say it is a ClawHub remote rate limit and stop the rest of this run, (5) report version before/after, updated skills, already-current skills, and failures. Do not use legacy clawdbot or clawdhub commands." \
  --light-context

Reporting format

Use a compact report like:

🔄 OpenClaw Update Complete

OpenClaw: unchanged / updated \x3Cbefore → after>
Skills updated: \x3Clist>
Already current: \x3Clist or count>
Issues: \x3Cnone or short list>

Notes

  • Prefer openclaw cron over ad-hoc shell schedulers when the user wants in-product automation.
  • Prefer isolated cron jobs for maintenance tasks, but prefer current-session binding when the user expects the summary back in the same chat.
  • When ClawHub rate limits are likely, prefer openclaw skills update \x3Cslug> one by one before resorting to --all.
  • If a command requires user approval or elevated access, stop and ask.
  • If the user only asked to install this skill, do not create the cron job automatically.
安全使用建议
This skill is an instruction-only helper for the OpenClaw CLI and is internally consistent. Before installing or running it, confirm that: (1) you have the openclaw CLI available and understand the openclaw cron commands it will run, (2) you want persistent cron jobs created on your system (the templates create scheduled tasks), (3) you prefer automatic skill updates but keep core OpenClaw updates opt-in unless you explicitly allow full auto-updates, and (4) any job creation is performed with appropriate user consent and permissions. If you want stronger control, instruct the agent to only produce the cron commands for you to review/run manually rather than creating jobs autonomously.
功能分析
Type: OpenClaw Skill Name: auto-updater-openclaw Version: 1.0.1 The skill bundle is a legitimate utility designed to automate updates for the OpenClaw platform and its installed skills using native CLI commands (e.g., 'openclaw update' and 'openclaw cron'). The instructions in SKILL.md and the examples in references/cron-examples.md provide clear, safety-conscious guidance for the agent, such as prioritizing skill updates over core updates and handling API rate limits gracefully. No evidence of data exfiltration, malicious persistence, or unauthorized command execution was found.
能力评估
Purpose & Capability
Name/description match the SKILL.md: instructions only call native openclaw commands and cron scheduling. There are no unrelated env vars, binaries, or installs requested.
Instruction Scope
Runtime instructions are limited to running openclaw commands and creating cron jobs (using openclaw cron or standard cron). The skill explicitly avoids legacy tools and requires user approval for elevated actions. It does not instruct reading unrelated files or exfiltrating data.
Install Mechanism
No install spec and no code files — nothing is downloaded or written by the skill itself. This is the lowest-risk model for a helper that documents CLI usage.
Credentials
The skill requests no environment variables, credentials, or config paths. All suggested actions use local openclaw commands and cron; no external secrets are required.
Persistence & Privilege
The skill recommends creating cron jobs (persistent scheduled tasks) using openclaw cron. This is expected for an auto-updater but means the agent (or user) will create persistent system jobs; the skill itself is not marked always:true and requests no elevated credentials in the bundle.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-updater-openclaw
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-updater-openclaw 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Improve OpenClaw-native update guidance based on real-world use: prefer gentler per-skill updates before falling back to openclaw skills update --all, document ClawHub 429 handling, add current-session summary guidance, and refine cron examples for lower-friction maintenance.
v1.0.0
Initial public release. OpenClaw-native auto-updater skill with cron-based skill maintenance guidance, current-session reporting guidance, and gentler per-skill update strategy for ClawHub rate limits.
元数据
Slug auto-updater-openclaw
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

OpenClaw Auto-Updater 是什么?

Automatically keep OpenClaw and installed workspace skills up to date using native OpenClaw commands. Use when the user wants automatic update checks, schedu... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 178 次。

如何安装 OpenClaw Auto-Updater?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-updater-openclaw」即可一键安装,无需额外配置。

OpenClaw Auto-Updater 是免费的吗?

是的,OpenClaw Auto-Updater 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

OpenClaw Auto-Updater 支持哪些平台?

OpenClaw Auto-Updater 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(win32, linux, darwin)。

谁开发了 OpenClaw Auto-Updater?

由 ZDY2019(@zdy2019)开发并维护,当前版本 v1.0.1。

💬 留言讨论