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 skills add krakenfx/kraken-cli --skill kraken-funding-carrygit 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-funding-carry)<a href="https://agentmods.dev/skills/krakenfx/kraken-cli/kraken-funding-carry"><img src="https://agentmods.dev/badge/skills/krakenfx/kraken-cli/kraken-funding-carry/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/krakenfx/kraken-cli/kraken-funding-carry"><img src="https://agentmods.dev/badge/skills/krakenfx/kraken-cli/kraken-funding-carry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00021 | $0.00754 |
| Opus 5 | $0.00010 | $0.00377 |
| Sonnet 5 | $0.00004 | $0.00151 |
| Haiku 4.5 | $0.00002 | $0.00075 |
Grade A, and why
kraken-funding-carry 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 12d 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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
kraken-funding-carry
Use this skill for:
- scanning funding rates across perpetual contracts
- identifying carry opportunities (collect funding by being on the receiving side)
- entering hedged carry positions (spot hedge + futures position)
- monitoring ongoing carry yield
Core Concept
Perpetual futures charge periodic funding payments between longs and shorts. When the funding rate is positive, longs pay shorts. When negative, shorts pay longs. A carry strategy positions on the receiving side and hedges with spot to remain market-neutral.
Scan Funding Rates
kraken futures historical-funding-rates PF_XBTUSD -o json 2>/dev/null
kraken futures historical-funding-rates PF_ETHUSD -o json 2>/dev/null
Compare rates across contracts to find the highest yield.
Carry Entry (Positive Funding)
When funding is positive (longs pay shorts):
- Short the perpetual.
- Buy spot as a hedge.
# Hedge: buy spot
kraken order buy BTCUSD 0.01 --type market -o json 2>/dev/null
# Carry: short perpetual (collect funding)
kraken futures order sell PF_XBTUSD 1 -o json 2>/dev/null
Carry Entry (Negative Funding)
When funding is negative (shorts pay longs):
- Long the perpetual.
- Sell spot as a hedge (or skip hedge if already holding).
# Carry: long perpetual (collect funding)
kraken futures order buy PF_XBTUSD 1 -o json 2>/dev/null
# Hedge: sell spot
kraken order sell BTCUSD 0.01 --type market -o json 2>/dev/null
Yield Calculation
Annualized yield = funding_rate * funding_periods_per_year * 100.
Kraken funding periods are typically every 4 or 8 hours (varies by contract). Check contract specs:
kraken futures instruments -o json 2>/dev/null
Monitoring
Track funding accrual:
kraken futures accounts -o json 2>/dev/null
The unrealizedFunding field shows accumulated but unsettled funding.
Watch for funding rate flips:
kraken futures historical-funding-rates PF_XBTUSD -o json 2>/dev/null
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.
- 12d ago First seen · 106 lines · 21 tokens per session scan A c4c95af08168
kraken-funding-carry is a skill published in the GitHub repository krakenfx/kraken-cli (715 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 754 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
mpp-agent
Pay HTTP 402 APIs via Machine Payments Protocol (MPP).
bridge
Cross-chain token transfers using Wormhole and CCTP.
hyperliquid
Hyperliquid L1 perps DEX (69% market share).
marginfi
MarginFi — Solana lending and borrowing.
crypto-market-rank
Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…
trading-signal
Subscribe and retrieve on-chain Smart Money signals. Monitor trading activities of smart money addresses, including buy/sell signals, trigger price, current price, max gain, and exit rate. Use this skill when users are looking for investment opportunities — smart money signals can serve as valuable references for…