Keeps your OpenClaw agent current by running a nightly cron job at 4 AM that stops the gateway, pulls updates, and restarts everything. The clever bit is using an external shell script instead of internal commands, which matters because the agent can't execute anything while it's restarting itself. You just say "set up auto-updater" and it handles the script placement and cron configuration. You can change the schedule or trigger manual updates on demand. Honestly, this is one of those set-it-and-forget-it utilities that saves you from remembering to check for updates, though you'll want to keep an eye on that log file in case something breaks during a restart.

skills.sh installs
1.2K
last updated
Jul 14, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/teylersf/openclaw-auto-updater
First seen
Apr 16, 2026

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs