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-fee-optimizationnpx skills add krakenfx/kraken-cli --skill kraken-fee-optimizationgit 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-fee-optimization)<a href="https://agentmods.dev/skills/krakenfx/kraken-cli/kraken-fee-optimization"><img src="https://agentmods.dev/badge/skills/krakenfx/kraken-cli/kraken-fee-optimization.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.00023 | $0.00785 |
| Opus 5 | $0.00012 | $0.00392 |
| Sonnet 5 | $0.00005 | $0.00157 |
| Haiku 4.5 | $0.00002 | $0.00078 |
Grade A, and why
kraken-fee-optimization 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 — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kraken-fee-optimization
Use this skill for:
- understanding maker vs taker fee structures
- using post-only orders to guarantee maker rates
- tracking 30-day volume for tier progression
- choosing fee currency to minimize cost
Fee Tiers
Check current 30-day volume and fee rates:
kraken volume --pair BTCUSD -o json 2>/dev/null
The response includes volume (30-day USD equivalent) and fees / fees_maker arrays showing the tier schedule.
Maker vs Taker
- Taker: you remove liquidity (market orders, limit orders that fill immediately). Higher fee.
- Maker: you add liquidity (limit orders that rest on the book). Lower fee, sometimes zero.
At starter tier: 0.26% taker, 0.16% maker. The difference compounds over many trades.
Post-Only Orders
Force maker execution by rejecting orders that would immediately fill:
kraken order buy BTCUSD 0.001 --type limit --price 50000 --oflags post -o json 2>/dev/null
If the order would cross the spread and fill as taker, it is rejected instead. This guarantees maker fees on every fill.
Fee Currency Selection
By default, fees are deducted from the received currency. Override with:
kraken order buy BTCUSD 0.001 --type limit --price 50000 --oflags fciq -o json 2>/dev/null
| Flag | Fee taken from |
|---|---|
fciq |
Quote currency (e.g., USD) |
fcib |
Base currency (e.g., BTC) |
Paying fees in quote currency preserves your base asset balance, useful when accumulating.
Volume-Based Optimization
Higher 30-day volume unlocks lower fees. Track progress:
kraken volume -o json 2>/dev/null
If close to the next tier threshold, consolidating trading activity (rather than splitting across exchanges) can push you into a cheaper bracket.
Futures Fee Schedules
kraken futures feeschedules -o json 2>/dev/null
Futures fee volumes:
kraken futures fee-schedule-volumes -o json 2>/dev/null
Fee-Aware Order Sizing
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 · 110 lines · 23 tokens per session scan A 7f20d573b329
kraken-fee-optimization is a skill published in the GitHub repository krakenfx/kraken-cli (707 stars, last pushed 1mo ago), licensed MIT. It adds 23 tokens to every session and 785 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.