Exec ClawHub Publish Doctor — 技能工具
v1.0.1[自动翻译] Diagnose and mitigate exec-related tooling failures around ClawHub publishing and GitHub CLI queries (auth, browser-login, missing dependencies, pendi...
0· 552·1 当前·1 累计
安全扫描
OpenClaw
安全
high confidenceThe skill's files and instructions are coherent with its stated purpose (diagnosing and safely publishing to ClawHub and running schema-aware GitHub CLI searches); it only wraps existing CLIs and does not request unrelated credentials or install arbitrary code.
评估建议
This skill is a convenience wrapper around your existing clawhub and GitHub CLI tooling. Before using: (1) inspect the three included scripts yourself (they are small shell scripts) and confirm you intend to run clawhub publish; (2) run in a safe environment (e.g., your development machine) — the scripts write transient files to /tmp and will call your installed clawhub/gh CLIs which in turn contact remote services; (3) do not paste tokens into an untrusted UI—use the recommended headless token ...详细分析 ▾
✓ 用途与能力
Name/description match the included artifacts: the SKILL.md plus three shell scripts implement preflight checks, a publish wrapper with retries, and a resilient gh search wrapper. All required actions (calling clawhub and gh CLIs) are appropriate for the described purpose.
✓ 指令范围
Runtime instructions are limited to running the provided shell scripts and invoking clawhub/gh/inspect commands. The scripts only inspect environment/binaries, run CLI commands, parse outputs, and use /tmp for transient command output. They do not read arbitrary user files, send data to third-party endpoints other than those the CLIs contact, or include open-ended instructions like 'gather whatever context you need.'
✓ 安装机制
No install spec is provided (instruction-only with bundled scripts), so nothing is downloaded or written beyond the included files. This is low risk compared with downloading remote archives or running an installer.
✓ 凭证需求
The skill requires no declared environment variables or credentials. It instructs users to authenticate to clawhub/gh with their usual tokens (expected for this workflow). The only optional override is GH_FIELDS for gh_search_repos_safe.sh. There are no unrelated or excessive credential requests.
✓ 持久化与权限
Skill is not forced-always and does not request persistent privileges or modify other skills or system-wide agent settings. It runs only when invoked and relies on the user-installed clawhub/gh CLIs.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.12026/2/16
Fix gh search JSON field mismatch (nameWithOwner) with safe fallback wrapper
● 无害
安装命令 点击复制
官方npx clawhub@latest install exec-clawhub-publish-doctor
镜像加速npx clawhub@latest install exec-clawhub-publish-doctor --registry https://cn.clawhub-mirror.com
技能文档
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 [changelog]
- For GitHub search failures like
Unknown JSON field, use:
scripts/gh_search_repos_safe.sh "" [limit]
- If errors persist, classify with
references/error-map.mdbefore escalating.
Standard commands
Preflight
bash scripts/clawhub_preflight.sh
Login (token-based, headless-safe)
clawhub login --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
Safe GitHub repo search (schema-aware)
bash scripts/gh_search_repos_safe.sh "safe-exec skill" 15
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/). - For
gh search repos --jsonfailures, preferfullNameover unsupported aliases likenameWithOwner, or runscripts/gh_search_repos_safe.sh. - Use canonical URLs:
https://clawhub.ai/skills/
- Owner/slug: https://clawhub.ai//
- User profile (if available): https://clawhub.ai/users/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.scripts/gh_search_repos_safe.sh: resilientgh search reposwrapper with JSON-field mismatch fallback.
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制