Community程式設計與開發github.com

openclaw-release-ci

執行、監控、除錯並彙整 OpenClaw 完整版本的 CI 流程,包含版本檢查、即時提供者驗證、安裝/更新測試以及版本密碼預檢。

openclaw-release-ci 是什麼?

此技能專為 OpenClaw 的版本維護者設計,用於在釋出候選版本需要完整驗證時,自動化執行與監控 CI 流程。它支援多種平台,如 GitHub Actions,並可處理從預檢、派發到故障排除的完整工作流程。技能的核心優勢在於整合 1Password 安全讀取提供者密碼、透過摘要工具減少 REST API 呼叫以節省配額,以及精確區分即時提供者錯誤與程式碼錯誤。其工作原理是透過腳本進行提供者密碼預檢、利用特定 CLI 指令觸發 workflows,並提供結構化的故障排除步驟,最後記錄必要的證據。此技能能顯著提升版本發佈的可靠性與效率,同時避免誤觸配額限制或洩露敏感資訊。

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

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

在你喜歡的 AI 中提問

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

說明文件

OpenClaw 版本 CI

在需要對釋出候選版本進行完整驗證、安裝/更新測試、即時提供者檢查或 CI 恢復時,與 $openclaw-release-maintainer 和 $openclaw-testing 搭配使用。

防護措施

  • 未經明確操作者核准,不得進行版本號提升、標籤、npm 發布、GitHub 發行或版本推廣。
  • 在派發昂貴的完整版本矩陣前,先驗證提供者密碼。
  • 不要從未經驗證的 1Password 候選項設定 GitHub 密碼。如果候選項返回 401/403,請保留現有密碼並報告確切缺失的提供者。
  • 使用 $one-password 進行密碼讀取/寫入:一個持續的 tmux 工作階段,僅限目標項目,無密碼輸出。
  • 監控一個父執行與簡潔的子摘要。避免廣泛的 gh run view 輪詢迴圈;REST 配額很容易耗盡。
  • 僅擷取失敗或目前阻塞中任務的日誌。如果配額不足,停止輪詢並等待重置。
  • 將即時提供者問題與程式碼錯誤分開處理:在編輯程式碼前,證明金鑰有效性、提供者 HTTP 狀態、重試證據以及確切失敗的測試通道。

預檢

在完整版本驗證之前:

node .agents/skills/openclaw-release-ci/scripts/verify-provider-secrets.mjs --required openai,anthropic,fireworks
gh api rate_limit --jq '.resources.core'
git status --short --branch
git rev-parse HEAD

1Password 服務帳戶值是版本提供者預檢的第一個來源。請先注入這些確切的目標金鑰,然後執行驗證器;僅在此版本已刻意注入環境變數時才使用現有環境。該腳本只會列印提供者狀態和 HTTP 類別,絕不會顯示權杖。

派發

優先使用 main 分支上的信任工作流程,目標為確切的版本 SHA:

gh workflow run full-release-validation.yml \
  --repo openclaw/openclaw \
  --ref main \
  -f ref=<release-sha> \
  -f provider=openai \
  -f mode=both \
  -f release_profile=full \
  -f rerun_group=all

除非操作者明確要求廣泛的顧問提供者/媒體矩陣,否則使用 release_profile=stable。在進行針對性修正後,使用狹窄的 rerun_group。

監控

使用摘要輔助工具而非重複的原始輪詢:

node .agents/skills/openclaw-release-ci/scripts/release-ci-summary.mjs <full-release-run-id>

然後只在有用時進行監控:

gh run watch <full-release-run-id> --repo openclaw/openclaw --exit-status

在結束當前回合或切換策略前停止監控器。

故障排除

  1. 確認父 SHA 與子執行 ID。
  2. 僅列出失敗的任務:
    gh run view <child-run-id> --repo openclaw/openclaw --json jobs \
      --jq '.jobs[] | select(.conclusion=="failure" or .conclusion=="timed_out" or .conclusion=="cancelled") | [.databaseId,.name,.conclusion,.url] | @tsv'
    
  3. 擷取一個失敗任務的日誌。如果觸發速率限制,請記錄重置時間並避免更多 REST 呼叫。
  4. 對於看似密碼相關的失敗,在編輯程式碼前,從同一個密碼來源驗證提供者端點。
  5. 對於快取失敗,檢查是缺少/無效金鑰、空文字、提供者拒絕、超時還是基準遺漏。在沒有明確的提供者證據前,不要放寬版本閘道。
  6. 針對性修復,執行本機/已變更的測試,提交,推送,重新執行最小相符的群組。

證據

記錄:

  • 版本 SHA
  • 完整父執行 URL
  • 子執行 ID 與結論:CI、版本檢查、Plugin Prerelease、NPM Telegram
  • 目標本機測試指令
  • 提供者密碼預檢結果
  • 已知差距或不相關的失敗

如需經驗教訓與恢復模式,請參閱 references/release-ci-notes.md。

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.

相關技能