📦 Connect Tool Library — 远程工具库管理

v2.0.0

通过 cogenticlink CLI 与远程工具库交互,管理 API 令牌(tokens),浏览可用的工具类别和列表,获取工具描述和参数模式,并执行工具调用。适用于需要调用 Cogentic Hub 等远程工具服务的场景。

0· 78·0 当前·0 累计
by @cogenticlab·MIT-0
下载技能包
License
MIT-0
最后更新
2026/4/16
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
技能的声称目的(通过 cogenticlink CLI 管理并调用远程工具库)与其需求和指令一致;所请求或指示的内容均与该目的相称且相关。
评估建议
此技能功能明确且符合其描述:它安装公共 npm 包 'cogenticlink' 并使用该 CLI 来管理和调用工具库。安装前:(1) 查看 cogenticlink npm 页面和包所有者以确认您信任发布者,(2) 检查包内容或其 GitHub 仓库(如果有),(3) 您的 API 令牌将存储在 ~/.cogenticlab/link/config.json(检查文件权限并考虑使用范围/受限制的令牌),以及 (4) 如果您想限制风险,请考虑在沙箱或容器中安装/测试 CLI。如果您需要更高保证,请提供仓库 URL 或包 tarball 以进行更详细的审查。...
详细分析 ▾
用途与能力
名称、描述、所需二进制文件(node、npx)、npm 包安装(cogenticlink)以及所需配置路径(~/.cogenticlab/link/config.json)均与基于 CLI 的工具库管理器一致。没有请求无关的凭据或二进制文件。
指令范围
SKILL.md 包含仅限于 cogenticlink 的具体 CLI 命令(libraries set/list/remove、categories、list、describe、call)。它没有指示读取无关的系统文件或环境变量。注意:CLI 将读取/写入所述配置路径并执行网络调用(这对于此目的是预期的)。
安装机制
安装规范拉取公共 npm 包('cogenticlink'),这是 Node CLI 的常见且预期的机制。与纯指令技能相比,这具有中等风险,因为它从 npm 安装代码;但是,该包在 npm 上被引用(不是任意 URL),这与所述目的相称。
凭证需求
该技能不请求环境变量或外部凭据。该技能期望在用户主目录中有一个配置文件来存储 API 令牌;这对于管理库/令牌的 CLI 是合适的,但这些令牌很敏感并将保存在磁盘上。
持久化与权限
always 为 false,该技能不请求提升的/系统范围的权限或修改其他技能的配置。允许自主调用(默认),但不与任何广泛或未解释的访问结合使用。
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv2.0.02026/3/31

**主要更新:HTTP API 交互已替换为 cogenticlink CLI** - 现在使用 cogenticlink CLI (Node.js) 而不是 curl 和直接 HTTP 请求。- 工具库(令牌)管理通过 CLI 命令处理:add、list 和 remove。- 工具浏览和执行通过 cogenticlink 子命令执行(categories、list、describe、call)。- 凭据存储在 ~/.cogenticlab/link/config.json 而不是 markdown 文件中。- 更新了故障排除步骤和工作流程以反映 CLI 使用情况。

无害

安装命令

点击复制
官方npx clawhub@latest install connect-tool-library
镜像加速npx clawhub@latest install connect-tool-library --registry https://cn.longxiaskill.com

技能文档

Managing Tool Libraries (Tokens)

Before using any tool, you must add a library (API token) using the cogenticlink CLI:

  • Set a library (name, token, optional description): cogenticlink libraries set [description]
  • List all libraries (markdown output): cogenticlink libraries
  • Remove a library: cogenticlink libraries remove

Executing Tool Calls

All tool commands require the library name as a positional argument.

  • Fetch Tool Categories (markdown output): cogenticlink categories . Returns a list of categories.
  • Fetch Tool List of Category (markdown output): cogenticlink list . If category is omitted, defaults to All Tools.
  • Obtain Tool Description & Input Schema: cogenticlink describe . Returns Markdown containing the tool's description and JSON schema for parameters.
  • Call a Tool: cogenticlink call [parameters]. parameters is an optional JSON object (default {}). Successful responses return JSON with a content array. Errors return isError: true with details in content.

Workflow

  • Check/Create Library – If no library exists, instruct the user to set one: cogenticlink libraries set [description]. If the token is unknown, ask the user to create a tool library in Cogentic Hub.
  • Fetch Tool Categories – Run cogenticlink categories to see available categories.
  • Select a category, If none selected, use All Tools category.
  • Fetch Tool List from Selected Category – Run cogenticlink list to see tools and their tags.
  • Obtain Tool Description (optional) – Run cogenticlink describe to understand required parameters.
  • Call Tool – Run cogenticlink call '' to execute.

Troubleshooting with the CLI

  • Library not found – Run cogenticlink libraries to list existing libraries.
  • Invalid token – Re‑set the library with the correct token.
  • Tool not found – Verify the tool name using cogenticlink list .
  • Invalid parameters – Check the tool's input schema with cogenticlink describe .
数据来源ClawHub ↗ · 中文优化:龙虾技能库