auto-updater

$npx mdskill add jdrhyne/agent-skills/auto-updater

Automatically updates OpenClaw and selected skills daily.

  • Keeps OpenClaw and installed skills up to date without manual effort.
  • Uses npm for OpenClaw updates and clawhub for skill updates.
  • Runs via cron at a scheduled time each day.
  • Messages the user with a summary of what changed.

SKILL.md

.github/skills/auto-updaterView on GitHub ↗
---
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

More from jdrhyne/agent-skills

SkillDescription
autoresearch-loopDomain-agnostic metric-driven improvement loop, generalizing Karpathy's autoresearch. Use when you want an agent to discover what to measure for a project/goal, then run a keep-or-revert experiment loop that proposes changes, measures them against an objective, keeps wins, discards regressions, and records implemented improvements. Adapts to code perf-auditing, codegen, bug-finding, ad optimization, or any artifact + measurable objective + trial. Trigger: 'autoresearch this', 'find and implement improvements to X', 'discover metrics and optimize'.
clawdbot-release-checkCheck for new OpenClaw releases and notify once per new version.
clawddocsOpenClaw documentation expert with decision tree navigation, search scripts, doc fetching, version tracking, and config snippets for all OpenClaw features
command-creatorThis skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.
context-recoveryAutomatically recover working context after session compaction or when continuation is implied but context is missing. Works across Discord, Slack, Telegram, Signal, and other supported channels.
design-auditPremium UI/UX design auditor with Jobs/Ive philosophy. Use when reviewing, evaluating, or elevating existing UI — triggers on "audit my design", "review UI", "make it feel premium", "design review", "UX audit", "elevate the design", "Jobs/Ive style", or when asked to improve visual quality of an existing interface without changing functionality.
elegant-reportsGenerate beautifully designed PDF reports with a Nordic/Scandinavian aesthetic. Use when creating polished executive briefings, analysis reports, or presentation-style PDF outputs from markdown and HTML via Nutrient DWS.
ga4Query Google Analytics 4 (GA4) data via the Analytics Data API. Use when you need to pull website analytics like top pages, traffic sources, user counts, sessions, conversions, or any GA4 metrics/dimensions. Supports custom date ranges and filtering.
gallery-scraperBulk download images from login-protected gallery websites using an attached browser session. Use when asked to scrape, download, or save images from authenticated gallery pages, extract full-size images from thumbnails, or batch download from multi-page galleries.
gongGong API for searching calls, transcripts, and conversation intelligence. Use when working with Gong call recordings, sales conversations, transcripts, meeting data, or conversation analytics. Supports listing calls, fetching transcripts, user management, and activity stats.