Publish Skills Safely
Transform any knowledge into a publishable skill. Sanitize personal data, format correctly, verify before publishing.
Key principle: Never modify user's original files. Create clean publish-ready version separately.
References:
- -
sanitize.md — Security checklist and personal data removal - INLINECODE1 — Convert any format to proper skill structure
- INLINECODE2 — Pre-publish verification process
When to Use
- - User wants to publish existing skill/instructions to ClawHub
- User wants to share knowledge they've developed locally
- User has content in any format that should become a public skill
The Process
- 1. Understand — What knowledge/skill exists? Where is it?
- Transform — Convert to proper skill format (see
transform.md) - Sanitize — Remove personal/dangerous content (see
sanitize.md) - Verify — Confirm with user before publishing (see
verify.md) - Publish — Only after explicit approval
Critical Rules
⚠️ Never modify original files — Create separate publish version
⚠️ Never publish without sanitization — Check sanitize.md
⚠️ Never publish without user approval — Always verify first
⚠️ When in doubt, include more — User can remove, harder to add later
Asking the User
Before transforming, clarify:
- - What should be PUBLIC vs kept private?
- Any specific names/references to remove?
- Target audience (beginners, experts, specific domain)?
- Desired slug/name for ClawHub?
Always run sanitize.md checklist before any publish.
安全发布技能
将任何知识转化为可发布的技能。清理个人数据,正确格式化,发布前进行验证。
核心原则: 绝不修改用户的原始文件。单独创建干净的、可发布的版本。
参考资料:
- - sanitize.md — 安全检查清单及个人数据移除
- transform.md — 将任何格式转换为正确的技能结构
- verify.md — 发布前验证流程
使用时机
- - 用户希望将现有技能/指令发布到ClawHub
- 用户希望分享本地开发的知识
- 用户拥有任何格式的内容,希望将其变为公开技能
流程
- 1. 理解 — 存在什么知识/技能?位于何处?
- 转换 — 转换为正确的技能格式(参见 transform.md)
- 清理 — 移除个人/危险内容(参见 sanitize.md)
- 验证 — 发布前与用户确认(参见 verify.md)
- 发布 — 仅在获得明确批准后执行
关键规则
⚠️ 绝不修改原始文件 — 创建单独的发布版本
⚠️ 未经清理绝不发布 — 检查 sanitize.md
⚠️ 未经用户批准绝不发布 — 始终先验证
⚠️ 有疑问时,宁多勿少 — 用户可以删除,但事后添加更难
询问用户
在转换前,明确以下内容:
- - 哪些内容应设为公开?哪些应保持私密?
- 是否有需要移除的特定名称/引用?
- 目标受众(初学者、专家、特定领域)?
- 在ClawHub上所需的slug/名称?
在任何发布前,务必执行 sanitize.md 检查清单。