🤖
ClawHub Publish Doctor
Diagnose and mitigate ClawHub/ClawDHUB publish failures (auth, browser-login, missing dependencies, pending security-scan visibility errors, and wrong profil...
安全通过
⚙️脚本
技能说明
name: 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.
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.mdbefore escalating.
Standard commands
Preflight
bash scripts/clawhub_preflight.sh
Login (token-based, headless-safe)
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
inspecterrors 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>
- Skill:
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.
如何使用「ClawHub Publish Doctor」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「ClawHub Publish Doctor」技能完成任务
- 结果即时呈现,支持继续对话优化