← 返回 Skills 市场
zhaoxiaofeng44

ClawHub Installer

作者 zhaoxiaofeng44 · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
467
总下载
0
收藏
3
当前安装
1
版本数
在 OpenClaw 中安装
/install clawhub-installer
功能描述
根据当前任务需求,使用 ClawHub 搜索、筛选并安装最合适的技能;支持指定版本安装与安装后验证。
使用说明 (SKILL.md)

ClawHub Installer

当用户表达“为了完成某个任务需要找并安装技能”时,使用本技能。

适用场景

  • 用户说“帮我找个技能来做 X”
  • 用户说“安装一个能处理 X 的 skill”
  • 当前任务缺少能力,需要动态补齐技能

工作目标

  1. 基于任务需求生成搜索关键词
  2. clawhub search 找候选技能
  3. 给出精简推荐(默认 Top 3)
  4. 在用户确认后执行安装(可指定版本)
  5. 安装后提供验证与后续建议

执行流程

1) 澄清任务需求(最小必要)

如果用户需求模糊,先问 1 个问题即可:

  • “你是要处理哪类任务(例如 GitHub、视频处理、天气、RAG 检索)?”

需求明确则直接进入搜索。

2) 搜索候选技能

clawhub search "\x3Ctask keywords>"

关键词策略:

  • 优先保留任务动词 + 领域名词(如 extract video frames, github pr review, weather forecast
  • 可并行尝试 1-2 组同义关键词并合并结果

3) 推荐与选择

返回候选时给出:

  • slug
  • 简短用途说明(1 行)
  • 推荐理由(和当前任务的匹配点)

默认推荐 Top 3,避免信息过载。然后询问:

  • “要我安装第几个?是否锁定版本(如 --version 1.2.3)?”

4) 执行安装

安装最新版本:

clawhub install \x3Cslug>

安装指定版本:

clawhub install \x3Cslug> --version \x3Cx.y.z>

5) 安装后验证

clawhub list

验证点:

  • 技能已出现在列表
  • 名称/版本与预期一致

然后给用户一句可执行建议:

  • “已安装完成,现在我可以直接用这个技能来处理你的任务。”

失败处理

  • 未找到结果:
    • 改写关键词后再搜一次(更短、更通用)
  • 版本不存在:
    • 提示可用最新版本,或让用户改版本号
  • 安装失败:
    • 返回原始错误摘要,并建议重试或切换候选技能

命令速查

clawhub search "\x3Cquery>"
clawhub install \x3Cslug>
clawhub install \x3Cslug> --version \x3Cx.y.z>
clawhub list
clawhub update \x3Cslug>
clawhub update --all

使用原则

  • 先推荐、后安装(除非用户明确“直接装”)
  • 默认装最新稳定版;仅在用户要求时锁版本
  • 输出简洁,始终围绕“能否完成当前任务”
安全使用建议
This skill appears to do what it says (find and install skills via the clawhub CLI) but the metadata fails to list the 'clawhub' binary as a required dependency — update the metadata to declare that runtime requirement. Before installing: ensure the 'clawhub' CLI on your system is trusted and configured to use only safe registries; require explicit user confirmation before any install; inspect candidate skill slugs and versions (and their provenance) before proceeding; consider limiting the agent's ability to autonomously install new skills. If you cannot confirm clawhub's integrity or provenance of candidate skills, avoid installing or run installs in a sandboxed environment.
功能分析
Type: OpenClaw Skill Name: clawhub-installer Version: 0.1.0 The skill is a legitimate utility designed to help users search for and install other skill bundles using the 'clawhub' CLI tool. The instructions in SKILL.md follow a standard package-manager workflow (search, recommend, confirm, install, and verify) without any evidence of data exfiltration, obfuscation, or unauthorized command execution.
能力评估
Purpose & Capability
Name/description and SKILL.md are coherent: the skill is a wrapper around the clawhub CLI to search and install skills. However, metadata declares no required binaries while the runtime instructions assume a 'clawhub' CLI is present. The missing declared dependency is an inconsistency: a legitimate installer would list 'clawhub' as a required binary.
Instruction Scope
Instructions are narrowly scoped to generating search keywords, running 'clawhub search', showing Top 3 recommendations, asking for confirmation, running 'clawhub install' (optionally with --version), and validating via 'clawhub list'. The SKILL.md does not instruct reading unrelated files, environment variables, or exfiltrating data.
Install Mechanism
There is no install spec (instruction-only), which minimizes the skill writing to disk itself. However, at runtime it delegates installation to the 'clawhub' tool, which will download and install other skills; that operation is out of this skill's control and can result in arbitrary third‑party code being installed. The lack of a declared 'clawhub' dependency in metadata worsens this transparency gap.
Credentials
The skill declares no environment variables, credentials, or config paths and the instructions do not request secrets or other unrelated credentials. This is proportionate to the stated purpose.
Persistence & Privilege
The skill is not always:true and follows the default model-invocation policy. That said, because it can install other skills via the external CLI, allowing it to operate without explicit, per-install user confirmation would broaden its effective privilege. The SKILL.md recommends asking for confirmation before installing, which mitigates risk if followed.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawhub-installer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawhub-installer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: task-driven skill search and install flow
元数据
Slug clawhub-installer
版本 0.1.0
许可证
累计安装 3
当前安装数 3
历史版本数 1
常见问题

ClawHub Installer 是什么?

根据当前任务需求,使用 ClawHub 搜索、筛选并安装最合适的技能;支持指定版本安装与安装后验证。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 467 次。

如何安装 ClawHub Installer?

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

ClawHub Installer 是免费的吗?

是的,ClawHub Installer 完全免费(开源免费),可自由下载、安装和使用。

ClawHub Installer 支持哪些平台?

ClawHub Installer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ClawHub Installer?

由 zhaoxiaofeng44(@zhaoxiaofeng44)开发并维护,当前版本 v0.1.0。

💬 留言讨论