Community程式設計與開發github.com

openclaw-update

將既有的本機或遠端 OpenClaw Gateway 例行更新導向其安裝擁有者,並支援自動的工作階段恢復。若存在部署專用的技能,則優先使用那些技能。

openclaw-update 是什麼?

此技能「openclaw-update」專為既有的 OpenClaw Gateway 或 Claw 執行個體處理例行更新請求而設計。它能識別擁有者(包含主機、執行時期使用者、設定檔/狀態根目錄、服務、執行中的可執行檔/釋出版本),並根據擁有者的 runbook 選擇正確的更新路徑。支援的情境包括:典型的主幹開發版與 macOS 應用程式、透過操作者設定的團隊伺服器、容器化或宣告式安裝等其他受管部署,以及標準套件或單一使用者原始碼安裝。技能會強制執行鎖定機制、備份/遷移需求、恢復程序、通知策略及清理工作;避免在分隔管理的釋出版本或執行中的容器內套用標準 CLI 更新,也不會修改使用中的 Gateway 檔案。出現中斷時,工作階段會自動恢復(不應僅因代理程式、回覆或任務仍在作用中就再次提問),且技能會持續掌握明確的更新請求,直到完整驗證(包含正確的 SHA、RPC/健康檢查、已設定的通道及實際的 UI/資產載入)通過或遭遇明確的外部阻礙。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/.agents/skills/openclaw-update

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

更新 OpenClaw

用於一般性的既有 Claw/Gateway 更新請求。選擇既有的更新流程;不要建立另一個部署器或排程器。釋出驗證、發佈、全新安裝及不相關的主機不在這個流程範圍內。

解析擁有者

透過操作者設定及即時檢查來識別主機、執行時期使用者、設定檔/狀態根目錄、服務、執行中的可執行檔/釋出版本及更新擁有者。當前的儲存庫或 shell CLI 可能屬於另一個安裝。請將私密存取細節與狀態保留在公開成品之外。

讀取擁有者 runbook 並選擇相符的流程:

安裝類型更新路徑
典型的主幹開發版與 macOS 應用程式openclaw-live-updater
操作者設定的團隊伺服器update-team-server
其他受管部署部署專用的技能/runbook 及既有的擁有者,包含容器與宣告式安裝。
標準套件或單一使用者原始碼Updating 與 update CLI 契約,使用目標主機/設定檔上擁有的 CLI。

遵循所選流程的命令、鎖定機制、備份/遷移需求、恢復、通知策略及清理工作。請勿在分隔管理的釋出版本或執行中的容器內套用標準 CLI 更新,不要修改使用中的 Gateway 檔案,也不要覆蓋標記為髒 (dirty) 的工作目錄。

「最新版」會保留已設定的通道;明確要求「latest main」則會選擇開發原始碼流程(標準 CLI 使用 --channel dev)。預先檢視目標並回報實際的服務 SHA:開發預檢階段可能會選擇較舊的可建構提交。請勿自動接受未經核准的降級或外掛程式能力變更。

中斷與恢復

更新請求包含例行重新啟動及有邊界的中斷,需遵守部署政策。符合資格的工作階段會自動恢復。請勿僅因代理程式、回覆或任務仍在作用中就再次提問。 使用擁有者的優雅關閉與保留恢復能力的中斷方式。

任務取消、工作階段中止及佇列清除可能會捨棄工作;請勿使用這些方式來人為製造空閒或手動重播已恢復的回合。PTYs 無法存活。重新啟動恢復負責處理恢復行為及其限制。

如果擁有者缺少受控的中斷機制,請在範圍內回報或修補此缺口。請勿發明強制旗標、繞過持久性/相容性檢查,或重複詢問中斷核准問題。

貫徹執行

對於明確的更新請求,在忙碌延遲、失敗、回滾及恢復期間,持續掌握所有權,直到所選擁有者完全接受或出現具體的外部/存取阻礙需要外部行動為止。尊重使用者的暫停與取消。在結束時若仍有待辦工作未完成,請建立有效的完成/觀察路徑,或透過該擁有者支援的延續方式;無需等待下一個提示即可返回。如果不存在延續路徑,請說明該障礙,而非承諾一條不存在的路徑。僅靠既有的節奏或恢復的舊程序並不能完成請求。

將部署專用的恢復與目標選擇保留給連結的擁有者。在實際失敗路徑上確認可疑問題,針對已確認的永久性缺口改善更新指引,並在授權範圍內修復已確認的缺陷。在適當時使用隔離的工作樹與子代理程式;測試並審查修復內容,然後透過正常的 PR 審查、CI 及 scripts/pr 操作來提交修復。在驗證更新接受後繼續進行提交;持久化並不能授權繞過鎖定、保護機制或分支保護。

驗證

使用擁有者的驗證機制來證明預期的版本/提交正在服務中、RPC/健康檢查及已設定的通道運作正常,並且在啟用情況下 UI/資產能透過實際的入口載入。檢查啟動/恢復錯誤,但不要洩露機密資訊。請分別讀取原生部署結果與觀察者或包裝程式的結束狀態:成功的觀察者可能會回報一個延遲或失敗的更新。僅有建置、確認交接或健康的舊程序並不算完成。將詳細的收據保留為私密資訊;用一至三行簡短、友善的文字回報結果、下一步行動或確切的障礙,僅在有用時提供簡短的 SHA,不要重複記錄或完整的雜湊值。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相關技能