Community编程与开发github.com

创建 Claw

将当前智能体转化为可共享的 Claw,供他人审查和使用。

创建 Claw 是什么?

此技能(create-claw)允许用户将当前运行的 AI 智能体(Agent)打包为一个可共享的“Claw”。它通过 Control UI 在当前对话中触发,创建一个私有草稿(draft),并利用草稿 ID 隔离不同创建过程。技能的核心步骤包括:识别智能体的可复用角色(输入、任务、输出、权限)、盘点相关的技能和插件依赖(基于 OpenClaw CLI 的精确版本)、编写可移植的 CLAW.md 指令,并最终生成一个不含私有信息(如凭证、本地路径)的 JSON 草稿。完成后,Control UI 会打开软件包审查界面,用户可移除可选项目并发布。此技能适用于 Claude Code、Cursor、Codex 等平台,强调工作流的隔离性、依赖的精确性以及源代码的隐私保护。

兼容平台✓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,在清单中通过 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.

相关技能