Community程式設計與開發github.com

建立 Claw

將此代理程式轉換為可分享的 Claw,供他人審查與使用。

建立 Claw 是什麼?

此技能由 Control UI 在代理程式的主要對話中觸發,用於將代理程式打包成一個可重複使用的「Claw」供他人審查與使用。它會建立一個帶有唯一 `draftId` 的私有草稿,確保多個 Claw 建立流程彼此隔離。技能會引導代理程式從當前工作階段中提取可重複使用的角色、輸入、工作、輸出與權限範圍,並挑選相關的可攜帶指令與檔案,避免混入私密資訊。最終產出為結構化的 JSON 草稿與 `CLAW.md`,並交由 Control UI 開啟審查,支援 Cursor、Claude Code、Codex 等平台,透過指令列工具 `scripts/cli.mjs` 管理相依性。

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

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

在你喜歡的 AI 中提問

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

說明文件

建立 Claw 是做什麼的?

Control UI 在代理程式現有的主要對話中呼叫此手動技能。它會在發送訊息前準備一份私密草稿,並將該請求的 draftId 附加上下文。使用附加在此回合的 draftId,僅編輯 .openclaw/claw-drafts/<draftId>.json;切勿搜尋最新的草稿或共用指標。附加的上下文是請求專用的,因此重疊的 Claw 建立流程會保持隔離。保持內部路徑和 ID 不顯示在回覆中。在同一對話中工作;Control UI 在草稿準備好時會開啟套件審查,並擁有套件組裝與發佈的所有權。

  1. 擷取可重複使用的代理程式。 讀取目前草稿的 JSON。利用此對話和代理程式的持久指令,識別其一致的可重複使用角色、輸入、工作、輸出與權限。保留有用的行為與設定;移除個人背景資訊。如果職責無法形成一個連貫的 Claw,在編寫前先詢問要分享哪個職責。完成時,四個範圍欄位應描述一個可供新人使用的代理程式。
  2. 僅盤點相關材料。 選取可攜帶的工作空間指令與檔案來實作該角色。找到此 SKILL.md,並使用其 scripts/cli.mjs 進行盤點,以使 CLI 符合目前的 OpenClaw 安裝;當在技能目錄外時,使用絕對路徑呼叫。執行 node scripts/cli.mjs skills list --agent <此代理程式的 id> --json 與 node scripts/cli.mjs plugins list --enabled --json。將結果與此工作階段中實際可用的工具以及角色中所使用的能力進行比較。使用 node scripts/cli.mjs plugins inspect <id> --json 檢查候選項目的來源與確切版本。僅在能將技能或外掛對應到目前的 ClawHub 套件參考與確切版本時才宣告;單靠外掛可用性不是必要條件。將套件參考放入 packages,MCP 需求放入 mcpServers,有用的排程放入 cronJobs。這些宣告是相依性,而非複製到封存中的檔案。完成時,每個包含的檔案與宣告都必須有與可重複使用角色相關的理由。
  3. 撰寫提案。 遵循草稿格式。為新擁有者改寫指令。在草稿 scope 中包含輸入、工作、輸出與權限,並在 CLAW.md 中描述可攜帶的行為。僅將新撰寫的可攜帶文字放入 files,並在 manifest 中透過 source 對應包含的工作空間檔案。排除原始對話、記憶、USER.md、憑證、秘密值、私人 URL、本地路徑與個人事實。切勿複製來源工作空間樹。完成時,此回合草稿路徑下的 JSON 必須是有效的,且不包含私人來源材料。
  4. 移交審查。 簡短告訴使用者 Claw 的功能、包含哪些選用檔案/相依性,以及哪些能力您無法移植。不要列印內部草稿路徑或 ID、產生審查連結、上傳或發佈。Control UI 會開啟對精確建置封存的審查;使用者可以在那裡移除選用項目並明確發佈。完成時,審查即開啟。

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 when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

相關技能