PluginBench
Skill
Review
Audit score 70

auto-updater

teylersf/openclaw-auto-updater

Automatically update OpenClaw nightly via cron job to keep your agent current.

What is auto-updater?

This skill sets up a nightly cron job that automatically stops the OpenClaw gateway, runs updates, and restarts it. Use it when you want your agent to stay up-to-date without manual intervention.

  • Runs a scheduled cron job at 4 AM daily (customizable) to update OpenClaw
  • Stops the gateway before updating and restarts it afterward
  • Executes updates via a standalone shell script independent of the agent process
  • Logs update activity to ~/openclaw-update.log for troubleshooting
  • Allows manual immediate updates on demand

How to install auto-updater

npx skills add https://github.com/teylersf/openclaw-auto-updater --skill auto-updater
Prerequisites
  • OpenClaw installed and configured
  • Cron daemon available on the system
  • Ability to execute shell scripts
Claude Code
Cursor
Windsurf
Cline

How to use auto-updater

  1. 1.Say 'set up auto-updater' to enable nightly updates at 4 AM
  2. 2.The skill copies the update script to your home folder and creates the cron job
  3. 3.To change the update time, say 'change update time to [time]'
  4. 4.To run an update immediately, say 'update yourself now'
  5. 5.Check ~/openclaw-update.log if you need to troubleshoot update issues

Use cases

Good for
  • Keep OpenClaw automatically updated with the latest version every night
  • Ensure your agent has the newest features and bug fixes without manual action
  • Run updates during off-peak hours (4 AM default) to minimize disruption
  • Trigger manual updates immediately when needed without waiting for the scheduled time
Who it's for
  • OpenClaw users who want hands-off maintenance
  • Teams running agents that need to stay current with upstream releases
  • Developers who prefer automated over manual update workflows

auto-updater FAQ

Why does the skill use a separate shell script instead of running commands directly?

The agent cannot execute commands while the gateway is restarting. A standalone script runs independently of the agent process, ensuring updates complete successfully.

What time does the cron job run by default?

The default is 4 AM daily, but you can customize it by asking to change the update time.

How do I check if updates are working?

Review the log file at ~/openclaw-update.log to see update history and any errors.

Can I manually trigger an update outside the scheduled time?

Yes, say 'update yourself now' to run the update script immediately.

Full instructions (SKILL.md)

Source of truth, from teylersf/openclaw-auto-updater.


name: auto-updater description: | 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.

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:

  1. Copy the update script to your home folder
  2. 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