Install
openclaw skills install @carolz1/skill-builder制作、修改、优化或审查 Skill 的通用技能,跨平台、不绑定特定 AI 生态。当用户想「把重复工作流/想法做成 skill」「帮我做个 skill」「优化/审查一个 skill」「这个 skill 触发不了帮我看看」,或提到 skill 制作、skill 优化、skill 评分时使用。即使对方没有明确说「skill」这个词,只要在描述一个想固化下来的重复流程,也主动使用本技能。Build, modify, optimize, or review skills; use when the user wants to turn a repetitive workflow or idea into a skill, or to improve/review an existing skill.
openclaw skills install @carolz1/skill-builderA cross-platform guide for creating skills from scratch and improving existing ones. 跨平台的 Skill 制作器:从零做 skill,或优化已有 skill。
Before starting, silently probe the host's capabilities. Do not assume you have subagents, a CLI, a browser, or scripts. Each missing capability degrades to a fallback, never a hard failure. Do not report probe results to the user unless it materially changes the experience.
开始前静默探测宿主能力,不默认拥有子代理、CLI、浏览器或脚本。缺什么就降级,不报错。探测结果只在影响体验时才告诉用户。
| Capability 能力 | Has it 有 | Missing → fallback 无 → 降级 |
|---|---|---|
| Parallel subtasks 并行子任务 | 并行跑对照 | 串行跑两遍 |
| CLI model call CLI 模型调用 | 脚本优化触发词 | 用静态清单直接改(默认) |
| Browser/preview 浏览器/预览 | HTML 评测器 | 对话内联展示结果 |
| Python + filesystem Python+文件系统 | 跑打包/校验脚本 | 只给内容和手抄说明 |
默认走「轻量路径」。只有用户明确要生产级评测、benchmark、或 skill 属于「客观可验证输出」且要上生产时,才升到「完整路径」。用户随时可说「走轻量」或「走完整」切换。
Default to the light path. Upgrade to the full path only when the user wants production-grade evaluation, benchmarking, or the skill has objectively verifiable outputs going to production. The user can switch at any time.
Frequent back-and-forth questions annoy users. Follow these rules to keep it low-friction.
频繁反问会打扰用户。遵守以下规则保持低打扰:
First, extract intent from the conversation. The current conversation may already contain the workflow the user wants to capture (e.g. "turn this into a skill"). Extract tools used, step sequence, corrections made, and I/O formats observed. Then produce a one-shot structured confirmation — fill in defaults yourself, list them once, let the user correct in one pass.
先从对话里抓意图。对话里可能已经有用户想固化的流程(例如「把这个做成 skill」)。抽取用到的工具、步骤顺序、用户纠正、输入输出格式。然后一次性结构化确认——自己填好默认值,一次列出,让用户一轮改完。
我理解你要做 X,默认这样处理:
- 做什么:______
- 何时触发(用户说什么话):______
- 输出格式:______
- 测试:默认要/不要(按类型)
哪里不对直接说,一次改完。
Based on the confirmed intent, write the skill. Follow the structure and writing rules in references/skill-structure-guide.md. Read it before writing.
按确认的需求写 skill。先读 references/skill-structure-guide.md,遵循其目录结构、渐进披露和写作风格规则。
The description field is the primary trigger mechanism. Follow references/trigger-writing-guide.md to write a description with all four elements (what / when / capability / trigger phrases) and anti-undertrigger wording. Read it before writing.
description 是首要触发机制。先读 references/trigger-writing-guide.md,按四要素 + 反欠触发写法写 description。
Light path: read the SKILL.md yourself once, then verify with 1—2 real prompts that it would trigger and its steps are followable. No benchmark, no baseline comparison.
轻量路径:自己通读一遍 SKILL.md,再用 1—2 个真实 prompt 验证「能触发、步骤能走通」。不做 benchmark,不做对照。
Full path: see "Evaluation" below.
完整路径:见下方「评测」。
Run the checklist in references/quality-checklist.md. Light path does the core items; full path does all items.
跑 references/quality-checklist.md 的自检。轻量路径做核心项,完整路径做全部项。
When the user brings an existing skill draft or finished skill, don't re-ask "what do you want to make". Jump straight to review.
用户带着成品或草稿来时,不要重新问「你想做什么」,直接进入审查。
references/quality-checklist.md 逐项检查,找出具体问题,用「文件+证据」说话,不空泛好评。Key discipline / 关键纪律:修改前先备份旧版;只保留当前有效规则,不留改动痕迹、版本标注或历史 log。
Only run this when on the full path. Skip entirely on the light path.
只在完整路径执行,轻量路径跳过。
evals/evals.json (prompts only, no assertions yet).
写 2—3 条真实测试 prompt + 1—2 条 near-miss,存 evals/evals.json(先只写 prompt,不写断言)。Baseline rule / 基线规则:新建 skill 的基线是「无 skill」;优化已有 skill 的基线是「旧版本」(先快照备份旧版)。
~/.workbuddy/skills/<name>/.
安装位置统一为用户级 ~/.workbuddy/skills/<name>/。Load these on demand — only when writing or reviewing.
按需加载,仅在写作或审查时读取:
references/trigger-writing-guide.md —— 触发词静态清单(写 description 时读)references/skill-structure-guide.md —— 目录结构、渐进披露、写作风格(写正文时读)references/quality-checklist.md —— 自检清单(交付前读)