Upgrade Guard
Safe OpenClaw upgrades with snapshot, pre-flight checks, controlled upgrade steps, post-verification, and emergency rollback. Never lose your working system to a bad update again.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add upgrade-guard npx -- -y @trustedskills/upgrade-guard
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"upgrade-guard": {
"command": "npx",
"args": [
"-y",
"@trustedskills/upgrade-guard"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The upgrade-guard skill protects OpenClaw installations from breaking during upgrades. It creates snapshots of the system before an upgrade, performs pre-flight checks for potential issues like plugin renames or dependency breaks, and provides a rollback mechanism if the upgrade fails. This prevents data loss and ensures continued operation even when unexpected problems arise.
When to use it
- Before any OpenClaw version update: Run
upgrade-guardbefore performinggit pull && pnpm install. - When upgrading in production environments: The rollback feature is crucial for minimizing downtime during upgrades.
- To proactively identify upgrade risks: Use the
checkcommand to surface potential issues before applying an upgrade. - After a failed upgrade attempt: Quickly revert to a known working state using the
rollbackcommand.
Key capabilities
- System snapshotting (version, configuration, plugins, dependencies)
- Pre-upgrade validation checks (disk space, git status, config validity)
- Detection of plugin renames (e.g.,
clawdbottoopenclaw) - Automated upgrade process with rollback on failure
- Post-upgrade verification of key components (plugins, channels, models, gateway)
Example prompts
While this skill is primarily command-line driven, you might instruct an AI agent to:
- "Run the
upgrade-guard snapshotcommand before I update OpenClaw." - "Execute
upgrade-guard checkand report any potential upgrade issues." - "If the
upgrade-guard upgradefails, runupgrade-guard rollbackimmediately."
Tips & gotchas
- The skill relies on a clean Git repository before initiating an upgrade. Ensure all changes are committed or stashed beforehand.
- Regularly review the output of the
checkcommand to understand potential upgrade risks and adjust configurations accordingly.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Installing this skill downloads the exact code at commit 564468d4, not the current state of the repository. This prevents supply-chain attacks from unauthorized updates.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
Details
- Version
- v1.0.0
- License
- MIT
- Author
- jzOcb
- Installs
- 0
- Updated
- Feb 6, 2026
- Published
- Feb 4, 2026
🔓 Unverified
Not yet reviewed. Use with caution.
Install command fetches the verified snapshot, not the live repository.