create-template
它能做什么
它指导 AI 智能体把它的工作角色、说明和相关文件打包成可重复使用的模板。它适合希望与他人分享效果良好的智能体设置的人。
适用场景
- ✓你想与同事分享一个运行良好的智能体设置的时候。
- ✓你想把某个智能体的工作转为供新人使用的可复用模板的时候。
- ✓分享前需要从智能体中删除个人信息的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/skills/create-template/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请把这个研究助手做成一个可以与团队分享的模板,并去掉我的个人笔记。”
每周 5 个新技能,1 分钟读完。
工作原理
技能读取智能体当前的草稿,挑出构成一个清晰角色的部分,并去掉个人背景。然后它选出可以移植的文件,审阅和发布步骤由控制界面处理。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Create a Template
The Control UI invokes this manual skill in the agent's existing main conversation. It prepares a private draft before sending the message and attaches that request's draftId as working context. Use the draftId attached to this turn and edit only .openclaw/template-drafts/<draftId>.json; never search for a latest draft or use a shared pointer. The attached context is request-specific, so overlapping Template creations stay isolated. Keep internal paths and IDs out of your reply. Work in this same conversation; the Control UI opens package review when the draft is ready and owns package assembly and publication.
- Capture the reusable agent. Read the current draft JSON. Use this conversation and the agent's durable instructions to identify its coherent reusable role, input, job, output, and authority. Preserve useful behavior and settings; leave out personal context. If the responsibilities do not form one coherent Template, ask which responsibility to share before writing. Complete when the four scope fields describe an agent a new person can use.
- Inventory only relevant material. Select portable workspace instructions and files that implement that role. Locate this
SKILL.mdand use itsscripts/cli.mjsfor inventory so the CLI matches the running OpenClaw installation; invoke it with an absolute path when outside the skill directory. Runnode scripts/cli.mjs skills list --agent <this agent's id> --jsonandnode scripts/cli.mjs plugins list --enabled --json. Compare the results with tools actually available in this session and capabilities used in the role. Inspect a candidate withnode scripts/cli.mjs plugins inspect <id> --jsonfor its source and exact version. Declare a skill or plugin only when you can ground it in a current ClawHub package reference and exact version; plugin availability alone is not a requirement. Put package references inpackages, MCP requirements inmcpServers, and useful schedules incronJobs. Their declarations are dependencies, not files copied into the archive. Complete when every included file and declaration has a reason tied to the reusable role. - Author the proposal. Follow the draft format. Rewrite instructions for a new owner. Include input, job, output, and authority in the draft
scope, and describe the portable behavior inCLAW.md. Place only newly authored portable text infiles, mapping included workspace files bysourcein the manifest. Exclude raw conversations, memories,USER.md, credentials, secret values, private URLs, local paths, and personal facts. Never copy the source workspace tree. Complete when the JSON at this turn's draft path is valid and contains no private source material. - Hand off for review. Briefly tell the person what the Template does, which optional files/dependencies you included, and any capability you could not port. Do not print internal draft paths or IDs, generate a review link, upload, or publish. The Control UI opens a review of the exact built archive; the person can remove optional items and explicitly publish there. Complete when the review opens.
常见问题
我的个人信息会被包含进去吗?
技能设定为去掉个人背景,只保留智能体中可复用的部分。
如果智能体同时负责几项互不相关的工作怎么办?
技能会询问要分享哪一项职责,使模板只涵盖一个连贯的角色。
谁来发布模板?
控制界面会打开审阅步骤,并负责打包和发布。
详情
热度
- GitHub 星标
- 394k
- 排名
- #51
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。