home / skills / z980944038-dev / openclawwdl / auto-updater-1.0.0

auto-updater-1.0.0 skill

/skills/auto-updater-1.0.0

This skill automates daily updates for Clawdbot and all installed skills, delivering a concise changelog.

npx playbooks add skill z980944038-dev/openclawwdl --skill auto-updater-1.0.0

Review the files below or copy the command above to add this skill to your agents.

Files (4)
SKILL.md
3.2 KB
---
name: auto-updater
description: "Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed."
metadata: {"version":"1.0.0","clawdbot":{"emoji":"šŸ”„","os":["darwin","linux"]}}
---

# Auto-Updater Skill

Keep your Clawdbot and skills up to date automatically with daily update checks.

## What It Does

This skill sets up a daily cron job that:

1. Updates Clawdbot itself (via `clawdbot doctor` or package manager)
2. Updates all installed skills (via `clawdhub update --all`)
3. Messages you with a summary of what was updated

## Setup

### Quick Start

Ask Clawdbot to set up the auto-updater:

```
Set up daily auto-updates for yourself and all your skills.
```

Or manually add the cron job:

```bash
clawdbot 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 Clawdbot updates and update all skills. Report what was updated."
```

### Configuration Options

| Option | Default | Description |
|--------|---------|-------------|
| Time | 4:00 AM | When to run updates (use `--cron` to change) |
| Timezone | System default | Set with `--tz` |
| Delivery | Main session | Where to send the update summary |

## How Updates Work

### Clawdbot Updates

For **npm/pnpm/bun installs**:
```bash
npm update -g clawdbot@latest
# or: pnpm update -g clawdbot@latest
# or: bun update -g clawdbot@latest
```

For **source installs** (git checkout):
```bash
clawdbot update
```

Always run `clawdbot doctor` after updating to apply migrations.

### Skill Updates

```bash
clawdhub update --all
```

This checks all installed skills against the registry and updates any with new versions available.

## Update Summary Format

After updates complete, you'll receive a message like:

```
šŸ”„ Daily Auto-Update Complete

**Clawdbot**: Updated to v2026.1.10 (was v2026.1.9)

**Skills Updated (3)**:
- prd: 2.0.3 → 2.0.4
- browser: 1.2.0 → 1.2.1  
- nano-banana-pro: 3.1.0 → 3.1.2

**Skills Already Current (5)**:
gemini, sag, things-mac, himalaya, peekaboo

No issues encountered.
```

## Manual Commands

Check for updates without applying:
```bash
clawdhub update --all --dry-run
```

View current skill versions:
```bash
clawdhub list
```

Check Clawdbot version:
```bash
clawdbot --version
```

## Troubleshooting

### Updates Not Running

1. Verify cron is enabled: check `cron.enabled` in config
2. Confirm Gateway is running continuously
3. Check cron job exists: `clawdbot cron list`

### Update Failures

If an update fails, the summary will include the error. Common fixes:

- **Permission errors**: Ensure the Gateway user can write to skill directories
- **Network errors**: Check internet connectivity
- **Package conflicts**: Run `clawdbot doctor` to diagnose

### Disabling Auto-Updates

Remove the cron job:
```bash
clawdbot cron remove "Daily Auto-Update"
```

Or disable temporarily in config:
```json
{
  "cron": {
    "enabled": false
  }
}
```

## Resources

- [Clawdbot Updating Guide](https://docs.clawd.bot/install/updating)
- [ClawdHub CLI](https://docs.clawd.bot/tools/clawdhub)
- [Cron Jobs](https://docs.clawd.bot/cron)

Overview

This skill automatically keeps Clawdbot and all installed skills up to date by running a daily cron job. It checks for new versions, applies updates, and sends a concise summary of what changed and any errors encountered. Setup is quick via a command or an in-app request, and schedule/timezone are configurable.

How this skill works

Each run performs three tasks: update Clawdbot itself (using package manager commands or the built-in update flow), run clawdhub to update every installed skill, and collect results into a human-readable summary message. The job is scheduled via the Clawdbot cron subsystem and can be configured for time, timezone, delivery session, and whether to wake the gateway. Failures are captured and included in the summary so you can act on permission, network, or package issues.

When to use it

  • You want daily automated maintenance for Clawdbot and skills with minimal manual work.
  • You manage many installed skills and need a central, regular update process.
  • You prefer a scheduled summary message instead of checking versions manually.
  • You want an easy way to enable or disable automated updates via cron.
  • You need a dry-run option to preview updates before applying them.

Best practices

  • Run the cron at off-peak hours (default 4:00 AM) to avoid interrupting active sessions.
  • Keep gateway running continuously so cron jobs can execute reliably.
  • Use isolated session delivery for updates that should not interrupt your main session.
  • Run clawdbot doctor after updates to apply migrations and resolve conflicts.
  • Test updates first with clawdhub update --all --dry-run if you manage critical workflows.

Example use cases

  • Schedule daily updates for a home automation gateway so skills stay current without manual intervention.
  • Manage a team deployment where multiple skills receive frequent releases and you need a daily audit.
  • Automatically update a single-user bot and receive a summary of applied changes each morning.
  • Temporarily disable auto-updates during a maintenance window and re-enable afterward.
  • Use the summary to create a changelog or ticket when an update introduces regressions.

FAQ

How do I change the update time or timezone?

Edit the cron entry with --cron to set the time and --tz for timezone, or recreate the cron job with the desired schedule.

Can I preview updates before they are applied?

Yes. Use clawdhub update --all --dry-run to list available updates without installing them.