1Password CLIの導入と認証を確認し、保存したパスワードやAPIキーをコマンドや設定へ渡します。デスクトップ連携やサービスアカウントにも対応します。
- 1Password CLIを導入したいとき
- APIキーをコマンドに渡したいとき
- CIでサービスアカウント認証を使う
OpenClawのIssueやPRを点検するボットを運用し、報告の確認から修正ジョブの作成、権限や検証条件に沿った自動修正・マージまで扱います。
原文Use for all ClawSweeper work: OpenClaw issue/PR sweep reports, repair jobs, cloud fix PRs, @clawsweeper maintainer mention commands, trusted ClawSweeper-reviewed autofix/automerge, GitHub Actions monitoring, permissions, gates, and manual backfills.
インストール方法を見るOpenClawの保守ボットClawSweeperを使い、IssueやPR(コード変更の提案)の点検結果を確認し、修正ジョブを作成・実行します。GitHub Actionsの稼働状況や失敗原因を調べ、指摘の重要度、検証結果、次の対応を整理します。保守担当者の@clawsweeperコメントによる再レビュー、自動修正、自動マージも扱います。
蓄積した報告から対応対象を選びたいときや、修正処理が止まった理由を確認したいときに向いています。更新できない既存PRを引き継ぐ代替PRの作成にも対応し、元の作者へのクレジットを残します。
専用のGitHub App、認証設定、対象への権限が必要です。書き込みやマージの実行許可は初期状態で閉じており、変更には明示的な権限が必要です。自動マージは最新の変更に対するレビューとチェックなどの条件を満たした場合に限られます。未承認の脆弱性対応は専用のセキュリティ窓口へ回します。
この紹介文は、公開されている SKILL.md をもとに AI(Claude Haiku)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
ClawSweeper lives at ~/Projects/clawsweeper. It is the one OpenClaw
maintenance bot for sweeping, repair jobs, and guarded fix PRs.
Use this skill whenever asked about reports, findings, dispatch health,
repair/cloud PR creation, comment commands, automerge, permissions, or gates.
Inspect git status --short --branch in the ClawSweeper checkout. Status and
report requests stay read-only: use current reports and live read APIs when
freshness matters, without pulling or building just to inspect them.
For authorized implementation or execution, update a clean task-owned checkout and build only when the selected command needs it. Preserve unrelated edits and other operators' active workflows.
Use the ClawSweeper repo and the clawsweeper GitHub App. Use only
CLAWSWEEPER_* configuration for this automation. Do not use legacy apps,
variables, labels, or skills.
Required app setup:
CLAWSWEEPER_APP_CLIENT_ID: public app client ID for clawsweeper.CLAWSWEEPER_APP_PRIVATE_KEY: private key used only inside
actions/create-github-app-token steps.openclaw/clawsweeper for comment-router
re-review dispatch, workflow dispatch, run cancellation, and self-heal.Token boundary:
Hosted per-commit reports and commit Check Runs are retired. For the retained
offline review of a committed branch, use pnpm local-review -- --base main.
$autoreview --mode commit --commit <sha> remains a separate general-purpose
review path.
Issue/PR reports live at:
records/<repo-slug>/items/<number>.md
records/<repo-slug>/closed/<number>.md
Lead with counts, concrete findings, and report links. Do not post unsolicited GitHub comments from report-reading work. Public surfaces are markdown reports, durable ClawSweeper review comments, and optional checks.
PR reports include Codex /review-style reviewFindings with priority,
confidence, repository-relative file, and line range. Public PR comments show a
short Review findings: list when findings exist; full review comments,
evidence links, likely owners, and runtime details stay inside the collapsed
Review details block.
For a simple status request, read existing reports and bounded live workflow
state. Use pnpm run audit only for a requested full audit.
Reconciliation is a separate authorized mutation: bare pnpm run reconcile
moves/deletes report and work-plan files. Inspect its dry-run only when that
maintenance task is requested; do not run reconciliation during status/report
reads. Likewise, apply-decisions belongs to an explicitly authorized apply
workflow, beginning with its dry-run.
Create a job from issue/PR refs and a maintainer prompt:
pnpm run repair:create-job -- \
--repo openclaw/openclaw \
--refs 123,456 \
--prompt-file /tmp/clawsweeper-prompt.md
Create from an existing ClawSweeper report:
pnpm run repair:create-job -- \
--from-report ../clawsweeper/records/openclaw-openclaw/items/123.md
The job creator checks for an existing open PR, body match, or remote
clawsweeper/<cluster-id> branch before writing another job. Use --dry-run
to inspect. Use --force only after deciding the duplicate guard is stale.
Validate, commit, then dispatch:
pnpm run repair:validate-job -- jobs/openclaw/inbox/clawsweeper-openclaw-openclaw-123.md
pnpm run repair:dispatch -- jobs/openclaw/inbox/clawsweeper-openclaw-openclaw-123.md \
--mode autonomous \
--runner blacksmith-4vcpu-ubuntu-2404 \
--execution-runner blacksmith-16vcpu-ubuntu-2404 \
--model gpt-6-astra
Do not dispatch a just-created job before the job file is committed and pushed; the workflow reads the job path from GitHub.
For a useful but uneditable/stale/unsafe source PR, make the maintainer prompt explicit:
Treat #123 as useful source work. If the source branch cannot be safely updated
because it is uneditable, stale, draft-only, unmergeable, or unsafe, create a
narrow ClawSweeper replacement PR instead of waiting. Preserve the source PR
author as co-author, credit the source PR in the replacement PR body, and close
only that source PR after the replacement PR is opened.
The worker should emit repair_strategy=replace_uneditable_branch and list the
source PR URL in source_prs. The deterministic executor opens or updates
clawsweeper/<cluster-id>, adds non-bot source authors as Co-authored-by
trailers, and closes superseded source PRs only after replacement exists.
Change execution gates only under explicit authority for that window. Record the original state and any agreed restoration before changing it:
gh variable set CLAWSWEEPER_ALLOW_EXECUTE --repo openclaw/clawsweeper --body 1
gh variable set CLAWSWEEPER_ALLOW_FIX_PR --repo openclaw/clawsweeper --body 1
gh variable set CLAWSWEEPER_ALLOW_MERGE --repo openclaw/clawsweeper --body 1
gh variable set CLAWSWEEPER_ALLOW_AUTOMERGE --repo openclaw/clawsweeper --body 1
Restore a gate only when the authorized window includes that restoration and
its ownership/state still match. Otherwise leave it unchanged; another active
maintainer window may intentionally keep it at 1. Never reset all gates as
generic cleanup.
Important gates:
CLAWSWEEPER_ALLOW_EXECUTE: allows deterministic write lanes.CLAWSWEEPER_ALLOW_FIX_PR: allows branch repair/replacement PRs.CLAWSWEEPER_ALLOW_MERGE: allows merge-capable applicators.CLAWSWEEPER_ALLOW_AUTOMERGE: allows comment-router automerge.CLAWSWEEPER_COMMENT_ROUTER_EXECUTE: lets scheduled comment routing
post replies and dispatch repair.Prefer @clawsweeper comments for all maintainer-facing control. Slash
commands still parse as compatibility aliases, but examples and live guidance
should use mentions.
@clawsweeper status
@clawsweeper re-review
@clawsweeper review
@clawsweeper fix ci
@clawsweeper address review
@clawsweeper rebase
@clawsweeper autofix
@clawsweeper automerge
@clawsweeper approve
@clawsweeper explain
@clawsweeper stop
@clawsweeper <question or safe action request>
@clawsweeper[bot] re-review
@openclaw-clawsweeper fix ci
@openclaw-clawsweeper[bot] fix ci
Accepted aliases: review, re-review, rereview, review again,
rerun review, and run review. review and re-review dispatch a fresh
ClawSweeper issue/PR review without starting repair. fix ci,
address review, and rebase dispatch the
repair worker only for ClawSweeper PRs or PRs opted into
clawsweeper:autofix or clawsweeper:automerge. autofix runs the bounded
review/fix loop without merging. automerge runs the bounded review/fix/merge
loop, but draft PRs stay fix-only until GitHub marks them ready for review.
Freeform maintainer mentions such as @clawsweeper why did automerge stop?
or @clawsweeper: can you explain this failure? dispatch a read-only assist
review with the mention text as one-off instructions. The answer lands in the
next public ClawSweeper review comment. Action-looking prose does not directly
mutate GitHub; it must map to existing structured recommendations and pass the
normal deterministic gates.
Default accepted maintainers: OWNER, MEMBER, COLLABORATOR; fallback
repository permission accepts admin, maintain, or write. Contributor
comments are ignored without a reply.
Run router manually:
pnpm run repair:comment-router -- --repo openclaw/openclaw --lookback-minutes 180
pnpm run repair:comment-router -- --repo openclaw/openclaw --execute --wait-for-capacity
Scheduled routing stays dry unless
CLAWSWEEPER_COMMENT_ROUTER_EXECUTE=1.
@clawsweeper autofix opts an existing PR into the bounded review/fix loop.
@clawsweeper automerge opts an existing PR into the bounded review/fix/merge
loop. The router:
clawsweeper:autofix or clawsweeper:automerge;Missing changelog is never a review finding or merge blocker. CHANGELOG.md is release-only; record user-facing release-note context in the PR body or squash message, never edit the changelog for normal repairs.
If ClawSweeper passes while merge gates are closed, it labels
clawsweeper:merge-ready and comments instead of merging. @clawsweeper stop
adds clawsweeper:human-review.
When asked to create a PR and enable ClawSweeper automerge, do not
leave the local OpenClaw checkout on the PR branch. After the PR is created,
pushed, and the @clawsweeper automerge request is posted or otherwise
confirmed, return the local checkout to main and fast-forward it when the
working tree is clean:
git switch main
git pull --ff-only
If unrelated local edits or an in-progress rebase prevent switching, report the blocker instead of stashing, deleting, or overwriting work.
Repair caps:
CLAWSWEEPER_MAX_REPAIRS_PER_PR=10
CLAWSWEEPER_MAX_REPAIRS_PER_HEAD=1
Do not stage unapproved security-sensitive work for ClawSweeper Repair. Route vulnerability reports, CVE/GHSA/advisory work, leaked secrets/tokens/keys, plaintext secret storage, SSRF, XSS, CSRF, RCE, auth bypass, privilege escalation, and sensitive data exposure to central OpenClaw security handling.
For PRs explicitly opted into clawsweeper:autofix or
clawsweeper:automerge, security-sensitive review findings may dispatch
bounded repair, but merge remains blocked until a later exact-head review is
clean and the normal merge gates pass. Trust deterministic ClawSweeper security
markers, labels, and job frontmatter; do not infer security handling from vague
prose.
Receiver workflows:
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-cluster-worker.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
Target dispatcher:
gh run list --repo openclaw/openclaw --workflow "ClawSweeper Dispatch" \
--limit 8 --json databaseId,displayTitle,event,status,conclusion,headSha,url
For findings or failures, summarize:
Keep the broom small: one cluster, one branch, one PR, narrow proof, clear owner-visible evidence.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
1Password CLIの導入と認証を確認し、保存したパスワードやAPIキーをコマンドや設定へ渡します。デスクトップ連携やサービスアカウントにも対応します。
OpenClawへの自然な言葉の依頼をClaude Codeなどの外部コーディングエージェントへ振り分け、作業の開始や継続、スレッド内の会話をつなぐスキルです。
OpenClawにモデル提供サービスを追加し、実際の応答まで確認するスキル。認証情報は環境変数やファイルへの参照で扱い、設定の検証と結果報告も進めます。
AIエージェントの作業ログから、GitHubのPRやissueに添える記録を作ります。関連部分を絞り、機密情報を除いてプレビューと掲載を扱います。
macOSのApple Notesをエージェントから作成・検索・編集・削除し、フォルダ間の移動やHTML・Markdownへの書き出しを行うスキル。
Apple Remindersの予定付きToDoをMacから確認・追加・編集するスキル。リストの管理や完了・削除にも対応し、iPhoneやiPadで見るタスクを整理できます。