laborany
基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
Safely update OpenClaw with pre-flight checks and rollback support. Use when updating OpenClaw, checking for updates, or recovering from a failed update. Handles workspace git commits, config backups, version rollback, and post-update verification.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install bigsan/openclaw-updater打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Safely update OpenClaw with automatic pre-flight safety checks and rollback capability.
Before running openclaw update, always run the pre-update script:
bash scripts/pre-update.sh
Optional: specify a backup script to run during pre-flight:
BACKUP_SCRIPT=~/repo/scripts/backup-openclaw.sh bash scripts/pre-update.sh
The script will:
workspace* directories under ~/.openclaw/
openclaw.json to /tmp/openclaw.json.bak
/tmp/openclaw-prev-version.txt
The update script sends success/failure notifications via Telegram Bot API (bypasses OpenClaw gateway, so it works even if the update breaks the gateway).
Create ~/.openclaw/.telegram-notify.env:
TELEGRAM_BOT_TOKEN=<your-bot-token>
TELEGRAM_CHAT_ID=<your-chat-id>
chmod 600 ~/.openclaw/.telegram-notify.env
The bot token is the same one used by your OpenClaw Telegram channel. Chat ID can be found via openclaw directory.
Run the full update with automatic pre-flight + notification:
bash scripts/update.sh
This will: pre-flight → update → wait for gateway → notify via Telegram.
After pre-flight passes:
openclaw update
After updating, verify:
openclaw status
openclaw gateway status
Check that:
If the update breaks something:
bash scripts/rollback.sh
The script will:
/tmp/openclaw-prev-version.txt
npm install -g openclaw@<version>
openclaw.json from backupIf the rollback scri...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# OpenClaw Updater Safely update OpenClaw with automatic pre-flight safety checks and rollback capability. ## Pre-Update Checklist Before running `openclaw update`, always run the pre-update script: ```bash bash scripts/pre-update.sh ``` Optional: specify a backup script to run during pre-flight: ```bash BACKUP_SCRIPT=~/repo/scripts/backup-openclaw.sh bash scripts/pre-update.sh ``` The script will: 1. Find all `workspace*` directories under `~/.openclaw/` 2. Git commit any uncommitted changes (init git if missing) 3. Back up `openclaw.json` to `/tmp/openclaw.json.bak` 4. Run the backup script if provided 5. Save the current version to `/tmp/openclaw-prev-version.txt` ## Telegram Notification Setup The update script sends success/failure notifications via Telegram Bot API (bypasses OpenClaw gateway, so it works even if the update breaks the gateway). Create `~/.openclaw/.telegram-notify.env`: ``` TELEGRAM_BOT_TOKEN=<your-bot-token> TELEGRAM_CHAT_ID=<your-chat-id> ``` ```bash chmod 600 ~/.openclaw/.telegram-notify.env ``` The bot token is the same one used by your OpenClaw Telegram channel. Chat ID can be found via `openclaw directory`. ## Update (with notification) Run the full update with automatic pre-flight + notification: ```bash bash scripts/update.sh ``` This will: pre-flight → update → wait for gateway → notify via Telegram. ## Update (manual) After pre-flight passes: ```bash openclaw update ``` ## Post-Update Verification After updating, verify: ```bash openclaw status openclaw gateway status ``` Check that: - Version shows the new release - Gateway is running - All agents are responsive ## Rollback If the update breaks something: ```bash bash scripts/rollback.sh ``` The script will: 1. Read the saved previous version from `/tmp/openclaw-prev-version.txt` 2. Install that version via `npm install -g openclaw@<version>` 3. Optionally restore `openclaw.json` from backup 4. Restart the gateway ### Manual Rollback If the rollback scri...
基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Reusable OpenClaw skill for remote Linux deployment with MiniMax M2.1 and Telegram bot setup
Bots learn, human earns, curated open claw playbook list and skill list for life long learners at https://botlearn.ai