[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77Q516D17B6MA5N9DDMY941":3,"skill-same:01M77Q516D17B6MA5N9DDMY941":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M77Q516D17B6MA5N9DDMY941","openclaw-upgrade-standard",null,"Safe OpenClaw upgrade procedure with backup, doctor fix, service migration, rollback, and post-upgrade testing. Prevents silent failures from Dashboard upgrades, entrypoint renames, and config breaking changes.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fopenclaw-upgrade-standard\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: openclaw-upgrade-standard\ndescription: Safe OpenClaw upgrade procedure with backup, doctor fix, service migration, rollback, and post-upgrade testing. Prevents silent failures from Dashboard upgrades, entrypoint renames, and config breaking changes.\nmetadata:\n  openclaw:\n    emoji: \"⬆️\"\n---\n\n# OpenClaw Upgrade Standard\n\nA battle-tested upgrade procedure for OpenClaw, born from a real production failure where a Dashboard upgrade silently broke Gateway communication (Telegram, WebChat) with no clear error message.\n\n**Use this skill when:** upgrading OpenClaw to a new version, planning a safe upgrade path, or recovering from a failed upgrade.\n\n## Why This Exists\n\nIn March 2026, a Dashboard-triggered upgrade from 2026.3.13 to 2026.3.22 caused:\n- Silent Gateway failure (Telegram showed \"typing\" but never delivered)\n- Dashboard used `pnpm` which wasn't installed\n- Gateway entrypoint renamed (`entry.js` → `index.js`) without service file migration\n- `openclaw doctor --fix` fixed config but NOT the systemd service file\n- Required backup restore to recover\n\nThis procedure prevents all of these issues.\n\n## Golden Rule\n\n**NEVER upgrade via the Dashboard.** Always use CLI.\n\n## Procedure\n\n### Step 1: Backup (2 min)\n\n```bash\nBACKUP_DIR=\"$HOME\u002F.openclaw\u002Fworkspace\u002Fbackups\u002Fopenclaw-upgrade-$(date -u +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BACKUP_DIR\"\n\n# Config + credentials + agents\ncp ~\u002F.openclaw\u002Fopenclaw.json \"$BACKUP_DIR\u002F\"\ncp -r ~\u002F.openclaw\u002Fcredentials \"$BACKUP_DIR\u002F\" 2>\u002Fdev\u002Fnull\ncp -r ~\u002F.openclaw\u002Fagents \"$BACKUP_DIR\u002Fagents\" 2>\u002Fdev\u002Fnull\n\n# Service file\ncp ~\u002F.config\u002Fsystemd\u002Fuser\u002Fopenclaw-gateway.service \"$BACKUP_DIR\u002F\" 2>\u002Fdev\u002Fnull\n\n# Version info\nopenclaw --version > \"$BACKUP_DIR\u002Fstate-info.txt\"\nnpm list -g openclaw >> \"$BACKUP_DIR\u002Fstate-info.txt\" 2>&1\n\necho \"Backup saved to: $BACKUP_DIR\"\n```\n\n### Step 2: Read Release Notes (5 min)\n\nCheck https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Freleases\n\n**Red flags to watch for:**\n- \"Breaking\" entries → config or plugin changes\n- Plugin SDK changes → can break Telegram\u002FDiscord\n- Entrypoint changes → service file needs update\n- Config\u002FState migration → may invalidate existing config\n\n### Step 3: Doctor Baseline (1 min)\n\n```bash\nopenclaw doctor 2>&1 | tee \"$BACKUP_DIR\u002Fdoctor-before.txt\"\n```\n\n### Step 4: Upgrade (3 min)\n\n```bash\n# ALWAYS use npm, never pnpm or Dashboard\nnpm update -g openclaw\n\n# Verify\nopenclaw --version\n```\n\n### Step 5: Doctor Fix (2 min)\n\n```bash\n# Check what needs migration\nopenclaw doctor\n\n# Apply fixes (config schema changes, deprecations)\nopenclaw doctor --fix\n```\n\n### Step 6: Fix Service Entrypoint (1 min)\n\n```bash\n# Check if entrypoint still matches\nCURRENT_ENTRY=$(grep ExecStart ~\u002F.config\u002Fsystemd\u002Fuser\u002Fopenclaw-gateway.service | grep -oP 'dist\u002F\\K[^\\ ]+')\nACTUAL_ENTRY=$(ls ~\u002F.npm-global\u002Flib\u002Fnode_modules\u002Fopenclaw\u002Fdist\u002Findex.js 2>\u002Fdev\u002Fnull && echo \"index.js\" || echo \"entry.js\")\n\nif [ \"$CURRENT_ENTRY\" != \"$ACTUAL_ENTRY\" ]; then\n  echo \"⚠️  Entrypoint mismatch: service=$CURRENT_ENTRY actual=$ACTUAL_ENTRY — fixing...\"\n  sed -i \"s|dist\u002F$CURRENT_ENTRY|dist\u002F$ACTUAL_ENTRY|g\" ~\u002F.config\u002Fsystemd\u002Fuser\u002Fopenclaw-gateway.service\n  echo \"✅ Fixed\"\nelse\n  echo \"✅ Entrypoint OK\"\nfi\n```\n\n### Step 7: Restart Gateway (1 min)\n\n```bash\nsystemctl --user daemon-reload\nsystemctl --user restart openclaw-gateway.service\nsleep 5\nsystemctl --user status openclaw-gateway.service\n```\n\n### Step 8: Test (5 min)\n\n| Test | Command \u002F Action | Expected |\n|---|---|---|\n| Gateway running | `systemctl --user status openclaw-gateway` | active (running) |\n| Version correct | `openclaw --version` | New version number |\n| Doctor clean | `openclaw doctor` | No \"invalid config\" errors |\n| WebChat | Send message in Dashboard | Response within 30s |\n| Telegram | Send message to bot | Response within 30s |\n| Agents listed | `openclaw status` | All agents shown |\n| Cron jobs | Check cron list | Jobs intact |\n\n### Step 9: Document (2 min)\n\n**Success:** Note version change + any fixes applied in your daily log.\n\n**Failure:** Save all evidence, then rollback:\n\n```bash\n# Capture evidence BEFORE rollback\nopenclaw doctor 2>&1 > \"$BACKUP_DIR\u002Fdoctor-failed.txt\"\njournalctl --user -u openclaw-gateway -n 200 > \"$BACKUP_DIR\u002Fgateway-logs-failed.txt\" 2>&1\nopenclaw --version >> \"$BACKUP_DIR\u002Ffailure-info.txt\"\n```\n\n## Rollback Procedure\n\n```bash\n# 1. Install previous version\nnpm install -g openclaw@\u003COLD_VERSION>\n\n# 2. Restore config\ncp \"$BACKUP_DIR\u002Fopenclaw.json\" ~\u002F.openclaw\u002Fopenclaw.json\ncp \"$BACKUP_DIR\u002Fopenclaw-gateway.service\" ~\u002F.config\u002Fsystemd\u002Fuser\u002F\n\n# 3. Restart\nsystemctl --user daemon-reload\nsystemctl --user restart openclaw-gateway.service\n\n# 4. Verify\nopenclaw --version\nopenclaw status\n```\n\n## Known Pitfalls\n\n| Problem | Cause | Fix |\n|---|---|---|\n| Dashboard upgrade fails | Uses pnpm (not installed) | Always use `npm update -g openclaw` |\n| Gateway won't start | Entrypoint renamed | Fix service file (Step 6) |\n| Config invalid | Schema breaking changes | `openclaw doctor --fix` |\n| Telegram silent | Gateway crashed or misconfigured | Check service status + logs |\n| \"first-time setup mode\" | Pairing state reset | Re-pair or check config |\n| Skills path errors | Skill paths changed | Re-check skill directories |\n\n## Filing a Bug Report\n\nIf the upgrade fails and rollback is needed, file a bug at `github.com\u002Fopenclaw\u002Fopenclaw\u002Fissues` with:\n1. OS, Node version, npm version\n2. Upgrade path (from → to)\n3. Install method (npm global \u002F pnpm \u002F other)\n4. `openclaw doctor` output (before and after)\n5. Gateway logs (`journalctl --user -u openclaw-gateway -n 200`)\n6. Steps to reproduce\n7. Whether rollback succeeded\n","# OpenClaw Upgrade Standard\n\nA battle-tested upgrade procedure for OpenClaw, born from a real production failure where a Dashboard upgrade silently broke Gateway communication (Telegram, WebChat) with no clear error message.\n\n**Use this skill when:** upgrading OpenClaw to a new version, planning a safe upgrade path, or recovering from a failed upgrade.\n\n## Why This Exists\n\nIn March 2026, a Dashboard-triggered upgrade from 2026.3.13 to 2026.3.22 caused:\n- Silent Gateway failure (Telegram showed \"typing\" but never delivered)\n- Dashboard used `pnpm` which wasn't installed\n- Gateway entrypoint renamed (`entry.js` → `index.js`) without service file migration\n- `openclaw doctor --fix` fixed config but NOT the systemd service file\n- Required backup restore to recover\n\nThis procedure prevents all of these issues.\n\n## Golden Rule\n\n**NEVER upgrade via the Dashboard.** Always use CLI.\n\n## Procedure\n\n### Step 1: Backup (2 min)\n\n```bash\nBACKUP_DIR=\"$HOME\u002F.openclaw\u002Fworkspace\u002Fbackups\u002Fopenclaw-upgrade-$(date -u +%Y%m%d-%H%M%S)\"\nmkdir -p \"$BACKUP_DIR\"\n\n# Config + credentials + agents\ncp ~\u002F.openclaw\u002Fopenclaw.json \"$BACKUP_DIR\u002F\"\ncp -r ~\u002F.openclaw\u002Fcredentials \"$BACKUP_DIR\u002F\" 2>\u002Fdev\u002Fnull\ncp -r ~\u002F.openclaw\u002Fagents \"$BACKUP_DIR\u002Fagents\" 2>\u002Fdev\u002Fnull\n\n# Service file\ncp ~\u002F.config\u002Fsystemd\u002Fuser\u002Fopenclaw-gateway.service \"$BACKUP_DIR\u002F\" 2>\u002Fdev\u002Fnull\n\n# Version info\nopenclaw --version > \"$BACKUP_DIR\u002Fstate-info.txt\"\nnpm list -g openclaw >> \"$BACKUP_DIR\u002Fstate-info.txt\" 2>&1\n\necho \"Backup saved to: $BACKUP_DIR\"\n```\n\n### Step 2: Read Release Notes (5 min)\n\nCheck https:\u002F\u002Fgithub.com\u002Fopenclaw\u002Fopenclaw\u002Freleases\n\n**Red flags to watch for:**\n- \"Breaking\" entries → config or plugin changes\n- Plugin SDK changes → can break Telegram\u002FDiscord\n- Entrypoint changes → service file needs update\n- Config\u002FState migration → may invalidate existing config\n\n### Step 3: Doctor Baseline (1 min)\n\n```bash\nopenclaw doctor 2>&1 | tee \"$BACKUP_DIR\u002Fdoctor-before.txt\"\n```\n\n### Step 4: Upgrade (3 min)\n\n```bash\n# ALWAYS use npm, never pnpm or Dashboard\nnpm update -g openclaw\n\n# Verify\nopenclaw --version\n```\n\n### Step 5: Doctor Fix (2 min)\n\n```bash\n# Check what needs migration\nopenclaw doctor\n\n# Apply fixes (config schema changes, deprecations)\nopenclaw doctor --fix\n```\n\n### Step 6: Fix Service Entrypoint (1 min)\n\n```bash\n# Check if entrypoint still matches\nCURRENT_ENTRY=$(grep ExecStart ~\u002F.config\u002Fsystemd\u002Fuser\u002Fopenclaw-gateway.service | grep -oP 'dist\u002F\\K[^\\ ]+')\nACTUAL_ENTRY=$(ls ~\u002F.npm-global\u002Flib\u002Fnode_modules\u002Fopenclaw\u002Fdist\u002Findex.js 2>\u002Fdev\u002Fnull && echo \"index.js\" || echo \"entry.js\")\n\nif [ \"$CURRENT_ENTRY\" != \"$ACTUAL_ENTRY\" ]; then\n  echo \"⚠️  Entrypoint mismatch: service=$CURRENT_ENTRY actual=$ACTUAL_ENTRY — fixing...\"\n  sed -i \"s|dist\u002F$CURRENT_ENTRY|dist\u002F$ACTUAL_ENTRY|g\" ~\u002F.config\u002Fsystemd\u002Fuser\u002Fopenclaw-gateway.service\n  echo \"✅ Fixed\"\nelse\n  echo \"✅ Entrypoint OK\"\nfi\n```\n\n### Step 7: Restart Gateway (1 min)\n\n```bash\nsystemctl --user daemon-reload\nsystemctl --user restart openclaw-gateway.service\nsleep 5\nsystemctl --user status openclaw-gateway.service\n```\n\n### Step 8: Test (5 min)\n\n| Test | Command \u002F Action | Expected |\n|---|---|---|\n| Gateway running | `systemctl --user status openclaw-gateway` | active (running) |\n| Version correct | `openclaw --version` | New version number |\n| Doctor clean | `openclaw doctor` | No \"invalid config\" errors |\n| WebChat | Send message in Dashboard | Response within 30s |\n| Telegram | Send message to bot | Response within 30s |\n| Agents listed | `openclaw status` | All agents shown |\n| Cron jobs | Check cron list | Jobs intact |\n\n### Step 9: Document (2 min)\n\n**Success:** Note version change + any fixes applied in your daily log.\n\n**Failure:** Save all evidence, then rollback:\n\n```bash\n# Capture evidence BEFORE rollback\nopenclaw doctor 2>&1 > \"$BACKUP_DIR\u002Fdoctor-failed.txt\"\njournalctl --user -u openclaw-gateway -n 200 > \"$BACKUP_DIR\u002Fgateway-logs-failed.txt\" 2>&1\nopenclaw --version >> \"$BACKUP_DIR\u002Ffailure-info.txt\"\n```\n\n## Rollback Procedure\n\n```bash\n# 1. Install previous version\nnpm install -g openclaw@\u003COLD_VERSION>\n\n# 2. Restore config\ncp \"$BACKUP_DIR\u002Fopenclaw.json\" ~\u002F.openclaw\u002Fopenclaw.json\ncp \"$BACKUP_DIR\u002Fopenclaw-gateway.service\" ~\u002F.config\u002Fsystemd\u002Fuser\u002F\n\n# 3. Restart\nsystemctl --user daemon-reload\nsystemctl --user restart openclaw-gateway.service\n\n# 4. Verify\nopenclaw --version\nopenclaw status\n```\n\n## Known Pitfalls\n\n| Problem | Cause | Fix |\n|---|---|---|\n| Dashboard upgrade fails | Uses pnpm (not installed) | Always use `npm update -g openclaw` |\n| Gateway won't start | Entrypoint renamed | Fix service file (Step 6) |\n| Config invalid | Schema breaking changes | `openclaw doctor --fix` |\n| Telegram silent | Gateway crashed or misconfigured | Check service status + logs |\n| \"first-time setup mode\" | Pairing state reset | Re-pair or check config |\n| Skills path errors | Skill paths changed | Re-check skill directories |\n\n## Filing a Bug Report\n\nIf the upgrade fails and rollback is needed, file a bug at `github.com\u002Fopenclaw\u002Fopenclaw\u002Fissues` with:\n1. OS, Node version, npm version\n2. Upgrade path (from → to)\n3. Install method (npm global \u002F pnpm \u002F other)\n4. `openclaw doctor` output (before and after)\n5. Gateway logs (`journalctl --user -u openclaw-gateway -n 200`)\n6. Steps to reproduce\n7. Whether rollback succeeded\n",{"name":5,"metadata":24,"description":7},{"openclaw":25},{"emoji":26},"⬆️","master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fo\u002Fopenclaw-upgrade-standard",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill openclaw-upgrade-standard",{"tool":42,"command":43},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill openclaw-upgrade-standard",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill openclaw-upgrade-standard","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fo\u002Fopenclaw-upgrade-standard\u002FSKILL.md",true,[],[51,58,65,72,79,86],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]