Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/krakenfx/kraken-cli/kraken-setupnpx skills add krakenfx/kraken-cli --skill kraken-setupgit clone --depth 1 https://github.com/krakenfx/kraken-cliWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/krakenfx/kraken-cli/kraken-setup)<a href="https://agentmods.dev/skills/krakenfx/kraken-cli/kraken-setup"><img src="https://agentmods.dev/badge/skills/krakenfx/kraken-cli/kraken-setup.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.01801 |
| Opus 5 | $0.00013 | $0.00901 |
| Sonnet 5 | $0.00005 | $0.00360 |
| Haiku 4.5 | $0.00003 | $0.00180 |
Grade A, and why
kraken-setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kraken-setup
First-run setup for kraken-cli. Covers install, credentials, paper trading, and handing off to an MCP client.
Use this skill when a user says "set up kraken-cli", "install kraken", "get started", or similar. For wiring the running CLI into Claude, Cursor, Codex, or Gemini, hand off to kraken-mcp-integration.
1. Install the CLI
Pick one. All three land a kraken binary on your PATH.
# Homebrew (macOS, Linux)
brew tap krakenfx/kraken-cli && brew install kraken-cli
# Cargo (any platform with Rust >= 1.77)
cargo install kraken-cli
# Prebuilt binary
# Download from https://github.com/krakenfx/kraken-cli/releases and move `kraken` into a directory on $PATH
Verify:
kraken --version
2. Start with paper trading
Paper trading uses live prices with a simulated balance. No API keys required. Start here.
kraken workspace create sandbox --capital 10000 --mode paper -o json
export KRAKEN_WORKSPACE=sandbox
kraken paper buy BTCUSD 0.01 -o json
kraken workspace status -o json
Futures paper trading works the same way:
kraken futures paper init --balance 10000 -o json
kraken futures paper buy PF_XBTUSD 1 --leverage 10 --type market -o json
kraken futures paper positions -o json
Public market data also needs no credentials:
kraken ticker BTCUSD -o json
kraken orderbook BTCUSD --count 10 -o json
Most agent workflows can do their entire first session on paper and public data.
3. (Optional) Add API credentials for live trading
Only needed if you want to query your real account or place real orders.
Recommended key scope
Generate the narrowest key you can live with. An AI agent should never be able to move funds off the exchange.
- Never enable
Withdraw Funds. Without this permission, even a prompt-injection or credential-exfiltration attack cannot remove assets from your Kraken account. - Start read-only.
Query Funds,Query Open Orders & Trades, andQuery Closed Orders & Tradesare safe for a first session. - Add trading scopes only when you need them.
Create & Modify OrdersandCancel/Close Ordersunlock live trading; no other scope is required for spot. - Enable IP allowlisting if the agent runs from a static IP. Kraken's API settings page lets you lock a key to one or more source IPs.
- Rotate on host change. If you switch machines or re-install the plugin, revoke the old key and generate a new one.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 155 lines · 26 tokens per session scan A fb87548c7621
kraken-setup is a skill published in the GitHub repository krakenfx/kraken-cli (705 stars, last pushed 29d ago), licensed MIT. It adds 26 tokens to every session and 1,801 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
sector-rotation
行业轮动分析——申万行业景气度评分、行业动量排名、产业链传导、估值/盈利/资金流多维比较框架.
strategy-pivot-designer
Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.
twitter-reader
Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…
chenhao-limit-up
Use when evaluating A-share limit-up (涨停板) setups through Chen Hao's sentiment and momentum lens: market emotion cycles, board strength, follow-through, and short-term aggressive momentum trading.
trading-risk-gate
Unified pre-trade safety gate: Ruin check (Law #1), ergodicity audit, and win-rate dominance validation. Absorbs: ergodicity-check, law-of-ruin, win-rate-dominance.
vectorbt
High-performance vectorized backtesting with parameter optimization, portfolio simulation, and rich performance metrics.