← 返回 Skills 市场
550
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install coinank-openapi
功能描述
call coinank openapi to get data
使用说明 (SKILL.md)
权限声明
SECURITY MANIFEST:
- Allowed to read: {baseDir}/README.md, {baseDir}/references/*.json
- Allowed to make network requests to: https://open-api.coinank.com
工作流 (按需加载模式)
当用户提出请求时,请严格执行以下步骤:
- 检查API密钥:首先检查环境变量
COINANK_API_KEY是否存在。如果不存在,提示用户设置API密钥。 - 阅读README:仔细阅读README.md
- 目录索引:扫描
{baseDir}/references/目录下的所有文件名,确定哪些 OpenAPI 定义文件与用户需求相关。 - 精准读取:仅读取选定的
.json文件,分析其paths、parameters和requestBody。其中paths内是一个对象,对象的key就是path - 构造请求:使用 curl 执行请求。
- Base URL: 统一使用
https://open-api.coinank.com(或从 JSON 的servers字段提取)。 - Auth: 从环境变量
COINANK_API_KEY中获取 apikey 注入 Header。 - 如果参数有endTime,尽量传入最新的毫秒级时间戳
- OpenAPI文档内的时间戳都是示例.如果用户没有指定时间,请使用最新的时间和毫秒级时间戳
- Base URL: 统一使用
注意事项
- 禁止全量加载:除非用户请求涉及多个领域,否则禁止同时读取多个 JSON 文件。
- 参数校验:在发起请求前,必须根据 OpenAPI 定义验证必填参数是否齐全。
- 错误处理:当请求失败时,向用户显示友好的提示信息,并记录详细的错误日志。
- API密钥配置:用户需要自行设置环境变量
COINANK_API_KEY,例如:export COINANK_API_KEY="your_api_key"
安全使用建议
This skill appears to do what it says: it will read the included OpenAPI JSON files and README and then call https://open-api.coinank.com using the COINANK_API_KEY you supply (sent in the HTTP header). Before installing, confirm you trust coinank.com and are comfortable exposing the API key to that external service. Use a key with minimal privileges if possible and rotate or revoke the key if you stop using the skill. Note that the skill may log request errors (check where agent logs are stored) — avoid putting high-privilege or unrelated secrets into the same environment.
功能分析
Type: OpenClaw Skill
Name: coinank-openapi
Version: 1.0.2
The `SKILL.md` instructs the AI agent to construct `curl` commands for API interaction. While the network requests are restricted to a specific domain (`https://open-api.coinank.com`), the instructions do not explicitly detail input sanitization for user-provided parameters (e.g., `symbol`, `exchange`, `endTime`, `size`) when building these `curl` commands. This creates a potential shell injection vulnerability if the AI agent's execution environment does not adequately sanitize user input before executing shell commands, allowing for unauthorized command execution. However, there is no clear evidence of intentional malicious behavior such as data exfiltration to unauthorized endpoints or persistence mechanisms within the skill bundle.
能力评估
Purpose & Capability
Name/description (coinank-openapi) match the declared requirement (COINANK_API_KEY) and the included OpenAPI reference files; allowed network host is the CoinAnk OpenAPI URL. There are no unrelated env vars, binaries, or install steps requested.
Instruction Scope
SKILL.md restricts runtime actions to checking COINANK_API_KEY, reading README.md and selected OpenAPI JSON files under references/, validating parameters, and issuing curl requests to https://open-api.coinank.com with the apikey header. It does not instruct reading unrelated system files or sending data to other endpoints. It does ask to 'log detailed errors' but does not specify writing to sensitive system paths.
Install Mechanism
No install spec — instruction-only skill. No downloads or package installs are declared, which is the lowest-risk install profile.
Credentials
Only one credential is required (COINANK_API_KEY) and it is declared as the primary credential. That credential is appropriate and necessary for calling the CoinAnk API. No other sensitive env vars or cross-service keys are requested.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges or modifications. It does not require enabling itself permanently or altering other skills' configurations.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install coinank-openapi - 安装完成后,直接呼叫该 Skill 的名称或使用
/coinank-openapi触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Initial release with full repository added, including configuration, hooks, and references.
- Updated SKILL.md to improve workflow: now checks for API key and provides user guidance if missing.
- Enhanced error handling and user messaging for failed requests.
- Added permission to read README.md and included instructions to read it during the workflow.
- Clarified instructions for API key configuration and parameter validation.
v1.0.1
Version 1.0.1 of coinank-openapi
v1.0.0
Initial release of coinank-openapi skill.
- Enables data retrieval from Coinank OpenAPI.
- Requires a COINANK_API_KEY environment variable for authentication.
- Securely reads OpenAPI JSON definitions from local references.
- Constructs requests to https://open-api.coinank.com using file-based API definitions.
- Ensures only necessary OpenAPI files are loaded and required parameters are validated before requests.
元数据
常见问题
coinank-openapi 是什么?
call coinank openapi to get data. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 550 次。
如何安装 coinank-openapi?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install coinank-openapi」即可一键安装,无需额外配置。
coinank-openapi 是免费的吗?
是的,coinank-openapi 完全免费(开源免费),可自由下载、安装和使用。
coinank-openapi 支持哪些平台?
coinank-openapi 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 coinank-openapi?
由 annata(@annata)开发并维护,当前版本 v1.0.2。
推荐 Skills