Skills Updater
by @thunder1743
Automatically detect, backup, and update OpenClaw skills using caching, retry logic, dry-run mode, and detailed upgrade reports.
clawhub install skills-updaterπ About This Skill
Skills Updater - ζθ½θͺε¨εηΊ§ε¨
θͺε¨ζ£ζ΅γε€δ»½εεηΊ§ OpenClaw ζθ½οΌζ―ζζΊθ½ηΌεγιθ―ζΊεΆγι’ζΌζ¨‘εΌεθ―¦η»ζ₯εγ
Automatically detect, update, and manage OpenClaw skills with intelligent caching, backup, and reporting.
Features
β Auto-detection β Scans all installed skills and detects available updates β Smart caching β 24h TTL cache reduces unnecessary API calls β Automatic backup β Creates dated backups before each update β Dry-run mode β Preview changes without modifying anything β Detailed reporting β Generates upgrade summaries to workspace/memory β Retry logic β Exponential backoff handles rate limits gracefully β Security hardened β No hardcoded secrets, proper SSL, secure permissions
Installation
clawhub install skills-updater
Usage
Check for updates (no API calls, uses cache)
python3 ~/.openclaw/skills/skills-updater/scripts/check-skill-updates.py --cache-only
Preview updates without making changes
python3 ~/.openclaw/skills/skills-updater/scripts/check-skill-updates.py --dry-run
Auto-upgrade all skills
python3 ~/.openclaw/skills/skills-updater/scripts/check-skill-updates.py --auto
Verbose output
python3 ~/.openclaw/skills/skills-updater/scripts/check-skill-updates.py --auto -v
How It Works
1. Scan Phase β Walks through all skill directories and reads version info
2. Cache Check β Looks up latest version from cached data (24h old or newer)
3. Detection β Identifies skills where current < latest
4. Backup β Creates timestamped folder copy of each skill before update
5. Update β Downloads and applies latest version from ClawHub
6. Report β Writes summary to ~/.openclaw/workspace/memory/skill-upgrades-YYYY-MM-DD.md
Safety
API Reference
Command-line Options
| Flag | Effect |
|------|--------|
| --cache-only | Use cached data, no API calls |
| --dry-run | Show what would update, don't do it |
| --auto | Perform actual updates with backups |
| -v, --verbose | Show detailed logs |
| -h, --help | Display help |
Exit Codes
0 β Success (updates found or completed)1 β Error (API/filesystem failure)2 β No updates availableBackup & Recovery
Updates create backups at:
~/Desktop/skill-backups/
βββ skill-name-1.0.0-20260325-094830/
βββ skill-name-1.0.0-20260325-120000/
βββ ...
To restore:
cp -r ~/Desktop/skill-backups/skill-name-VERSION-TIMESTAMP ~/.openclaw/skills/skill-name
Configuration
Edit top of script to customize:
SKILLS_DIRS = [...] # Where to look for skills
BACKUP_DIR = ... # Backup location
CACHE_TTL_HOURS = 24 # Cache validity period
MAX_RETRIES = 3 # Retry attempts for API
RETRY_DELAY_BASE = 2 # Base retry delay (seconds)
Performance
Tested performance metrics:
Troubleshooting
"Connection timeout"
--cache-only to work offline"Permission denied on backup"
~/Desktop/skill-backups/"Update failed but backup succeeded"
cp -r the backup folderLicense
MIT
Credits
Built by ηε© (Goason) for OpenClaw.
Latest Version: 1.1.0 Last Updated: 2026-03-29 Status: Production Ready β
π‘ Examples
Check for updates (no API calls, uses cache)
python3 ~/.openclaw/skills/skills-updater/scripts/check-skill-updates.py --cache-only
Preview updates without making changes
python3 ~/.openclaw/skills/skills-updater/scripts/check-skill-updates.py --dry-run
Auto-upgrade all skills
python3 ~/.openclaw/skills/skills-updater/scripts/check-skill-updates.py --auto
Verbose output
python3 ~/.openclaw/skills/skills-updater/scripts/check-skill-updates.py --auto -v
βοΈ Configuration
Edit top of script to customize:
SKILLS_DIRS = [...] # Where to look for skills
BACKUP_DIR = ... # Backup location
CACHE_TTL_HOURS = 24 # Cache validity period
MAX_RETRIES = 3 # Retry attempts for API
RETRY_DELAY_BASE = 2 # Base retry delay (seconds)
π Tips & Best Practices
"Connection timeout"
--cache-only to work offline"Permission denied on backup"
~/Desktop/skill-backups/"Update failed but backup succeeded"
cp -r the backup folder