← 返回 Skills 市场
djc00p

Kraken Agent

作者 Deonte Cooper · GitHub ↗ · v1.0.3 · MIT-0
darwinlinux ✓ 安全检测通过
96
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install kraken-agent
功能描述
Discover and use the official Kraken CLI — an AI-native trading tool for crypto, stocks, forex, and derivatives. Use when: setting up a trading agent, paper...
使用说明 (SKILL.md)

Kraken CLI

The official AI-native CLI for trading crypto, stocks, forex, and derivatives on Kraken. Built for agents — structured JSON output, consistent error envelopes, built-in MCP server, and paper trading with no API key required.

Repo: https://github.com/krakenfx/kraken-cli Docs: See AGENTS.md, CONTEXT.md, and skills/ in the repo for agent integration guides.

Install

See the official install instructions in the repo. Single binary, no runtime dependencies.

Verify install:

kraken --version

What It Covers

Asset class Examples
Crypto spot BTC, ETH, SOL — 1,400+ pairs
xStocks (tokenized) AAPL, NVDA, TSLA, SPY, QQQ
Forex EUR/USD, GBP/USD, USD/JPY
Perpetual futures 317 contracts, up to 50x margin
Earn / staking Flexible and bonded strategies

Paper Trading (No API Key Needed)

Safe sandbox against live prices — no account, no real money:

kraken paper init --balance 10000 -o json
kraken paper buy BTCUSD 0.01 -o json
kraken paper status -o json
kraken paper history -o json
kraken paper reset -o json

Futures paper trading also available: kraken futures paper

Live Market Data (No API Key Needed)

kraken ticker BTCUSD -o json
kraken orderbook BTCUSD --count 10 -o json
kraken ohlc BTCUSD --interval 60 -o json

MCP Server

Built-in Model Context Protocol server over stdio — works with Claude, Codex, Gemini CLI, Cursor, and OpenClaw:

kraken mcp                    # market + account + paper (default)
kraken mcp -s market,paper    # read-only, no auth needed
kraken mcp -s all             # all services (dangerous calls require acknowledged=true)

Add to your MCP client config:

{
  "mcpServers": {
    "kraken": {
      "command": "kraken",
      "args": ["mcp", "-s", "market,paper"]
    }
  }
}

Authentication (Live Trading)

# Interactive setup
kraken setup

# Or via environment variables
export KRAKEN_API_KEY="your-key"
export KRAKEN_API_SECRET="your-secret"

Get API keys at: https://www.kraken.com (Settings > API)

⚠️ Never pass keys directly on the CLI — use kraken setup or environment variables to avoid shell history exposure.

Agent Integration Tips

  • Always use -o json — stdout is always valid JSON on success
  • Route on the error field in error envelopes, not message
  • Paper trading is the right starting point for any new agent setup
  • The repo's skills/ folder contains 50 goal-oriented workflow packages
  • AGENTS.md and CONTEXT.md in the repo cover rate limits, error handling, and invocation patterns
安全使用建议
This skill is an instruction-only guide to using an external Kraken CLI binary and appears coherent. Before installing or following its instructions: 1) Verify the upstream GitHub repo and release artifacts (checksums, signatures) to ensure you download the official kraken binary; 2) Prefer paper trading while testing; don't provide live API keys to an agent or paste them on the CLI — use secure environment storage or short-lived/least-privilege keys and rotate them; 3) If you enable the MCP server or add the CLI to an agent config, limit the server scope (e.g., market,paper) rather than allowing 'all' unless you fully trust the runtime and the agent's safeguards; 4) Consider running the CLI in an isolated environment (container or VM) and reviewing agent logs/commands that could trigger real trades; and 5) If you need higher assurance, inspect the upstream repo code and release process yourself or ask an engineer to do so.
功能分析
Type: OpenClaw Skill Name: kraken-agent Version: 1.0.3 The skill bundle provides documentation and usage instructions for the Kraken CLI, an official-looking tool for cryptocurrency and financial trading. It promotes safe practices such as paper trading without API keys and explicitly warns against insecure credential handling (e.g., avoiding shell history exposure). No malicious code, data exfiltration logic, or prompt injection attempts were identified in SKILL.md or _meta.json.
能力标签
crypto
能力评估
Purpose & Capability
The name and description match the SKILL.md content: it documents the official Kraken CLI, paper trading, MCP usage, and live auth. There are no unexplained environment variables, binaries, or config paths requested by the skill itself.
Instruction Scope
Runtime instructions stay on-topic: installation pointers, example CLI commands, MCP configuration, and guidance for using API keys for live trading. The doc does not instruct reading unrelated files, collecting arbitrary host data, or exfiltrating secrets. It does advise using environment variables for API keys when enabling live trading, which is reasonable but should be handled cautiously by the user/agent.
Install Mechanism
No install spec or code is included; the skill only links to the upstream project on GitHub and refers to the single binary 'kraken'. This minimizes on-disk risk but requires you to obtain the CLI from the upstream source and verify it yourself.
Credentials
The skill itself requires no environment variables, but it documents using KRAKEN_API_KEY and KRAKEN_API_SECRET for live trading. That is proportionate to the claimed feature (live trading) but is sensitive: exposing these creds to an agent or shell history could enable real trades. The doc correctly warns against passing keys directly on the CLI.
Persistence & Privilege
Skill flags are default (always:false, agent-invocable allowed). The skill does not request persistent presence or elevated privileges, nor does it attempt to modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kraken-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kraken-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Replace inline curl|sh installer with link to official install docs — this is a pointer skill, not an installer.
v1.0.2
Revert to clean install instructions — simpler is better.
v1.0.1
Add binary signature verification via minisign — preferred alternative to curl|sh install. Addresses supply-chain install risk.
v1.0.0
Initial release — discover and use the official Kraken CLI for AI-native crypto, stock, forex, and futures trading. Paper trading, MCP server, and live market data.
元数据
Slug kraken-agent
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Kraken Agent 是什么?

Discover and use the official Kraken CLI — an AI-native trading tool for crypto, stocks, forex, and derivatives. Use when: setting up a trading agent, paper... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 96 次。

如何安装 Kraken Agent?

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

Kraken Agent 是免费的吗?

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

Kraken Agent 支持哪些平台?

Kraken Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。

谁开发了 Kraken Agent?

由 Deonte Cooper(@djc00p)开发并维护,当前版本 v1.0.3。

💬 留言讨论