{"skill":{"slug":"openclaw-update-skill","displayName":"Openclaw Update","summary":"Check for OpenClaw updates, perform updates, and manage version status. Provides automatic update checking, version comparison, and seamless updating of the...","description":"---\nname: openclaw-update\ndescription: Check for OpenClaw updates, perform updates, and manage version status. Provides automatic update checking, version comparison, and seamless updating of the OpenClaw agent platform.\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"requires\": { \"bins\": [\"openclaw\"] },\n        \"install\":\n          [\n            {\n              \"id\": \"openclaw-update-skill\",\n              \"kind\": \"skill\",\n              \"path\": \"skills/openclaw-update\",\n              \"label\": \"OpenClaw Update Skill\",\n            },\n          ],\n      },\n  }\n---\n\n# OpenClaw Update Skill\n\nA skill for checking and applying OpenClaw updates.\n\n## Commands\n\n### Check Status\n\nCheck the current OpenClaw version and available updates:\n\n```bash\nopenclaw update status\nopenclaw update status --json\n```\n\n### Run Update (pnpm)\n\nUpdate OpenClaw using pnpm (for pnpm installations):\n\n```bash\n# Check current version\npnpm list -g openclaw\n\n# Update to latest version\npnpm add -g openclaw\n\n# Restart gateway after update\nopenclaw gateway restart\n```\n\n### Gateway Management\n\nRestart OpenClaw gateway after update:\n\n```bash\nopenclaw gateway restart\nopenclaw gateway status\n```\n\n## pnpm Upgrade Workflow\n\nFor pnpm-installed OpenClaw:\n\n```bash\n# 1. Check current version\npnpm list -g openclaw\n\n# 2. Update to latest\npnpm add -g openclaw\n\n# 3. Restart gateway\nopenclaw gateway restart\n\n# 4. Verify update\nopenclaw update status\n```\n\n## Use Cases\n\n- **Automatic update checks**: Configure cron jobs for periodic update checks\n- **Version monitoring**: Monitor if a newer version is available\n- **Safe updates**: Check before updating to ensure compatibility\n- **Update history**: Track when updates were applied\n- **pnpm workflow**: Special commands for pnpm-based installations\n\n## Environment Variables\n\n- `OPENCLAW_UPDATE_CHECK_URL`: Override update check URL (optional)\n\n## Example Workflow\n\n```bash\n# Check for updates (human-readable output)\nopenclaw update status\n\n# Check for updates (JSON output for automation)\nopenclaw update status --json\n\n# For pnpm installations, use pnpm to update\npnpm add -g openclaw\n\n# Restart gateway after update\nopenclaw gateway restart\n```\n\n## Notes\n\n- Requires OpenClaw to be installed\n- Supports semantic versioning for version comparison\n- Provides detailed change logs when updating\n- Supports rollback if needed (check documentation)\n","tags":{"latest":"1.1.1"},"stats":{"comments":0,"downloads":2205,"installsAllTime":83,"installsCurrent":12,"stars":0,"versions":3},"createdAt":1771215279473,"updatedAt":1778491552996},"latestVersion":{"version":"1.1.1","createdAt":1771216099559,"changelog":"Removed local path reference","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"rothcold","userId":"s1782wb30b6t6s157hpqt7qv5588581b","displayName":"Rothcold","image":"https://avatars.githubusercontent.com/u/1788448?v=4"},"moderation":null}