Exec ClawHub Publish Doctor
简介
Exec ClawHub Publish Doctor
原始描述
Diagnose and mitigate exec-related tooling failures around ClawHub publishing and GitHub CLI queries (auth, browser-login, missing dependencies, pending secu...
通过你的 Agent 添加
安装目录:exec-clawhub-publish-doctor/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: exec-clawhub-publish-doctor
description: Diagnose and mitigate ClawHub/ClawDHUB publish failures (auth, browser-login, missing dependencies, pending security-scan visibility errors, and wrong profile/skill URLs). Use when publishing skills to ClawHub fails, inspect reports temporary errors, or you need a safer publish+verify workflow with retries.
Exec ClawHub Publish Doctor
Stabilize ClawHub publishing with preflight checks, safer publish commands, and post-publish verification that tolerates temporary registry states.
Quick workflow
- Run preflight checks:
scripts/clawhub_preflight.sh
- If login/browser issues appear, follow
references/error-map.md.
- Publish with retry-aware verification:
scripts/clawhub_publish_safe.sh <skill_path> <slug> <name> <version> [changelog]
- If inspect still fails, classify the error with
references/error-map.md before escalating.
Standard commands
Preflight
bash scripts/clawhub_preflight.sh
Login (token-based, headless-safe)
scripts/clawhub_preflight.sh
references/error-map.md.scripts/clawhub_publish_safe.sh <skill_path> <slug> <name> <version> [changelog]
references/error-map.md before escalating.Preflight
bash scripts/clawhub_preflight.sh
clawhub login --token <clh_token>
clawhub whoami
Safe publish
bash scripts/clawhub_publish_safe.sh ./my-skill my-skill "My Skill" 1.0.0 "Initial release"
Manual inspect
clawhub inspect my-skill --json
Rules
- Prefer token login in server/headless environments.
- Treat
inspect errors right after publish as potentially transient for a few minutes.
- Verify with both CLI (
clawhub inspect) and web URL (/skills/<slug>).
- Use canonical URLs:
- Skill:
https://clawhub.ai/skills/<slug>
- Owner/slug:
https://clawhub.ai/<handle>/<slug>
- User profile (if available):
https://clawhub.ai/users/<handle>
Resources
references/error-map.md: quick diagnosis for common failure signatures.
scripts/clawhub_preflight.sh: dependency + environment checks.
scripts/clawhub_publish_safe.sh: publish + retry verification wrapper.
bash scripts/clawhub_publish_safe.sh ./my-skill my-skill "My Skill" 1.0.0 "Initial release"
clawhub inspect my-skill --json
Rules
- Prefer token login in server/headless environments.
- Treat
inspect errors right after publish as potentially transient for a few minutes.
- Verify with both CLI (
clawhub inspect) and web URL (/skills/<slug>).
- Use canonical URLs:
- Skill:
https://clawhub.ai/skills/<slug>
- Owner/slug:
https://clawhub.ai/<handle>/<slug>
- User profile (if available):
https://clawhub.ai/users/<handle>
Resources
references/error-map.md: quick diagnosis for common failure signatures.
scripts/clawhub_preflight.sh: dependency + environment checks.
scripts/clawhub_publish_safe.sh: publish + retry verification wrapper.
inspect errors right after publish as potentially transient for a few minutes.clawhub inspect) and web URL (/skills/<slug>).- Skill:
https://clawhub.ai/skills/<slug> - Owner/slug:
https://clawhub.ai/<handle>/<slug> - User profile (if available):
https://clawhub.ai/users/<handle>
references/error-map.md: quick diagnosis for common failure signatures.scripts/clawhub_preflight.sh: dependency + environment checks.scripts/clawhub_publish_safe.sh: publish + retry verification wrapper.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。