skillhub-publish-pro

A complete workflow to publish in-house WorkBuddy Skills to SkillHub (BuiltinMarket official marketplace). Use when a user says “publish Skill,” “list to market,” “submit to SkillHub,” or wants to share a custom Skill for others to install. Covers browser-automated publishing (agent-browser) and handling common pitfalls such as zip-specific input selectors, session/login reuse, and daemon crash-retry.

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 "skillhub-publish-pro" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0e8204d82b9168a9c771cf3047e95ec1a794d1ca6a6ba975db916be8ab7b9299. Verify the upstream source and version against https://skillhub.cn/skills/user_0181bbb2/skillhub-publish-pro 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

A complete workflow to publish in-house WorkBuddy Skills to SkillHub (BuiltinMarket official marketplace). Use when a user says “publish Skill,” “list to market,” “submit to SkillHub,” or wants to share a custom Skill for others to install. Covers browser-automated publishing (agent-browser) and handling common pitfalls such as zip-specific input selectors, session/login reuse, and daemon crash-retry.

0 Downloads

Introduction source: third_party · user_0181bbb2 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: skillhub-publish
description: 将自研的 WorkBuddy Skill 发布/上架到 SkillHub(BuiltinMarket 官方市场)的完整工作流。当用户说"发布 Skill"、"上架到市场"、"提交到 SkillHub"、或想把自研 Skill 分享给其他人安装时使用本技能。涵盖浏览器自动化发布(agent-browser)与常见坑位(zip 专用 input 选择器、登录态复用、守护进程崩溃重试)。
agent_created: true

SkillHub 发布工作流

概述

将本地 ~/.workbuddy/skills/<name>/ 下的自研 Skill 上架到 SkillHub(https://skillhub.cn/,即 WorkBuddy 内置市场的官方来源)。审核通过后,其他用户可在 BuiltinMarket 中搜索并一键安装。

何时使用

  • 用户完成一个 Skill 开发,要求"发布/上架/分享"
  • 用户提到 SkillHub、BuiltinMarket、技能市场
  • 关键词:"发布 Skill"、"提交到市场"、"让别人也能用"

前置条件

  1. Skill 目录结构合规:SKILL.md(含 name/description frontmatter)+ 可选的 references/、scripts/、assets/
  2. SKILL.md frontmatter 需含 version(如 1.0.0)和 author 字段(SkillHub 上架要求)
  3. 用户已在 skillhub.cn 微信扫码登录 + 完成实名认证(发布前置条件)
  4. 本地已安装 agent-browser(npm install -g agent-browser;注意其自带 Chromium 下载可能被网络拦截,见下方"登录态复用")

发布流程(浏览器自动化)

第1步:打包 Skill

cd ~/.workbuddy/skills/<name> && zip -r /tmp/<name>.zip . -x '_*'

或直接用 Python 打包(避免中文路径问题):

import zipfile
from pathlib import Path
src = Path.home() / '.workbuddy/skills/<name>'
out = Path('/tmp/<name>.zip')
with zipfile.ZipFile(out, 'w', zipfile.ZIP_DEFLATED) as zf:
    for f in src.rglob('*'):
        if f.is_file() and not f.name.startswith('_'):
            zf.write(f, f.relative_to(src))

第2步:登录态复用(关键)

agent-browser 默认启动独立 Chromium 实例,不带用户的 SkillHub 登录态。两种解法:

方案 A — 复用用户已登录的 Chrome(推荐,无需重新扫码):

  1. 复制用户 Chrome 的 Default 档案到临时目录(含 skillhub.cn 的登录 Cookie):
    robocopy "$env:LOCALAPPDATA\Google\Chrome\User Data\Default" "<临时目录>\chrome-profile-copy" /E /R:1 /W:1
  2. 用该副本启动带远程调试端口的 Chrome:
    "/c/Program Files/Google/Chrome/Application/chrome.exe" \
      --remote-debugging-port=9222 \
      --user-data-dir="<临时目录>\chrome-profile-copy" \
      --no-first-run about:blank
  3. agent-browser 连接该实例(复用登录态):
    agent-browser open https://skillhub.cn --auto-connect

    注意:复制档案时若用户 Chrome 正运行,session Cookie 可能尚未落盘 → 副本未登录。此情况下需请用户在弹出的调试 Chrome 窗口内再扫一次微信登录(约 10 秒),随后自动化接管。

方案 B — agent-browser 自带 Chromium(需能下载):

agent-browser install   # 下载 Chromium(网络受限环境会失败)
agent-browser open https://skillhub.cn
# 用户需在该窗口扫码登录

第3步:填写表单并提交

  1. 导航到发布页:点击「发布 Skill」按钮(通常在首页右上角或用户菜单),URL 为 https://skillhub.cn/dashboard/publish
  2. 上传 zip(核心坑位):SkillHub 上传区有 2 个隐藏 input[type=file](同属一个拖拽 div):
    • input 1:multiple:true, accept:""(文件夹用)
    • input 2:multiple:false, accept:".zip,application/zip"(zip 专用 ✅)
    • ❌ 错误:agent-browser upload "input[type=file]" <zip> 会匹配到第 1 个(文件夹)input,导致 zip 不上传、UI 无反应
    • ✅ 正确:agent-browser upload "input[accept='.zip,application/zip']" <zip>
    • 上传成功后,上传区会显示解析出的文件(如 SKILL.md、references/...),并可能出现「使用此描述」按钮(用 SKILL.md 的 description 自动填充描述字段)
  3. 填写字段:
    • Skill 文件 Slug:技能 slug(如 ai-capability-assessment)
    • 显示名称:中文展示名
    • 描述:一句话描述;可点「使用此描述」自动填入,或手动 fill
    • 版本号:默认 1.0.0
    • 变更说明:可选,如 初始版本发布
    • 图标:默认已选一个预设图标,无需改
  4. 点击「提交审核」

第4步:确认结果

提交后页面跳转至 https://skillhub.cn/dashboard,显示「提交成功 / Skill "<slug>" v<version> 已提交 / 安全审核中」。截图留存,然后关闭浏览器与临时 Chrome 实例。

常见坑位与排查

现象 原因 解决
upload 返回 ✓ Done 但上传区无文件名 匹配到文件夹 input(input 1) 改用 input[accept='.zip,application/zip']
agent-browser 偶发 Segmentation fault / node:internal/modules/cjs/loader:1386 throw err 守护进程不稳定 命令可能已执行成功,重试一次或 pkill -f agent-browser 后重连
--auto-connect 失败(exit 1 无输出) 目标 Chrome 无远程调试端口 用「方案 A」启动带 --remote-debugging-port 的 Chrome
连接后页面显示「登录」按钮 副本档案无登录态 请用户在调试窗口重扫微信登录
input[type=file] eval 返回 [] 恰逢页面重渲染/转场 稍等后重新 snapshot 定位 ref

手动兜底

若自动化始终不通,告知用户:在浏览器中打开 https://skillhub.cn/dashboard/publish → 拖入 zip → 填表 → 提交。所需材料(zip + 文案)已由 Skill 准备好。

参考

  • SkillHub 官网:https://skillhub.cn/
  • SkillHub 安装/优先源配置文档:https://skillhub.cn/install/skillhub.md(仅含 search/install,无 publish CLI)
  • agent-browser 上游:https://github.com/vercel-labs/agent-browser

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 针对开发者发布 Skill 到官方市场的明确需求
  • 提供端到端自动化发布流程,提升发布效率
Trigger Precision90/100

Highlights

  • 触发词覆盖完整,包含多种常见表达变体
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards95/100

Areas to improve

  • 文档长度 Reported severity: Minor

    文档内容较详细,总行数约 180 行,可能影响阅读体验

    Recommendation: 可考虑将部分详细说明移至附录或折叠区块,保持主流程简洁

Highlights

  • 结构完整,包含前置条件、分步骤流程、常见坑位、手动兜底
  • 提供了具体的命令示例和代码片段
  • frontmatter 信息完整规范
Execution Reliability90/100

Highlights

  • 详细说明了关键坑位(zip 专用 input 选择器)的解决方案
  • 提供了登录态复用的两种方案,覆盖不同场景
  • 包含异常处理建议和手动兜底方案
  • 工具来源明确,参数说明清晰
Evidence Verifiability (mean of the first four)88/100

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.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 24
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.

  • github.com
  • skillhub.cn

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.