Nightly cron-driven OpenClaw updater that stops the gateway, runs the update, and restarts it.

CCM score
42 of 100
skills.sh installs
1.2K
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scheduling and running OpenClaw updates nightly via a cron job that starts at 4 AM by default
  • Includes a standalone shell script (openclaw gateway stop, openclaw update.run, openclaw gateway start) that runs outside the agent
  • Supports changing the schedule on request and triggering an immediate update, with output logged to ~/openclaw-update.log
  • Designed for users who want their agent to stay current without manual update steps

Install

$ npx -y skills add teylersf/openclaw-auto-updater --skill auto-updater -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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

Details

Repository
github.com/teylersf/openclaw-auto-updater
Categories
DevOps & Cloud, Workflow Automation
First seen
Apr 16, 2026

Similar to Auto Updater

More DevOps & Cloud