kraken-openapi-skill
Operate Kraken public market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-13
- Stars
- ★ 81
- Forks
- 17
01 前言 Front Matter
- name
- kraken-openapi-skill
- description
- Operate Kraken public market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.
02 资源文件 9
- 参考文档_meta.json139 B
- 参考文档agents/openai.yaml331 B
- 参考文档references/kraken-public.openapi.json1.8 KB
- 参考文档references/kraken-spot-futures.openapi.json7.5 KB
- 参考文档references/usage-patterns.md1.1 KB
- 脚本scripts/validate.sh1.8 KB
- 参考文档skill-card.md2.3 KB
- 参考文档SOURCE.md264 B
- 参考文档TRUST.auto.yaml2.2 KB
03 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
uxcis installed and available inPATH.- 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
-
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
-
Inspect operation help before execution:
kraken-openapi-cli get:/0/public/Time -hkraken-openapi-cli get:/0/public/Ticker -h
-
Prefer narrow pair reads first:
kraken-openapi-cli get:/0/public/Ticker pair=XBTUSDkraken-openapi-cli get:/0/public/Depth pair=XBTUSD count=20
Operations
get:/0/public/Timeget:/0/public/AssetPairsget:/0/public/Tickerget:/0/public/OHLCget:/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
AssetPairsbefore assuming symbol strings. kraken-openapi-cli <operation> ...is equivalent touxc https://api.kraken.com --schema-url <kraken_public_openapi_schema> <operation> ....
References
- Usage patterns:
references/usage-patterns.md - Curated OpenAPI schema:
references/kraken-public.openapi.json - Official Kraken API intro: https://docs.kraken.com/api/docs/guides/global-intro
04 同仓库更多 Skills
recipe-performance
Diagnose a specific MetaMask user flow's real-app performance and Sentry critical-user-flow telemetry with deterministic mm-harness recipes. Use for CUF boundaries, cold/warm/background-resume behavior, latency regressions, lifecycle tags, duplicate or blocking network requests, long tasks, layout/paint cost, screen redraws, React rerenders, or browser trace analysis where tests alone cannot prove the real app.
mexc-spot-websocket
MEXC Spot WebSocket workflows for public streams, protobuf handling, depth maintenance, listen keys, and private streams without exposing API keys.
mexc-spot-rest
MEXC Spot REST workflows for public data, signed account requests, orders, wallet/admin actions, and secure signing without exposing API keys.
mexc-futures-websocket
MEXC Futures WebSocket workflows for public streams, private account/order/position streams, ping/pong, subscriptions, and depth maintenance.
0xklen-version-and-refresh-sanctions-lists
暂无简介
verify-tests-cover-changed-lines
Use when a PR adds code that the existing suite may not exercise. Measures patch coverage — the share of newly changed lines hit by tests — before approving.