← 返回 Skills 市场
kadbbz

Install Skills from Clawhub for all Agents

作者 宁伟 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
85
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install install-skill-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...
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install install-skill-for-all-agents
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /install-skill-for-all-agents 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug install-skill-for-all-agents
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 85 次。

如何安装 Install Skills from Clawhub for all Agents?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install install-skill-for-all-agents」即可一键安装,无需额外配置。

Install Skills from Clawhub for all Agents 是免费的吗?

是的,Install Skills from Clawhub for all Agents 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Install Skills from Clawhub for all Agents 支持哪些平台?

Install Skills from Clawhub for all Agents 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Install Skills from Clawhub for all Agents?

由 宁伟(@kadbbz)开发并维护,当前版本 v1.0.0。

💬 留言讨论