/install ayao-updater
OpenClaw Auto Update
Keeps OpenClaw and installed ClawHub skills up to date automatically.
Prerequisites
openclawCLI — required foropenclaw update,openclaw gateway restart, and notificationsclawhubCLI — required forclawhub list,clawhub inspect, andclawhub updatepython3— required for loadingconfig.jsonbash4+ — required by the shell scripts for associative arrays and other modern Bash features
Quick Start
1. Install cron job (runs daily at 2 AM by default)
bash ~/.openclaw/workspace/skills/openclaw-auto-update/scripts/install-cron.sh
2. Run manually now
bash ~/.openclaw/workspace/skills/openclaw-auto-update/scripts/update.sh
3. Preview what would be updated (no changes)
bash ~/.openclaw/workspace/skills/openclaw-auto-update/scripts/update.sh --dry-run
Configuration
Create ~/.openclaw/workspace/skills/openclaw-auto-update/config.json:
{
"schedule": "0 2 * * *",
"skipSkills": [],
"skipPreRelease": true,
"restartGateway": true,
"notify": true,
"notifyTarget": null
}
See references/config-schema.md for all options and examples.
What It Does
- Loads JSON config — reads
config.jsonwithpython3and merges defaults - Updates OpenClaw — runs
openclaw update --yes --no-restart; in preview mode it logs the equivalentopenclaw update --dry-run --yes --no-restartcommand without making changes - Finds installed skills — enumerates skills via
clawhub list, with workspace directory fallback - Checks release channel — uses
clawhub inspect \x3Cslug>to skip pre-releases whenskipPreRelease: true - Updates skills — runs
clawhub update \x3Cslug> --no-inputfor each eligible installed skill; in preview mode it only logsclawhub update --allbecause the installedclawhubCLI does not support update dry runs - Protects local changes — skips skills with uncommitted git changes
- Respects skip list — never touches skills in
skipSkills - Restarts gateway — only if OpenClaw version actually changed
- Notifies — sends
openclaw message send --target \x3Ctarget> -m \x3Cmessage>whennotifyTargetis set, otherwiseopenclaw system event --text \x3Cmessage> --mode now
Change Schedule
# Change to 3 AM weekly on Sunday
bash ~/.openclaw/workspace/skills/openclaw-auto-update/scripts/install-cron.sh --schedule "0 3 * * 0"
# Uninstall cron job
bash ~/.openclaw/workspace/skills/openclaw-auto-update/scripts/install-cron.sh --uninstall
Logs
tail -f /tmp/openclaw-auto-update.log
Skip a Specific Skill Permanently
Add to config.json:
{ "skipSkills": ["my-custom-skill", "work-internal"] }
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ayao-updater - After installation, invoke the skill by name or use
/ayao-updater - Provide required inputs per the skill's parameter spec and get structured output
What is Ayao Updater?
Automatically updates OpenClaw and installed skills on a configurable schedule, handling package manager detection, local changes, and notifications. It is an AI Agent Skill for Claude Code / OpenClaw, with 173 downloads so far.
How do I install Ayao Updater?
Run "/install ayao-updater" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Ayao Updater free?
Yes, Ayao Updater is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Ayao Updater support?
Ayao Updater is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Ayao Updater?
It is built and maintained by ayao99315 (@ayao99315); the current version is v1.0.2.