Community程式設計與開發github.com

ClawSweeper

檢查 ClawSweeper 報告、請求審查、診斷佇列或分派健康狀態,以及識別已退役的命令。

ClawSweeper 是什麼?

ClawSweeper 是一個自動化工具,用於審查 OpenClaw 儲存庫中的議題和拉取請求。其設計為唯讀操作,利用現有報告和即時 API,不進行拉取或建置。它支援透過 GitHub App 進行評論路由,並提供 `@clawsweeper review`、`@clawsweeper explain` 等命令。該技能已退役多個命令(如 `repair`、`autofix`、`automerge`),並維護保護性標籤以防止自動關閉。它嚴格遵循安全邊界,將漏洞報告引導至官方處理流程,並提供監控工作流程和佇列健康狀態的命令。

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

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

在你喜歡的 AI 中提問

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

說明文件

ClawSweeper 是做什麼的?

ClawSweeper 審查 OpenClaw 儲存庫中的議題和拉取請求。 其規範來源為 openclaw/clawsweeper。 請解析實際的本地簽出路徑,而非假設其路徑。

開始

在 ClawSweeper 簽出路徑中檢查 git status --short --branch。狀態和 報告請求保持唯讀:使用當前報告和即時讀取 API 以確保新鮮度, 無需僅為檢查而進行拉取或建置。

如需授權的實作或執行,請更新乾淨的任務所屬簽出 並僅在選定命令需要時才進行建置。保留不相關的編輯 和其他操作者的活躍工作流程。 在執行前請閱讀該簽出的 AGENTS.md。

一個機器人,一個應用程式

使用 clawsweeper GitHub 應用程式和當前的 CLAWSWEEPER_* 設定。 來源儲存庫擁有應用程式設定和權限。請勿為狀態請求變更憑證、 權限或執行閘道。

審查工作者會提出已剝離機密/令牌環境的發現結果。 確定性工作流程擁有評論、標籤和受控關閉提案。 審查結果並不授權單獨的變更操作。

託管的提交審查

託管的每次提交報告和提交檢查執行已退役。如需保留的離線 審查已提交分支,請使用 pnpm local-review -- --base main。 $autoreview --mode commit --commit <sha> 仍保留為獨立的通用審查 路徑。

掃描報告

標準的議題/PR 報告金鑰為:

records/<repo-slug>/items/<number>.md
records/<repo-slug>/closed/<number>.md

工作者儲存庫擁有當前記錄。在依賴本地副本前請確認其新鮮度。 以計數、具體發現和報告連結為主。 請勿在報告閱讀工作中發布未經請求的 GitHub 評論。

PR 報告包含 reviewFindings,其中包含優先順序、信心度、儲存庫相對 檔案和行範圍。公開評論顯示簡短的發現結果和摺疊的審查詳細資料。 請讀取持久結果,而非從標籤推斷覆蓋範圍。

對於簡單的狀態請求,請讀取現有報告和有限的即時工作流程 狀態。僅在請求完整審核時才使用 pnpm run audit。

調解是單獨的授權變更操作:純 pnpm run reconcile 移動/刪除報告和工作計畫檔案。僅在請求該維護任務時才檢查其 乾執行。同樣地,apply-decisions 屬於明確授權的套用工作流程, 從其乾執行開始。

維護者提及

優先使用支援的提及命令:

@clawsweeper review
@clawsweeper re-review
@clawsweeper explain
@clawsweeper stop
@clawsweeper help

review 和 re-review 請求新的唯讀議題/PR 審查。 explain 摘要當前狀態。審查命令可以包含唯讀焦點 上下文。任意的自由格式問題和動作請求不會啟動修復。

項目作者可以在自己的開放項目上使用 re-review 或 re-run。 路由器檢查當前評論身份和儲存庫權限。 僅憑儲存庫成員資格不足以建立命令權限。

stop 在移除舊的修復迴圈標籤之前建立人類審查保留。 讓該支援的命令擁有轉換權。請勿手動移除保護標籤 以複製它。

以乾執行啟動授權的評論路由任務:

pnpm run repair:comment-router -- --repo openclaw/openclaw --lookback-minutes 180

該命令預設為乾執行。除非 CLAWSWEEPER_COMMENT_ROUTER_EXECUTE=1,否則排程的路由保持乾模式。僅在授權的 路由任務中使用 --execute。請勿將閘道切換或重置為通用清理。

已退役的命令和受保護狀態

修復、自動修正、自動合併、議題實作、fix-ci、address-review、rebase 和 approve 命令已退役。@clawsweeper status 也已退役。 請使用 @clawsweeper explain。已移除的修復工作建立、驗證、分派 和執行器進入點已不可用。

如需授權的程式碼修復和上線,請遵循 維護者工作流程。 請勿將已退役的命令或標籤視為執行或合併權限。

現有的 clawsweeper:autofix 和 clawsweeper:automerge 標籤仍保護 項目免於自動關閉。請保留這些保留、活躍或未知所有者、 租約、鎖定、收據和復原證據。退役本身並不授權 清理或接管。剩餘的 repair: 工具支援審查、發布和維護。 其名稱不代表恢復修復執行。

安全邊界

將漏洞報告和敏感揭露事項路由至 OpenClaw 安全處理。 審查結果或已退役的修復標籤不代表放棄安全核准、 來源信任、必要審查或原生合併閘道。

監控

使用 審查錄取指南 區分接收成功與活躍審查。

接收者工作流程:

gh run list --repo openclaw/clawsweeper --workflow sweep.yml \
  --limit 12 --json databaseId,displayTitle,event,status,conclusion,createdAt,updatedAt,url
gh run list --repo openclaw/clawsweeper --workflow repair-comment-router.yml \
  --limit 12 --json databaseId,displayTitle,event,status,conclusion,createdAt,updatedAt,url
gh run list --repo openclaw/clawsweeper --workflow github-activity.yml \
  --limit 12 --json databaseId,displayTitle,event,status,conclusion,createdAt,updatedAt,url

目標分派器:

gh run list --repo openclaw/openclaw --workflow "ClawSweeper Dispatch" \
  --limit 8 --json databaseId,displayTitle,event,status,conclusion,headSha,url

讀取輸出

針對發現結果或失敗,請摘要:

  • 目標儲存庫、項目/PR、執行、報告金鑰
  • 結果、信心度、嚴重性、確切封鎖器
  • 受影響的檔案和驗證結果
  • 實際的變更權限和下一個確定性動作。

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.

相關技能