/install 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
\x3Copenclaw-home>/skills/\x3Cslug>as the final destination. - Treat
\x3Copenclaw-home>/workspaces/\x3Cagent>/skills/\x3Cslug>as a temporary staging location used by the CLI. - Resolve
\x3Copenclaw-home>from--openclaw-home, thenOPENCLAW_HOME, else$HOME/.openclaw. - Resolve
\x3Cagent>from--agent, thenOPENCLAW_AGENT, elselan. - Derive the workspace as
\x3Copenclaw-home>/workspaces/\x3Cagent>. - Prefer
scripts/install-global-skill.jsover manual file operations. - Try
openclaw skills updatefirst; if the skill is not tracked, useopenclaw 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
- Confirm the target skill slug.
- Prefer running
node scripts/install-global-skill.js --slug \x3Cslug>. - Verify the staged origin file at
\x3Copenclaw-home>/workspaces/\x3Cagent>/skills/\x3Cslug>/.clawhub/origin.json. - Backup the current global directory when it exists.
- Promote the staged copy into
\x3Copenclaw-home>/skills/\x3Cslug>. - Verify the global origin file and installed version after promotion.
- Report the result.
Verification
\x3Copenclaw-home>/skills/\x3Cslug>/SKILL.mdexists\x3Copenclaw-home>/skills/\x3Cslug>/.clawhub/origin.jsonexistsinstalledVersionin 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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install install-skill-for-all-agents - After installation, invoke the skill by name or use
/install-skill-for-all-agents - Provide required inputs per the skill's parameter spec and get structured output
What is Install Skills from Clawhub for all Agents?
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 u... It is an AI Agent Skill for Claude Code / OpenClaw, with 85 downloads so far.
How do I install Install Skills from Clawhub for all Agents?
Run "/install install-skill-for-all-agents" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Install Skills from Clawhub for all Agents free?
Yes, Install Skills from Clawhub for all Agents is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Install Skills from Clawhub for all Agents support?
Install Skills from Clawhub for all Agents is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Install Skills from Clawhub for all Agents?
It is built and maintained by 宁伟 (@kadbbz); the current version is v1.0.0.