← 返回
未分类 中文

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...
使用原生OpenClaw命令自动保持OpenClaw及已安装工作区技能为最新版本。适用于需要自动检查更新和定时更新的场景。
zdy2019 zdy2019 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 568
下载
💾 7
安装
1
版本
#latest

概述

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 <slug>
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 <slug> 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 <slug> 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 <before → after>
Skills updated: <list>
Already current: <list or count>
Issues: <none 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 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.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-03-31 07:37 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Free Ride - Unlimited free AI

shaivpidadi
管理OpenClaw的OpenRouter免费AI模型,自动按质量排名模型,配置速率限制备用方案,并更新opencla...
★ 471 📥 78,518
it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 31,061
it-ops-security

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,710