auto-updater · jdrhyne — Claude Code skill: what it does, how to install
auto-updater configures daily cron tasks to upgrade OpenClaw and installed ClawHub skills, sending a summary message with all applied changes.
MIT ★ 239 updated 2026-08-30
npx skills add jdrhyne/agent-skills --skill auto-updater -a claude-codeWhat auto-updater does
This skill registers a recurring cron job that checks for updates once per day. It updates the core OpenClaw package via npm, executes environment diagnostics, restarts the gateway, and runs clawhub update --all to refresh installed skills. Once finished, it reports what changed directly to the user.
Skill metadata restricts supported environments to macOS (darwin) and Linux. Without a persistent openclaw gateway process running in the background, cron tasks will not trigger. Write permissions to global installation directories are also mandatory to prevent npm update failures.
What it helps with
- automate daily scheduled updates for OpenClaw
- refresh all installed ClawHub skills in batch mode
- receive changelog summaries after updates finish
- trigger OpenClaw diagnostics and gateway restarts automatically
Example prompts for the agent
- Configure daily automated updates for OpenClaw and my installed skills.
- Show the status of the daily auto-update task in cron.
- Run a manual check and update all ClawHub skills now.
How to install auto-updater
1Skills CLI (Vercel)
npx skills add jdrhyne/agent-skills --skill auto-updater -a claude-code2Manually: put the files in place
~/.claude/skills/auto-updater/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/auto-updater/
1Skills CLI (Vercel)
npx skills add jdrhyne/agent-skills --skill auto-updater -a codex2Manually: put the files in place
.agents/skills/auto-updater/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add jdrhyne/agent-skills --skill auto-updater -a cursor2Manually: put the files in place
.cursor/skills/auto-updater/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install jdrhyne/agent-skills clawdbot/auto-updater/SKILL.md2Manually: put the files in place
.github/skills/auto-updater/SKILL.md1Skills CLI (Vercel)
npx skills add jdrhyne/agent-skills --skill auto-updater -a gemini-cli2Platform CLI
gemini skills install https://github.com/jdrhyne/agent-skills --path clawdbot/auto-updaterManually: put the files in place
.devin/skills/auto-updater/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about auto-updater
How to install auto-updater in Claude Code?
Run npx skills add jdrhyne/agent-skills --skill auto-updater -a claude-code in your terminal, or place the skill specification in ~/.claude/skills/auto-updater/SKILL.md.
What does the auto-updater skill do?
It schedules a daily cron job that updates the OpenClaw package, synchronizes all ClawHub skills to their newest releases, and sends an update log.
What operating systems are supported?
The skill metadata specifies Linux and macOS (darwin). A continuously running openclaw gateway service is required for the scheduled task to execute.
Source text
SKILL.md · MIT
---
name: auto-updater
description: "Automatically update OpenClaw and selected skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed."
metadata: {"version":"1.1.0","openclaw":{"emoji":"🔄","os":["darwin","linux"]}}
---
# Auto-Updater Skill
Keep OpenClaw and skills up to date automatically with daily update checks.
## What It Does
This skill sets up a daily cron job that:
1. Updates OpenClaw itself (via package manager)
2. Updates installed ClawHub skills (via `clawhub update --all`)
3. Sends a summary of what changed
## Setup
### Quick Start
Ask OpenClaw to set up the auto-updater:
```
Set up daily auto-updates for OpenClaw and installed skills.
```
Or manually add the cron job:
```bash
openclaw cron add \
--name "Daily Auto-Update" \
--cron "0 4 * * *" \
--tz "America/Los_Angeles" \
--session isolated \
--wake now \
--deliver \
--message "Run daily auto-updates: check for OpenClaw updates and update installed skills. Report what changed."
```
## How Updates Work
### OpenClaw Updates
For npm installs:
```bash
npm update -g openclaw@latest
```
After update, run health checks:
```bash
openclaw --profile default doctor --fix
openclaw gateway restart
```
### Skill Updates
```bash
clawhub update --all
```
This checks installed ClawHub skills and updates to latest versions.
## Manual Commands
Run a manual skill update:
```bash
clawhub update --all --no-input --force
```
List installed ClawHub skills:
```bash
clawhub list
```
Check OpenClaw version:
```bash
openclaw --version
```
## Troubleshooting
### Updates Not Running
1. Verify cron is enabled (`openclaw cron list`)
2. Ensure gateway is running continuously (`openclaw gateway status`)
3. Confirm cron entry exists and timezone is correct
### Common Failures
- **Permission errors**: ensure the OpenClaw user can write to install paths
- **Network errors**: verify internet connectivity
- **Broken plugin/provider state**: run `openclaw --profile default doctor --fix`
### Disable Auto-Updates
```bash
openclaw cron remove "Daily Auto-Update"
```
## Resources
- https://docs.openclaw.ai
- https://clawhub.com
© jdrhyne · MIT · jdrhyne/agent-skills
Similar skills
All skills for Agent setup: memory, context, orchestration →auto-updater by other authors comes first.