auto-updater
Automatically update OpenClaw every night. Use when the user wants their agent to stay up-to-date with the latest OpenClaw version. Runs a cron job that stops the gateway, runs the update, and restarts. Triggered when user mentions: "update yourself", "auto update", "nightly update", "keep updated", "self update", or any variation of updating the agent.
How do I install this agent skill?
npx skills add https://github.com/teylersf/openclaw-auto-updater --skill auto-updaterIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
This skill automates the system update process by creating a persistent scheduled task (cron job). While the behavior is consistent with its stated purpose of an auto-updater, the use of persistence mechanisms and automated execution of remote code (via the update command) poses a inherent security risk if the update source or the local script is compromised.
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · No issues
- Runlayerwarn
3/3 files flagged
What does this agent skill do?
Auto-Updater Skill
This skill keeps OpenClaw updated by running a nightly cron job that executes an external shell script — so the update works even when the gateway restarts.
Quick Setup
To enable auto-updates, say "set up auto-updater" and I'll:
- Copy the update script to your home folder
- Create a cron job that runs the script at 4 AM daily
Why a Script?
The agent can't run commands while the gateway is restarting. We use a standalone shell script that runs independently of the agent.
The Update Script
#!/bin/bash
# OpenClaw Auto-Updater
openclaw gateway stop
openclaw update.run
openclaw gateway start
Change Update Time
Tell me "change update time to [time]" and I'll update the cron schedule.
Manual Update
Say "update yourself now" and I'll run the script immediately.
Troubleshooting
Check the log file: ~/openclaw-update.log
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/teylersf/openclaw-auto-updater/auto-updater">View auto-updater on skillZs</a>