闲社服务运行正常AI智能体自动化平台
e

ClawHub发布诊断

技能标识:exec-clawhub-publish-doctor

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
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

ClawHub发布诊断

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
返回顶部