Install
openclaw skills install install-skill-for-all-agentsInstall 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.
openclaw skills install install-skill-for-all-agentsInstall or update one ClawHub skill with the official CLI, then promote the staged copy into the global skill directory.
<openclaw-home>/skills/<slug> as the final destination.<openclaw-home>/workspaces/<agent>/skills/<slug> as a temporary staging location used by the CLI.<openclaw-home> from --openclaw-home, then OPENCLAW_HOME, else $HOME/.openclaw.<agent> from --agent, then OPENCLAW_AGENT, else lan.<openclaw-home>/workspaces/<agent>.scripts/install-global-skill.js over manual file operations.openclaw skills update first; if the skill is not tracked, use openclaw skills install --force.node scripts/install-global-skill.js --slug <slug>.<openclaw-home>/workspaces/<agent>/skills/<slug>/.clawhub/origin.json.<openclaw-home>/skills/<slug>.<openclaw-home>/skills/<slug>/SKILL.md exists<openclaw-home>/skills/<slug>/.clawhub/origin.json existsinstalledVersion in the global copy matches the staged copy