# auto-updater

This skill schedules nightly OpenClaw updates through cron and a standalone shell script. Use it when the agent must keep its OpenClaw version current.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1200 installs
- Author: Teylersf
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Teylersf/openclaw-auto-updater/tree/HEAD/SKILL.md
- Updated: 2026-02-18
- HTML: https://affpapa.org/en/nevibecode/skills/auto-updater

## What it does

auto-updater creates a daily cron task for OpenClaw maintenance. At the scheduled time, a separate shell script stops the gateway, runs `openclaw update.run`, and starts the gateway again. The script runs outside the agent, so the gateway restart does not stop the update flow.

You can ask the agent to change the scheduled time or run the update on demand. Output is written to `~/openclaw-update.log`. The standalone script is required here because an update launched by the agent would be interrupted while the gateway restarts.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Teylersf/openclaw-auto-updater --skill auto-updater -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/auto-updater/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/auto-updater/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Teylersf/openclaw-auto-updater --skill auto-updater -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/auto-updater/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Teylersf/openclaw-auto-updater --skill auto-updater -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/auto-updater/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Teylersf/openclaw-auto-updater auto-updater
```

2. **Manually: put the files in place**
- File: `.github/skills/auto-updater/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Teylersf/openclaw-auto-updater --skill auto-updater -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Teylersf/openclaw-auto-updater
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/auto-updater/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Teylersf/openclaw-auto-updater --skill auto-updater -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Teylersf/openclaw-auto-updater/tree/HEAD/SKILL.md

## When to use it
- schedule nightly OpenClaw updates
- stop and restart the gateway around an update
- change the cron run time
- run an update manually
- inspect the update log

## Example prompts
- Set up `auto-updater` for nightly OpenClaw updates.
- Change the update time to 4 AM.
- Run the OpenClaw update now.

## Similar
- [macos-auto-update](https://affpapa.org/en/nevibecode/skills/macos-auto-update.md) — skill · 560 installs
- [openclaw-audit-watchdog](https://affpapa.org/en/nevibecode/skills/openclaw-audit-watchdog.md) — skill · 751 installs
- [token-optimizer](https://affpapa.org/en/nevibecode/skills/d4kooo-token-optimizer.md) — skill · 495 installs
- [dependency-updater](https://affpapa.org/en/nevibecode/skills/dependency-updater.md) — skill · 136 installs
- [openclaw-config](https://affpapa.org/en/nevibecode/skills/openclaw-config.md) — skill · 2800 installs
- [crontap-heartbeat-for-cron](https://affpapa.org/en/nevibecode/skills/crontap-heartbeat-for-cron.md) — skill · 883 installs

## Other versions with the same name
- [auto-updater · anthropics](https://affpapa.org/en/nevibecode/skills/anthropics-auto-updater.md) — 621 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
