Install
openclaw skills install self-updater⭐ OPEN SOURCE! GitHub: github.com/GhostDragon124/openclaw-self-updater ⭐ ONLY skill with Cron-aware + Idle detection! Auto-updates OpenClaw core & skills, an...
openclaw skills install self-updater⭐ The ONLY OpenClaw updater with Cron-aware + Idle detection!
Intelligent auto-updater that checks for updates while respecting your scheduled tasks.
| Feature | Other Updaters | This Skill |
|---|---|---|
| Cron-aware | ❌ | ✅ Avoids your scheduled tasks |
| Idle detection | ❌ | ✅ Waits for system idle |
| AI Risk Assessment | ❌ | ✅ Evaluates update impact |
| User Approval | ❌ | ✅ Confirms High-risk updates |
| Smart Notifications | ⚠️ Basic | ✅ Concise, channel-aware |
# Check for updates
powershell -ExecutionPolicy Bypass -File scripts/self-updater.ps1
# Auto-update with smart timing
powershell -ExecutionPolicy Bypass -File scripts/self-updater.ps1 -AutoUpdate -SmartTiming
# Full automation (for cron)
powershell -ExecutionPolicy Bypass -File scripts/self-updater.ps1 -AutoUpdate -SmartTiming -AutoApprove -Quiet
Evaluates 5 factors to calculate risk score:
| Factor | Weight | Description |
|---|---|---|
| Version Impact | 30% | Major/Minor/Patch |
| Skills Count | 25% | Number of skills to update |
| Gateway Restart | 20% | Restart impact |
| Time Since Update | 15% | Hours since last update |
| Cron Proximity | 10% | Distance to next task |
Risk Levels:
When risk is High:
Use -AutoApprove for unattended runs.
Pre-update (concise):
🔄 OpenClaw Update Check
• Core: 1.2.3 → 1.3.0 (Minor)
• Skills: 3 to update
• Risk: 🟡 Medium
Post-update:
✅ OpenClaw Updated
• Core: v1.3.0
• Skills: 3 updated
• Gateway: ✅ OK
Auto-detects: Telegram, Feishu
| Parameter | Default | Description |
|---|---|---|
| AutoUpdate | false | Apply updates automatically |
| SmartTiming | false | Wait for idle + check cron |
| AutoApprove | false | Skip approval (for cron) |
| NoNotify | false | Skip notifications |
| UpdateSkillsOnly | false | Update skills only |
| Port | auto | Gateway port |
| IdleThreshold | 5 | Minutes of idle to wait |
| CronLookAhead | 60 | Minutes to look ahead for tasks |
| MaxWait | 30 | Max wait time (minutes) |
~/.openclaw/openclaw.json (port only), ~/.openclaw/cron/jobs.json| Variable | Description |
|---|---|
TELEGRAM_BOT_TOKEN | Telegram bot token for notifications |
FEISHU_APP_ID | Feishu app ID for notifications |
FEISHU_APP_SECRET | Feishu app secret for notifications |
Note: This skill only reads the
gateway.portfrom config. No credentials are transmitted externally.
auto-update, maintenance, cron, smart-schedule, skills, gateway, restart, healthcheck, monitoring, ops, openclaw, updater, self-maintenance, ai-assessment, user-approval, notification