Install
openclaw skills install clawhub-smart-updaterClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Intelligently updates ClawHub skills weekly by detecting local changes, backing up, auto-merging safe updates, and flagging conflicts with detailed reports.
openclaw skills install clawhub-smart-updaterIntelligent ClawHub skill updater with smart merge capabilities. Preserves local modifications, detects conflicts, and provides detailed merge recommendations instead of blindly overwriting files.
Use this skill when:
| Feature | Smart Updater | auto-updater |
|---|---|---|
| Local change detection | ✅ Yes | ❌ No |
| Conflict detection | ✅ Yes | ❌ No |
| Automatic backup | ✅ Yes | ❓ Unknown |
| Merge recommendations | ✅ Yes | ❌ No |
| Update frequency | Weekly (safe) | Daily (risky) |
| Blind overwrite | ❌ Never | ⚠️ Likely |
# Install via ClawHub
clawhub install clawhub-smart-updater
# The skill installs:
# - smart-update.py (main updater script)
# - restore-backup.py (rollback tool)
# - config.json (configuration)
# Run smart update check
python skills/clawhub-smart-updater/smart-update.py
# This will:
# 1. Check all installed skills for updates
# 2. Backup current versions
# 3. Download new versions to temp
# 4. Compare and categorize changes
# 5. Generate report with recommendations
# Dry run (no changes)
python smart-update.py --dry-run
# Update specific skill
python smart-update.py --slug image-with-comfyui
# Force update (skip conflict detection)
python smart-update.py --force
# Verbose output
python smart-update.py --verbose
# Cleanup old backups
python smart-update.py --cleanup-backups --older-than 7
The skill is designed for OpenClaw cron jobs:
{
"cron": {
"jobs": [
{
"name": "Weekly Smart Update",
"schedule": {
"kind": "cron",
"expr": "0 10 * * 1",
"tz": "Europe/Prague"
},
"payload": {
"kind": "agentTurn",
"message": "Run smart-update.py --report and send summary to user"
},
"delivery": {
"channel": "whatsapp",
"to": "<YOUR_PHONE_NUMBER>"
}
}
]
}
}
clawhub list → Get installed skills
clawhub inspect <slug> → Get latest version
Compare: local_version vs latest_version
Copy-Item skills/<slug> skills/<slug>.backup-YYYY-MM-DD -Recurse
clawhub inspect <slug> --files --output temp/<slug>-new
Generate detailed report:
{
"backup": {
"enabled": true,
"retention_days": 7,
"directory": "skills/.backups"
},
"conflict": {
"auto_backup": true,
"generate_diff": true,
"require_manual_review": true
},
"notification": {
"enabled": true,
"channel": "whatsapp",
"target": "<YOUR_PHONE_NUMBER>",
"on_conflict_only": false
},
"update": {
"auto_apply_safe": true,
"auto_apply_conflicts": false,
"ignore_whitespace": true
}
}
## Smart Update Report - 2026-05-07
### ✅ Auto-Updated (2 skills):
- image-with-comfyui: 1.4.8 → 1.4.9 (docs only)
- moltbook-interact: 1.0.0 → 1.0.1 (bugfix)
### ⚠️ Manual Review Required (1 skill):
- fusion-bridge: 1.0.2 → 1.0.3
- Conflict in main.py (lines 45-67)
- See: temp/fusion-bridge/diff.txt
### Stats:
- Checked: 23 skills
- Updated: 2
- Conflicts: 1
- Backups cleaned: 3
### ⚠️ fusion-bridge: Conflict Detected
**Local changes:**
- Modified: main.py (custom error handling)
- Modified: SKILL.md (Czech translations)
**Upstream changes:**
- Fixed: main.py (bugfix in connect() function)
- Updated: README.md (new examples)
**Conflict:**
Both local and upstream modified main.py lines 45-67
**Recommendation:**
Manual merge required. Upstream bugfix is important, but preserve custom error handling.
**Actions:**
1. Review: temp/fusion-bridge/diff.txt
2. Merge manually
3. Run: python smart-update.py --accept fusion-bridge
restore-backup.pyCause: File locked by editor or process
Solution:
# Close editors using skill files
# Or force unlock
python smart-update.py --force-unlock
Cause: Old backups accumulating
Solution:
python smart-update.py --cleanup-backups --older-than 7
Cause: Whitespace changes detected
Solution:
python smart-update.py --ignore-whitespace
smart-update.py - Main updater scriptrestore-backup.py - Rollback toolconfig.json - ConfigurationSKILL.md - This documentationREADME.md - Extended documentationMIT-0 - Free to use, modify, and redistribute without attribution.
Klepeto 🦞 (vilda)
Created: 2026-05-07
Tested on: Windows 11, Python 3.12