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.
Stabilize ClawHub publishing with preflight checks, safer publish commands, and post-publish verification that tolerates temporary registry states.
scripts/clawhub_preflight.shreferences/error-map.md.scripts/clawhub_publish_safe.sh <skill_path> <slug> <name> <version> [changelog]Unknown JSON field, use:
scripts/gh_search_repos_safe.sh "<query>" [limit]references/error-map.md before escalating.bash scripts/clawhub_preflight.sh
clawhub login --token <clh_token>
clawhub whoami
bash scripts/clawhub_publish_safe.sh ./my-skill my-skill "My Skill" 1.0.0 "Initial release"
clawhub inspect my-skill --json
bash scripts/gh_search_repos_safe.sh "safe-exec skill" 15
inspect errors right after publish as potentially transient for a few minutes.clawhub inspect) and web URL (/skills/<slug>).gh search repos --json failures, prefer fullName over unsupported aliases like nameWithOwner, or run scripts/gh_search_repos_safe.sh.https://clawhub.ai/skills/<slug>https://clawhub.ai/<handle>/<slug>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.scripts/gh_search_repos_safe.sh: resilient gh search repos wrapper with JSON-field mismatch fallback.