360 Secure SkillHub
360 安全技能中心

Install Shared Skill

该 Skill 声明两个功能相同的安装工具 install_skill 与 install_shared_skill,均执行 clawhub install 命令,从 ClawHub 获取技能并安装到全局 OpenClaw 技能目录(非工作区级),把终端 stdout 与 stderr 原始输出(含非零退出码)作为结果返回。

shifulegend
shifulegend
热度 57.04
最近更新 2026-05-18 12:16:03
分类:自动化依赖:代码执行应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add install-shared-skill
Metadata
name
install-shared-skill
description
Install OpenClaw skills at the local/system level so they are shared by all agents. Uses the clawhub CLI to fetch and install skills into the global OpenClaw skills directory (not workspace-scoped).
allowed-tools
["install_skill","install_shared_skill"]
metadata
{"openclaw":{"user-invocable":true}}

Shared Skill Installer (ClawHub)

Tool: install_skill

Install a skill using the clawhub CLI.

Parameters:

  • skill_name (string, required): The name of the skill to install

Behavior:

  • Executes: clawhub install <skill_name> --workdir ./
  • Returns the raw terminal output (stdout + stderr) as the tool result
  • Non-zero exit codes are captured and returned as part of the output

Example usage:

/install_skill nano-pdf

This runs: clawhub install nano-pdf --workdir ./

Tool: install_shared_skill

Alias of install_skill — identical functionality.

Parameters:

  • skill_name (string, required): The name of the skill to install

Behavior:

  • Executes: clawhub install <skill_name> --workdir ./
  • Returns the raw terminal output (stdout + stderr) as the tool result

Example usage:

/install_shared_skill nano-pdf

This runs: clawhub install nano-pdf --workdir ./