mcpField
A
auto-updater

auto-updater

github.com/teylersfAgent workflows01.2k installsUpdated 36w ago
Repository

About auto-updater

auto-updater is an OpenClaw skill that schedules updates through a standalone shell script and nightly cron job. Running independently of the gateway lets the update continue while the gateway restarts.

Key features

  1. 01Standalone shell update script
  2. 02Daily 4 AM cron schedule
  3. 03Changeable update time
  4. 04Manual update trigger
  5. 05Update log troubleshooting

Use cases

  1. 01Scheduling routine OpenClaw updates
  2. 02Updating while the gateway restarts
  3. 03Changing the scheduled update time
  4. 04Checking logs after an update issue

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/teylersf/openclaw-auto-updater --skill auto-updater

After installing, type/auto-updaterin Claude Code to confirm it loaded.

Bundled filesREADME.mdupdate-openclaw.sh

Details

From the project README

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

Comments

Markdown supported