clawbub
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseClawbub – Clawhub CLI Skill
Clawbub – Clawhub CLI Skill
This skill allows an agent to safely and correctly use the Clawhub CLI (, , ) to manage AgentSkills.
clawbubskillsbunx clawhub该技能允许Agent安全且正确地使用Clawhub CLI(、、)来管理AgentSkills。
clawbubskillsbunx clawhubMental Model
心智模型
The agent acts as a release engineer for skills:
- GitHub repo = source of truth
- Clawhub = distribution registry
- Local install = consumer
Never skip the publish step.
Agent扮演技能发布工程师的角色:
- GitHub仓库 = 事实来源
- Clawhub = 分发注册表
- 本地安装 = 消费者
切勿跳过发布步骤。
Core Capabilities
核心功能
Install a skill from Clawhub
从Clawhub安装技能
bash
bunx clawhub@latest install <skill-name> --forceUse when syncing local state with the registry.
bash
bunx clawhub@latest install <skill-name> --force当需要将本地状态与注册表同步时使用此命令。
Import (publish) a skill to Clawhub
将技能导入(发布)到Clawhub
bash
npx skills import <skill-folder>Run from the repo root. This is required before others can install updates.
bash
npx skills import <skill-folder>从仓库根目录运行此命令。这是其他人能够安装更新的必要前提。
Install Clawhub tooling
安装Clawhub工具集
bash
npx skills add https://github.com/openclaw/openclaw/clawhub -yOne-time setup. Avoid interactive mode.
bash
npx skills add https://github.com/openclaw/openclaw/clawhub -y一次性设置操作。避免使用交互模式。
Safe Workflow (Recommended)
推荐的安全工作流
- Modify skill in GitHub repo
- Commit + push
- Import into Clawhub ()
skills import - Reinstall locally ()
clawhub install --force - Restart gateway
- 在GitHub仓库中修改技能
- 提交并推送
- 将技能导入Clawhub()
skills import - 重新本地安装()
clawhub install --force - 重启网关
When NOT to Use This Skill
不适用此技能的场景
- Do not run destructive commands without confirmation
- Do not import from untrusted repos
- Do not overwrite skills you don’t own
- 未经确认请勿运行破坏性命令
- 请勿从不信任的仓库导入技能
- 请勿覆盖不属于你的技能
Golden Rule
黄金法则
If the registry and the repo disagree, the registry is wrong until you import again.
如果注册表与仓库内容不一致,在你重新导入之前,注册表内容是错误的。