install-global-skill-from-clawhub

Install or upgrade a ClawHub skill, then make the global copy under the machine's OpenClaw home `skills/` directory the final source of truth. Use when the user wants a skill installed from ClawHub, updated to the latest version, switched to the global skill directory, or kept in sync globally across agents.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "install-global-skill-from-clawhub" with this command: npx skills add kadbbz/install-skill-for-all-agents

Install Global Skill From ClawHub

Install or update one ClawHub skill with the official CLI, then promote the staged copy into the global skill directory.

Rules

  • Treat <openclaw-home>/skills/<slug> as the final destination.
  • Treat <openclaw-home>/workspaces/<agent>/skills/<slug> as a temporary staging location used by the CLI.
  • Resolve <openclaw-home> from --openclaw-home, then OPENCLAW_HOME, else $HOME/.openclaw.
  • Resolve <agent> from --agent, then OPENCLAW_AGENT, else lan.
  • Derive the workspace as <openclaw-home>/workspaces/<agent>.
  • Prefer scripts/install-global-skill.js over manual file operations.
  • Try openclaw skills update first; if the skill is not tracked, use openclaw skills install --force.
  • Backup an existing global skill before replacement unless the user explicitly says otherwise.
  • Promote through a temporary directory, then rename into place.
  • Remove the staged copy after promotion unless the user wants to keep it.
  • For destructive actions such as deleting an existing global skill or staging copy, ask for confirmation unless the user already asked for replacement or upgrade.
  • Do not modify or create Agents. This skill only manages skill files.
  • Keep the workflow focused on one slug at a time unless the user explicitly asks for a batch.

Workflow

  1. Confirm the target skill slug.
  2. Prefer running node scripts/install-global-skill.js --slug <slug>.
  3. Verify the staged origin file at <openclaw-home>/workspaces/<agent>/skills/<slug>/.clawhub/origin.json.
  4. Backup the current global directory when it exists.
  5. Promote the staged copy into <openclaw-home>/skills/<slug>.
  6. Verify the global origin file and installed version after promotion.
  7. Report the result.

Verification

  • <openclaw-home>/skills/<slug>/SKILL.md exists
  • <openclaw-home>/skills/<slug>/.clawhub/origin.json exists
  • installedVersion in the global copy matches the staged copy

Delivery

  • target slug
  • final global path
  • installed version
  • whether update or install was used
  • backup path if one was created
  • whether the staging copy was removed
  • any blocker, such as CLI failure or missing ClawHub package

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Job Screener Engine

对用户提供的岗位机会进行结构化评估,输出多维量化评分和行动建议。

Registry SourceRecently Updated
General

OpenClaw 新手训练营

OpenClaw 新手训练营 - 通过闯关游戏逐步掌握 OpenClaw 的各项功能。适合刚完成 onboarding 的新用户。触发词:"新手训练营"、"bootcamp"、"开始闯关

Registry SourceRecently Updated
General

V2.0 CNY RMB A股 China A shares Stock

V2.0 CNY RMB A股热搜分析 - China A Shares Stock Skill 微博热搜 + A股行情 + 关联分析 + 北向资金 + 板块轮动 + 市场情绪,一站式掌握市场热点。 关键词:A股, 大A, A-shares, China A, Onshore, 涨停, 跌停, 热搜, 北向资金,...

Registry SourceRecently Updated
General

ZhenInsure 真机保险 | Insurance Broker

AI Insurance Broker - 智能保险经纪人,提供需求分析、产品推荐、理赔协助等全方位保险服务

Registry SourceRecently Updated