← 返回 Skills 市场
jolestar

Kraken OpenAPI Skill

作者 jolestar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
257
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install kraken-openapi-skill
功能描述
Operate Kraken public market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.
使用说明 (SKILL.md)

Kraken REST Skill

Use this skill to run Kraken public market-data operations through uxc + OpenAPI.

Reuse the uxc skill for shared execution, auth, and error-handling guidance.

Prerequisites

  • uxc is installed and available in PATH.
  • Network access to https://api.kraken.com.
  • Access to the curated OpenAPI schema URL:
    • https://raw.githubusercontent.com/holon-run/uxc/main/skills/kraken-openapi-skill/references/kraken-public.openapi.json

Scope

This skill covers a curated Kraken public surface for:

  • server time
  • asset pair metadata
  • ticker reads
  • OHLC candles
  • order book snapshots

This skill does not cover:

  • private account or trade endpoints in v1
  • Kraken FIX
  • broader non-core platform products

Authentication

Public market endpoints in this skill do not require credentials.

Kraken private REST endpoints use provider-specific header signing and nonce handling. Keep this v1 skill public-data-only until a reusable Kraken signer flow exists in uxc.

Core Workflow

  1. Use the fixed link command by default:

    • command -v kraken-openapi-cli
    • If missing, create it: uxc link kraken-openapi-cli https://api.kraken.com --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/kraken-openapi-skill/references/kraken-public.openapi.json
    • kraken-openapi-cli -h
  2. Inspect operation help before execution:

    • kraken-openapi-cli get:/0/public/Time -h
    • kraken-openapi-cli get:/0/public/Ticker -h
  3. Prefer narrow pair reads first:

    • kraken-openapi-cli get:/0/public/Ticker pair=XBTUSD
    • kraken-openapi-cli get:/0/public/Depth pair=XBTUSD count=20

Operations

  • get:/0/public/Time
  • get:/0/public/AssetPairs
  • get:/0/public/Ticker
  • get:/0/public/OHLC
  • get:/0/public/Depth

Guardrails

  • Keep automation on the JSON output envelope; do not use --text.
  • Parse stable fields first: ok, kind, protocol, data, error.
  • Treat this v1 skill as read-only.
  • Kraken pair naming can differ from other venues. Check AssetPairs before assuming symbol strings.
  • kraken-openapi-cli \x3Coperation> ... is equivalent to uxc https://api.kraken.com --schema-url \x3Ckraken_public_openapi_schema> \x3Coperation> ....

References

安全使用建议
Plain-language next steps and risks to consider before installing: - The skill itself is a read-only Kraken public-market helper and its runtime instructions are narrowly scoped to public endpoints. That is coherent with its description. - However, the package also includes a second OpenAPI file (references/kraken-spot-futures.openapi.json) that documents private/account endpoints (balances, add/cancel order). The SKILL.md instructs you to avoid private endpoints, so the presence of that file is unexplained — inspect it and ask the publisher why it is included before trusting the skill. - The skill relies on uxc and a schema fetched from raw.githubusercontent.com at runtime. Make sure you trust the uxc implementation and that the schema URL is the canonical one you expect; a malicious or tampered schema could cause unintended API calls. - There are no environment variables or credentials requested by this skill now, so it will not ask for your API keys. If you later enable private functionality, require a well-reviewed Kraken signer flow and explicitly scoped credentials. - If you are not familiar with uxc or do not trust the skill author, review the files locally (especially the spot/futures schema and scripts/validate.sh) and confirm the linked schema URL before enabling automatic invocation. If you want higher assurance, ask the skill publisher why the private OpenAPI file is included and request its removal (or justification) before use.
功能分析
Type: OpenClaw Skill Name: kraken-openapi-skill Version: 1.0.0 The skill bundle is a legitimate integration for the Kraken cryptocurrency exchange API using the `uxc` (Universal API Client) tool. It provides instructions and OpenAPI schemas (references/kraken-public.openapi.json) for accessing public market data such as tickers and order books. The SKILL.md and validate.sh files include explicit guardrails and checks to ensure the agent remains within a public, read-only scope and avoids private endpoints requiring complex authentication.
能力评估
Purpose & Capability
SKILL.md and the public OpenAPI (references/kraken-public.openapi.json) are consistent with a read-only Kraken public-market skill. However, the repo also contains references/kraken-spot-futures.openapi.json which documents private /0/private/* endpoints (balances, orders, etc.). Including that private-schema file conflicts with the stated public-only scope and is unnecessary for the described v1 behavior.
Instruction Scope
Runtime instructions stick to public reads via uxc and explicit link/inspect-before-run workflows. They do not instruct reading local secrets or accessing unrelated system paths. Guardrails emphasize read-only use and a private-auth boundary.
Install Mechanism
This is instruction-only (no install spec). The skill expects uxc to be installed and fetches a schema from raw.githubusercontent.com (a common release host). No arbitrary third-party binary downloads or extract operations are included in the skill itself.
Credentials
The skill declares no required env vars or credentials, which matches public-data-only usage. The presence of the separate 'spot-futures' OpenAPI file that defines private endpoints suggests potential future need for credentials—this is not requested now but is an unexplained artifact.
Persistence & Privilege
always:false and no unusual persistence or modification of other skills. Autonomous invocation is allowed (platform default) but not combined with broad credential access in this package.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kraken-openapi-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kraken-openapi-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of kraken-openapi-skill. - Provides public market-data access to Kraken via curated OpenAPI schema and UXC tooling. - Supports key endpoints: server time, asset pair metadata, ticker reads, OHLC, and order book snapshots. - Excludes private/account functions and FIX; read-only, public-surface only. - Includes clear guidance for workflow, authentication, and recommended usage patterns. - Highlights Kraken-specific pair naming and focuses on automation-ready JSON output.
元数据
Slug kraken-openapi-skill
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Kraken OpenAPI Skill 是什么?

Operate Kraken public market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 257 次。

如何安装 Kraken OpenAPI Skill?

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

Kraken OpenAPI Skill 是免费的吗?

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

Kraken OpenAPI Skill 支持哪些平台?

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

谁开发了 Kraken OpenAPI Skill?

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

💬 留言讨论