跳到正文
Skillpedia
智能体394k · #51

create-template

它能做什么

它指导 AI 智能体把它的工作角色、说明和相关文件打包成可重复使用的模板。它适合希望与他人分享效果良好的智能体设置的人。

适用场景

  • ✓你想与同事分享一个运行良好的智能体设置的时候。
  • ✓你想把某个智能体的工作转为供新人使用的可复用模板的时候。
  • ✓分享前需要从智能体中删除个人信息的时候。

技能链接

https://github.com/openclaw/openclaw/blob/main/skills/create-template/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/openclaw/blob/main/skills/create-template/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.

  1. 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.
  2. Inventory only relevant material. Select portable workspace instructions and files that implement that role. Locate this SKILL.md and use its scripts/cli.mjs for inventory so the CLI matches the running OpenClaw installation; invoke it with an absolute path when outside the skill directory. Run node scripts/cli.mjs skills list --agent <this agent's id> --json and node 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 with node scripts/cli.mjs plugins inspect <id> --json for 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 in packages, MCP requirements in mcpServers, and useful schedules in cronJobs. 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.
  3. 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 in CLAW.md. Place only newly authored portable text in files, mapping included workspace files by source in 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.
  4. 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.
常见问题

我的个人信息会被包含进去吗?

技能设定为去掉个人背景,只保留智能体中可复用的部分。

如果智能体同时负责几项互不相关的工作怎么办?

技能会询问要分享哪一项职责,使模板只涵盖一个连贯的角色。

谁来发布模板?

控制界面会打开审阅步骤,并负责打包和发布。

详情

作者的原始描述

Turn this agent into a shareable Template for a person to review.

repo: openclaw/openclaw

热度

GitHub 星标
394k
排名
#51
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能