返回顶部
e

exec-clawhub-publish-doctorClawHub发布诊断

Diagnose and mitigate exec-related tooling failures around ClawHub publishing and GitHub CLI queries (auth, browser-login, missing dependencies, pending security-scan visibility errors, wrong profile/skill URLs, and gh JSON-field mismatch errors like Unknown JSON field). Use when publishing skills to ClawHub fails, inspect reports temporary errors, or GitHub CLI search commands fail due to field schema differences.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
607
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

exec-clawhub-publish-doctor

Exec ClawHub Publish Doctor

通过预检检查、更安全的发布命令以及容忍临时注册表状态的发布后验证,稳定ClawHub发布流程。

快速工作流程

  1. 1. 运行预检检查:
- scripts/clawhub_preflight.sh
  1. 2. 如果出现登录/浏览器问题,请参考references/error-map.md。
  2. 使用带重试感知的验证进行发布:
- scripts/clawhubpublishsafe.sh <技能路径> <标识符> <名称> <版本> [更新日志]
  1. 4. 对于类似Unknown JSON field的GitHub搜索失败,使用:
- scripts/ghsearchrepos_safe.sh <查询> [限制数量]
  1. 5. 如果错误持续存在,在升级前使用references/error-map.md进行分类。

标准命令

预检

bash
bash scripts/clawhub_preflight.sh

登录(基于令牌,无头环境安全)

bash
clawhub login --token
clawhub whoami

安全发布

bash
bash scripts/clawhubpublishsafe.sh ./my-skill my-skill My Skill 1.0.0 初始版本

手动检查

bash
clawhub inspect my-skill --json

安全的GitHub仓库搜索(模式感知)

bash
bash scripts/ghsearchrepos_safe.sh safe-exec skill 15

规则

  • - 在服务器/无头环境中优先使用令牌登录。
  • 将发布后立即出现的inspect错误视为可能几分钟内暂时性的。
  • 同时使用CLI(clawhub inspect)和网页URL(/skills/<标识符>)进行验证。
  • 对于gh search repos --json失败,优先使用fullName而非不支持的别名如nameWithOwner,或运行scripts/ghsearchrepos_safe.sh。
  • 使用规范URL:
- 技能:https://clawhub.ai/skills/<标识符> - 所有者/标识符:https://clawhub.ai/<用户名>/<标识符> - 用户个人资料(如可用):https://clawhub.ai/users/<用户名>

资源

  • - references/error-map.md:常见故障特征的快速诊断。
  • scripts/clawhubpreflight.sh:依赖项+环境检查。
  • scripts/clawhubpublishsafe.sh:发布+重试验证封装。
  • scripts/ghsearchrepossafe.sh:具有JSON字段不匹配回退的弹性gh search repos封装。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 exec-clawhub-publish-doctor-1776420024 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 exec-clawhub-publish-doctor-1776420024 技能

通过命令行安装

skillhub install exec-clawhub-publish-doctor-1776420024

下载

⬇ 下载 exec-clawhub-publish-doctor v1.0.1(免费)

文件大小: 5.79 KB | 发布时间: 2026-4-17 18:26

v1.0.1 最新 2026-4-17 18:26
Fix gh search JSON field mismatch (nameWithOwner) with safe fallback wrapper

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部