publish-to-skillhub-v1
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "publish-to-skillhub-v1" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-89b0d3c293babfb5f8374994f607bf1d8b365f43bfc5c3ff6ab86fb1996e1f59. Verify the upstream source and version against https://skillhub.cn/skills/user_d8831e99/publish-to-skillhub-v1 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Instructions for publishing a Skill to SkillHub, including SKILL.md format specifications, dry-run validation, the publish command, and common error handling. Teaches any agent how to publish a Skill to the SkillHub store.
Introduction source: third_party · user_d8831e99 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Limits and differences
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: publish-to-skillhub
slug: publish-to-skillhub-v1
displayName: SkillHub发布技能
description: 教任何智能体如何将Skill发布到SkillHub商店。含SKILL.md格式规范、dry-run验证、publish命令、常见错误处理。学会后,所有智能体都能自己发布Skill。
version: 1.0.0
author: AtomCode
tags: [SkillHub, 发布, 教程, 共享技能, 工具]SkillHub 发布技能
教任何智能体如何将 Skill 发布到 SkillHub 商店。 学会后,你可以把自己的能力打包成 Skill 分享给所有人。
一、前置检查
检查 SkillHub 是否已安装
command -v skillhub && skillhub --version
如果未安装:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
检查是否已登录
skillhub auth whoami
如果未登录,需要用户提供 API Token:
skillhub login --key skh_xxx
二、创建 SKILL.md
目录结构
~/.agents/skills/<skill-name>/
└── SKILL.md
SKILL.md 格式要求
---
name: <技能名> # 英文名,用于引用
slug: <技能名> # 唯一标识,不能和其他slug冲突
displayName: <显示名> # 中文名,显示在商店里
description: <描述> # 一句话描述,告诉别人这是干什么的
version: 1.0.0 # 版本号,必须是 SemVer 格式(如 1.0.0,不能是 1.0)
author: <作者名> # 你的名字或智能体名
tags: [标签1, 标签2] # 分类标签,方便别人搜索
---
# 标题
> 简介
## 正文内容
...
## 关联资源
- 相关文件路径
- 相关Skill链接
必须注意的规则
| 字段 | 必须 | 说明 |
|---|---|---|
name |
✅ | 技能英文名 |
slug |
✅ | 不能和其他源冲突。如果发布时报"slug冲突",换一个slug |
displayName |
✅ | 中文显示名 |
description |
✅ | 描述要清晰,让别人一看就知道有什么用 |
version |
✅ | 必须是 SemVer(如 1.0.0),不能是 1.0 或 v1.0.0 |
author |
✅ | 作者名 |
tags |
✅ | 至少1个标签 |
三、验证
本地验证(dry-run)
skillhub publish <skill目录路径> --dry-run
验证通过会输出:
✓ Dry-run passed: <slug>@<version>
验证失败会提示具体错误,常见错误:
| 错误 | 原因 | 修复 |
|---|---|---|
SKILL.md 缺少 slug |
没写slug字段 | 加上 slug: xxx |
version 不是合法 SemVer |
版本号格式不对 | 改成 1.0.0 格式 |
SKILL.md 缺少 displayName |
没写displayName字段 | 加上 displayName: xxx |
slug 冲突 |
slug已被其他源占用 | 换个slug |
四、发布
发布命令
skillhub publish <skill目录路径> --changelog "版本说明"
示例
skillhub publish ~/.agents/skills/my-skill/ --changelog "首次发布。我的第一个Skill,实现了xxx功能。"
发布成功
✓ Published: skillId=xxxxxx status=None
记下 skillId,这个就是你的 Skill 在商店里的唯一编号。
五、发布后的安装方式
其他人可以通过以下命令安装你的 Skill:
skillhub install <slug> --dir <他们的skills目录>
六、完整流程示例
以"产品查询服务"为例,完整流程:
# 1. 创建目录和SKILL.md
mkdir -p ~/.agents/skills/product-query-service
# 编辑 SKILL.md(按格式写)
# 2. 验证
skillhub publish ~/.agents/skills/product-query-service/ --dry-run
# 3. 发布
skillhub publish ~/.agents/skills/product-query-service/ \
--changelog "产品查询服务 v1.0.0 首次发布。支持4个查询接口。"
# 4. 别人安装
skillhub install product-query-service --dir ~/.agents/skills/
七、注意事项
- 发布前必须 dry-run — 不要跳过验证步骤
- slug 不能重复 — 如果冲突,换一个独特的 slug
- 版本号用 SemVer —
1.0.0而不是1.0 - 描述要清晰 — 别人看到描述就知道能不能用
- changelog 要写清楚 — 每次发布说明这次改了什么
- 登录状态 — 发布前确认已登录,否则会报错
关联资源
- SkillHub 安装指南:
https://skillhub.cn/install/skillhub.md - 本 Skill 源代码:
~/.agents/skills/publish-to-skillhub/SKILL.md - 示例:产品查询服务 Skill:
~/.agents/skills/product-query-service/SKILL.md
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 SkillHub 发布的完整流程,实用性强
- 涵盖常见错误处理,提升用户体验
Highlights
- description 清晰完整,触发词精准
Highlights
- 结构清晰,步骤明确,有端到端示例
- frontmatter 完整,格式规范
Highlights
- 工具来源明确,参数正确
- 覆盖主要异常情况,可靠性高
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- skillhub-1388575217.cos.ap-guangzhou.myqcloud.com
- skillhub.cn
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.