← 返回 Skills 市场
vakovalskii

Ocli Api

作者 Valerii Kovalskii · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
213
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ocli-api
功能描述
Turn any OpenAPI/Swagger API into CLI commands and call them. Search endpoints with BM25, check parameters, execute — no MCP server needed.
安全使用建议
This skill is a thin adapter that tells the agent to call the ocli CLI to discover and call OpenAPI endpoints. Before installing or using it: (1) verify and trust the 'openapi-to-cli' npm package (review its repository and release source); (2) only configure API profiles with least-privilege tokens and avoid putting high-privilege secrets in environment variables the agent can access; (3) be aware the agent will be able to make arbitrary HTTP calls to any configured base URL — avoid pointing it at sensitive internal services unless you intend that access; (4) pin package versions or install from a known-good release to reduce supply-chain risk.
功能分析
Type: OpenClaw Skill Name: ocli-api Version: 1.0.0 The ocli-api skill is a legitimate utility designed to allow an AI agent to interact with REST APIs via the 'ocli' CLI tool. It provides structured instructions (SKILL.md) for the agent to search, inspect, and execute API commands based on OpenAPI specifications, including sensible guardrails and error handling. The skill requires the user to manually install the 'openapi-to-cli' npm package and configure API profiles, and it lacks any evidence of malicious intent, data exfiltration, or prompt injection attacks.
能力评估
Purpose & Capability
Name/description say 'turn OpenAPI into CLI commands' and the skill requires the 'ocli' binary; that is coherent. No unrelated binaries, env vars, or config paths are requested.
Instruction Scope
SKILL.md instructs the agent to run ocli commands (search, inspect, execute) against OpenAPI specs. This stays within the declared purpose, but those commands enable the agent to make arbitrary HTTP requests to whatever API base URL/profile is configured — which can access internal endpoints or accept user-supplied tokens. The instructions do not tell the agent to read unrelated local files, but they do encourage parsing JSON responses and supplying request parameters, which could include sensitive values if provided.
Install Mechanism
This is an instruction-only skill (no install spec). The SKILL.md asks users to 'npm install -g openapi-to-cli' in the setup example. That's reasonable for an instruction-only skill, but npm packages run arbitrary code at install/runtime — you should verify the openapi-to-cli package and its provenance before installing.
Credentials
The skill declares no required env vars, yet the setup examples show supplying a bearer token via --api-bearer-token "$TOKEN". This is not inherently malicious, but it's a mismatch: the skill will expect the user (or agent) to provide API tokens for target APIs even though no primaryEnv is declared. Ensure tokens are least-privilege and not left in environments the agent can read unintentionally.
Persistence & Privilege
always is false, no config paths or system-wide modifications are requested. The skill does not request elevated or permanent presence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ocli-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ocli-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of ocli-api - Launches ocli-api for turning any OpenAPI/Swagger API into CLI commands. - Enables endpoint search using BM25 or regex queries. - Supports checking command parameters and executing API calls directly from the CLI. - No MCP server or code generation required; minimal token usage. - Includes guardrails and troubleshooting guidance for common errors.
元数据
Slug ocli-api
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ocli Api 是什么?

Turn any OpenAPI/Swagger API into CLI commands and call them. Search endpoints with BM25, check parameters, execute — no MCP server needed. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 213 次。

如何安装 Ocli Api?

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

Ocli Api 是免费的吗?

是的,Ocli Api 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ocli Api 支持哪些平台?

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

谁开发了 Ocli Api?

由 Valerii Kovalskii(@vakovalskii)开发并维护,当前版本 v1.0.0。

💬 留言讨论