← Back to Skills Marketplace
kadbbz

Install Skills from Clawhub for all Agents

by 宁伟 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
85
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install install-skill-for-all-agents
Description
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...
README (SKILL.md)

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, then OPENCLAW_HOME, else $HOME/.openclaw.
  • Resolve \x3Cagent> from --agent, then OPENCLAW_AGENT, else lan.
  • Derive the workspace as \x3Copenclaw-home>/workspaces/\x3Cagent>.
  • 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 \x3Cslug>.
  3. Verify the staged origin file at \x3Copenclaw-home>/workspaces/\x3Cagent>/skills/\x3Cslug>/.clawhub/origin.json.
  4. Backup the current global directory when it exists.
  5. Promote the staged copy into \x3Copenclaw-home>/skills/\x3Cslug>.
  6. Verify the global origin file and installed version after promotion.
  7. Report the result.

Verification

  • \x3Copenclaw-home>/skills/\x3Cslug>/SKILL.md exists
  • \x3Copenclaw-home>/skills/\x3Cslug>/.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
Usage Guidance
Use this only when you intentionally want to change the machine-wide OpenClaw skills directory. Confirm the exact ClawHub slug, avoid any slug containing slashes or '..', keep backups enabled, and consider pinning a version before promoting a skill globally.
Capability Analysis
Type: OpenClaw Skill Name: install-skill-for-all-agents Version: 1.0.0 The skill is a utility for managing OpenClaw skills, specifically for installing or updating them via the 'openclaw' CLI and moving them to a global directory. The core logic in `scripts/install-global-skill.js` uses standard Node.js file system operations and `execFileSync` to perform its tasks. It includes a backup mechanism that utilizes a Python one-liner to create tarballs, which is a common cross-platform approach. No evidence of data exfiltration, malicious persistence, or prompt injection was found; the script's high-privilege file operations are strictly aligned with its stated purpose of global skill management.
Capability Assessment
Purpose & Capability
The README, SKILL.md, and script are coherent: the skill is meant to install or update one ClawHub skill and promote it into the machine-wide OpenClaw skills directory. This is high-impact because it changes behavior available to agents.
Instruction Scope
SKILL.md says to confirm one slug and ask before destructive actions, but the helper script does not validate the slug or agent path before using them in recursive copy/remove operations.
Install Mechanism
There is no install spec, but the bundled Node helper invokes external commands, including the OpenClaw CLI and python3. That is expected for this purpose but is under-declared by the requirements metadata.
Credentials
The skill intentionally replaces directories under the global OpenClaw home. The lack of explicit path containment around user-controlled inputs makes the destructive file operations broader than the documented one-slug scope.
Persistence & Privilege
The global skill copy persists under <openclaw-home>/skills and becomes the source of truth for future agents. This persistence is disclosed and purpose-aligned, and backups are created by default.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install install-skill-for-all-agents
  3. After installation, invoke the skill by name or use /install-skill-for-all-agents
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
install-global-skill-from-clawhub v1.0.0 - Initial release of the skill for installing or upgrading ClawHub skills and promoting them to the global OpenClaw skills directory. - Ensures the global skill directory is the source of truth, with proper syncing and backup of previous versions. - Provides safe promotion from agent workspace staging directories, including origin/version verification. - Handles confirmations and backup for destructive actions. - Focuses workflow on a single skill per operation unless explicitly requested otherwise.
Metadata
Slug install-skill-for-all-agents
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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.

💬 Comments