Get the FREE Ultimate OpenClaw Setup Guide →
p

Auto Updater 1.0.0

Scanned

@pntrivedy

npx machina-cli add skill @pntrivedy/auto-updater-1-0-0 --openclaw
Files (1)
SKILL.md
3.2 KB

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:

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

OptionDefaultDescription
Time4:00 AMWhen to run updates (use --cron to change)
TimezoneSystem defaultSet with --tz
DeliveryMain sessionWhere to send the update summary

How Updates Work

Clawdbot Updates

For npm/pnpm/bun installs:

npm update -g clawdbot@latest
# or: pnpm update -g clawdbot@latest
# or: bun update -g clawdbot@latest

For source installs (git checkout):

clawdbot update

Always run clawdbot doctor after updating to apply migrations.

Skill Updates

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:

clawdhub update --all --dry-run

View current skill versions:

clawdhub list

Check Clawdbot version:

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:

clawdbot cron remove "Daily Auto-Update"

Or disable temporarily in config:

{
  "cron": {
    "enabled": false
  }
}

Resources

Source

git clone https://clawhub.ai/pntrivedy/auto-updater-1-0-0View on GitHub

Overview

Auto-Updater sets up a daily cron job to check for and apply updates to Clawdbot and all installed skills, then sends a summary of changes. This helps keep your bot ecosystem current without manual intervention.

How This Skill Works

A daily cron entry is created (default 4:00 AM in America/Los_Angeles) to run updates. It updates Clawdbot (via npm/pnpm/bun global update or clawdbot update for source installs), updates all installed skills (clawdhub update --all), and delivers a summary message. After updates, you should run clawdbot doctor to apply migrations.

When to Use It

  • You want automatic, daily updates for Clawdbot and every installed skill without manual checks.
  • You manage multiple skills and want centralized updates triggered on a schedule.
  • You rely on cron-based maintenance and prefer hands-off upkeep.
  • You want a readable, delivered summary showing exactly what changed after updates.
  • You need to verify post-update migrations and version changes promptly.

Quick Start

  1. Step 1: Ask Clawdbot to set up daily auto-updates for yourself and all your skills.
  2. Step 2: Or manually add the cron using: 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."
  3. Step 3: Verify the cron is configured and observe the delivery of the update summary after each run.

Best Practices

  • Ensure cron is enabled and the default or configured time (cron and tz) matches your environment.
  • Confirm Gateway is running continuously so cron tasks execute reliably.
  • Check for the cron job with clawdbot cron list to verify it exists.
  • Use clawdhub update --all --dry-run to preview updates before applying.
  • After updates, run clawdbot doctor to apply migrations and maintain consistency.

Example Use Cases

  • Daily Auto-Update completes: Clawdbot updated to v2026.2.0 and 3 skills updated; summary delivered.
  • Daily Auto-Update runs but only skills updated; Clawdbot remained at the same version; summary lists updated skills.
  • All skills already current: summary shows Skills Already Current (5) and no changes.
  • Dry-run shows pending updates without applying; user reviews changes before proceeding.
  • Auto-updates disabled temporarily by removing the cron job; a manual update can be run instead.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers ↗