auto-updater-pro
Enhanced auto-updater with detailed logging, missed run recovery, and Gateway restart protection.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/newolf20000/auto-updater-proAuto-Updater Pro
Enhanced auto-updater with detailed logging, missed run recovery, and Gateway restart protection.
Version: 1.1.0 (Updated 2026-02-22)
What's New:
- ✅ Detailed logging at each step (prevents state loss on restart)
- ✅ Missed run recovery (auto-runs if Gateway was offline)
- ✅ 30-second delay after updates (prevents interruption)
- ✅ Email report support (less intrusive than chat messages)
- ✅ Better error handling and retry logic
Note: This is an enhanced version of the original auto-updater skill with production-ready features.
What It Does
This skill sets up a daily cron job that:
- Updates Clawdbot itself (via
clawdbot doctoror package manager) - Updates all installed skills (via
clawdhub update --all) - Messages you with a summary of what was updated
- New: Logs every step to prevent state loss on Gateway restart
- New: Auto-recovers if the scheduled time was missed
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."
Recommended Configuration (v1.1.0+)
For production use, add these settings to your cron job:
{
"schedule": {
"expr": "0 4 * * *",
"kind": "cron",
"tz": "Asia/Shanghai"
},
"missedRunPolicy": "run-immediately",
"payload": {
"kind": "agentTurn",
"message": "...",
"timeoutSeconds": 600
}
}
Key Settings:
missedRunPolicy: "run-immediately"- Auto-runs if Gateway was offline at scheduled timetimeoutSeconds: 600- Allow 10 minutes for updates to completetz: "Asia/Shanghai"- Set to your timezone
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 |
| Timeout | 300s | Recommended: 600s for npm updates |
| Missed Run | None | Recommended: run-immediately |
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
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-newolf20000-auto-updater-pro": {
"enabled": true,
"auto_update": true
}
}
}