Upgrade Guard
UnverifiedSafe 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
Showing OpenClaw.
- 1
Run this in your terminal
terminal$ openclaw skills install upgrade-guard
What we know about this skill
Publisher
jzOcb
Taken from the source listing. We haven't verified who controls this account.
Install target
Pinned to 564468d4
Installs fetch a stored snapshot of that commit, so the code can't change after the fact.
Automated safety checks
This skill failed 2 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: api.telegram.org.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
127.0.0.1localapi.telegram.orgundeclaredWhat it found
- scripts/watchdog.sh:149contacts api.telegram.org
"https://api.telegram.org/bot${token}/sendMessage" \
No credential access: failed
Touches credential material in 1 place.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
What it found
- scripts/watchdog.sh:446browser cookie or password store
rm -f "$user_data/Login Data"* 2>/dev/null
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned jzocb/upgrade-guard at 564468d4b6.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 564468d4b6
- Manifest
- SKILL.md
- Scanned
- 6 files, 1,968 lines
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.