← 返回 Skills 市场
grey0758

Knowledge to ClawHub Skill Publisher

作者 grey0758 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
159
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install knowledge-to-clawhub-skill-publisher
功能描述
Turn a solved workflow into canonical knowledge docs and a self-contained ClawHub-publishable skill. 把一个已验证流程沉淀成规范知识文档,并打包成可发布到 ClawHub 的自包含 skill。
使用说明 (SKILL.md)

Knowledge to ClawHub Skill Publisher

Use this skill when a workflow has already been proven in practice and should now be captured as durable docs plus a reusable skill. 当一个流程已经在实战中验证过,并且现在需要沉淀成长期文档与可复用 skill 时,使用这个 skill。

Read First | 先读这些

Review these files before doing any packaging work: 在做打包工作之前,先看这些文件:

  • {baseDir}/README.md
  • {baseDir}/WORKFLOW.md
  • {baseDir}/FAQ.md
  • {baseDir}/CHANGELOG.md

Primary Rule | 核心原则

Do not publish a skill from a raw chat transcript. First extract a stable workflow and write canonical docs. 不要直接把原始聊天记录发布成 skill。先提炼稳定流程,再写成规范知识文档。

Workflow | 执行流程

  1. Identify the stable workflow and remove one-off chat noise. 识别稳定流程,去掉一次性聊天噪音。
  2. Write canonical docs under knowledge/runbooks/ if working inside a shared knowledge repository. 如果在共享知识仓库中工作,先把规范文档写到 knowledge/runbooks/
  3. Create a self-contained skill folder under skills/shared/\x3Cskill-name>/. 在 skills/shared/\x3Cskill-name>/ 下创建自包含 skill 目录。
  4. Add: 补齐以下文件:
    • SKILL.md
    • README.md
    • WORKFLOW.md
    • FAQ.md
    • CHANGELOG.md
  5. Keep package references self-contained via {baseDir}. 使用 {baseDir} 保持包内引用自包含。
  6. Publish only after the docs and package are aligned. 只在文档和包内容一致后再发布。
  7. Verify the remote package after publish. 发布后验证远端包内容。

Strong Heuristics | 强判断规则

  • if the process is not proven yet, document it as a draft instead of publishing a skill
  • if the workflow depends on hidden workspace files, make the package self-contained first
  • if CHANGELOG.md is missing, add it before the first stable release
  • if the audience is mixed, prefer bilingual docs

中文解释:

  • 流程还没验证过,就先记成草稿,不要急着发布 skill。
  • 如果流程依赖工作区外部文件,先把包改成自包含。
  • 如果缺 CHANGELOG.md,最好在第一个稳定版本前补上。
  • 面向中英文混合用户时,优先双语。

Safe Commands | 安全命令

make sync
clawhub publish /absolute/path/to/skill-folder --slug your-skill --name "Your Skill" --version 1.0.0
clawhub inspect your-skill --version 1.0.0 --files

Response Format | 输出格式

Always return: 始终返回:

  1. current workflow status
  2. missing artifacts
  3. next single best action
  4. verification after that

Constraints | 约束

  • do not treat ClawHub as the source of truth
  • do not publish secrets, machine-specific tokens, or raw transcripts
  • keep skill bundles self-contained when possible
  • prefer knowledge/ as the canonical Markdown source

中文约束:

  • 不要把 ClawHub 当成事实源。
  • 不要发布密钥、机器专属 token,或原始聊天记录。
  • 尽量保持 skill 包自包含。
  • 优先把 knowledge/ 作为规范 Markdown 来源。
安全使用建议
This skill is coherent and instruction-only, but review the files it will package before publishing. Ensure README.md, WORKFLOW.md, FAQ.md, and CHANGELOG.md contain no secrets, machine-specific tokens, or raw chat transcripts. Publishing requires the clawhub CLI and uses your local ClawHub credentials — confirm your local auth and inspect the remote package after publishing. Be cautious about the unspecified 'sync the OpenClaw memory mirror' step (confirm what it does in your environment) and run the provided clawhub inspect command to verify files and versions before marking a release as final.
功能分析
Type: OpenClaw Skill Name: knowledge-to-clawhub-skill-publisher Version: 1.0.1 The skill bundle is designed to help users package and publish validated workflows as OpenClaw skills. It contains explicit safety instructions in SKILL.md and WORKFLOW.md that warn against publishing secrets, machine-specific tokens, or raw chat transcripts. The provided commands (e.g., 'clawhub publish') are consistent with the stated purpose, and there is no evidence of data exfiltration, malicious execution, or prompt-injection attacks.
能力评估
Purpose & Capability
Name/description match the actions described in SKILL.md and README: extracting workflow docs, assembling a self-contained skill folder, and publishing to ClawHub. It does not ask for unrelated binaries, services, or credentials.
Instruction Scope
Runtime instructions are narrowly focused on reading repo docs (README.md, WORKFLOW.md, FAQ.md, CHANGELOG.md), creating a skill folder under skills/shared/<skill-name>, and invoking clawhub publish/inspect. The SKILL.md explicitly warns not to publish secrets or raw transcripts. One mildly ambiguous step is 'sync the OpenClaw memory mirror' which is mentioned but not specified; otherwise instructions stay within the stated packaging/publishing scope.
Install Mechanism
No install spec and no code files — instruction-only. No downloads or archive extraction are present, so there is no install-time execution risk.
Credentials
The skill declares no required environment variables or credentials. Note: publishing via the clawhub CLI will use whatever ClawHub authentication the user has configured locally (the skill does not request or embed credentials itself), so users should ensure their local clawhub auth is valid and that they do not inadvertently publish sensitive files.
Persistence & Privilege
always:false and there is no mechanism to force permanent presence or modify other skills' configs. The included agents/openai.yaml sets allow_implicit_invocation:false, reducing implicit autonomous invocation in that agent metadata.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install knowledge-to-clawhub-skill-publisher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /knowledge-to-clawhub-skill-publisher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Add agents/openai.yaml with stricter UI metadata and explicit invocation policy.
v1.0.0
Initial public release for turning validated workflows into knowledge docs and ClawHub-ready skills.
元数据
Slug knowledge-to-clawhub-skill-publisher
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Knowledge to ClawHub Skill Publisher 是什么?

Turn a solved workflow into canonical knowledge docs and a self-contained ClawHub-publishable skill. 把一个已验证流程沉淀成规范知识文档,并打包成可发布到 ClawHub 的自包含 skill。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 159 次。

如何安装 Knowledge to ClawHub Skill Publisher?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install knowledge-to-clawhub-skill-publisher」即可一键安装,无需额外配置。

Knowledge to ClawHub Skill Publisher 是免费的吗?

是的,Knowledge to ClawHub Skill Publisher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Knowledge to ClawHub Skill Publisher 支持哪些平台?

Knowledge to ClawHub Skill Publisher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Knowledge to ClawHub Skill Publisher?

由 grey0758(@grey0758)开发并维护,当前版本 v1.0.1。

💬 留言讨论