其他

auto-updater

teylersf/opencl…-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.

  • 1234 次安装
  • 收录于

安装命令

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

SKILL.md

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