Agent skill

Kraken Funding Carry

by krakenfx in krakenfx/kraken-cli

Earn funding rate payments by positioning on the paying side of perpetuals.

MITAuto-check passedMarketing & SEO

Install Kraken Funding Carry

skills CLI
$ npx skills add krakenfx/kraken-cli --skill kraken-funding-carry -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install krakenfx/kraken-cli kraken-funding-carry --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/krakenfx/kraken-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kraken-funding-carry .claude/skills/kraken-funding-carry && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kraken-funding-carry
GitHub stars
751
Token cost
~777 tokens
SKILL.md length
277 words
Files
1
Skills in repo
59
Repo updated
First seen
Licence
MIT

At a glance

Earn funding rate payments by positioning on the paying side of perpetuals.

  • Works in 2 steps: Short the perpetual. → Buy spot as a hedge.
  • Marketing & SEO work in your project
  • SKILL.md covers Core Concept, Scan Funding Rates, Carry Entry (Positive Funding) and Carry Entry (Negative Funding), plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Kraken Funding Carry is an agent skill from krakenfx/kraken-cli. Earn funding rate payments by positioning on the paying side of perpetuals.

Its SKILL.md is about 780 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Marketing & SEO. The repository describes itself as: The first AI-native CLI for trading crypto, stocks, forex, and derivatives. The licence is MIT.

When your agent uses it

  • Marketing & SEO work in your project

Example prompts

  • “/kraken-funding-carry”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Short the perpetual.
  2. Buy spot as a hedge.

What it can do on your machine

Read from SKILL.md and the folder at commit aa56e59. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kraken Funding Carry loads about 777 tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 277 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~777

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from krakenfx/kraken-cli at commit aa56e59, republished under its MIT licence (© krakenfx). 277 words, ~777 tokens.

Download SKILL.mdSave it as .claude/skills/kraken-funding-carry/SKILL.md (or your agent's skills folder).
name
kraken-funding-carry
description
Earn funding rate payments by positioning on the paying side of perpetuals.
version
1.0.0

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

bash
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):

  1. Short the perpetual.
  2. Buy spot as a hedge.
bash
# 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):

  1. Long the perpetual.
  2. Sell spot as a hedge (or skip hedge if already holding).
bash
# 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:

bash
kraken futures instruments -o json 2>/dev/null

Monitoring

Track funding accrual:

bash
kraken futures accounts -o json 2>/dev/null

The unrealizedFunding field shows accumulated but unsettled funding.

Watch for funding rate flips:

bash
kraken futures historical-funding-rates PF_XBTUSD -o json 2>/dev/null

If the rate flips direction, the position switches from collecting to paying. Exit or reverse.

Exit

Close both legs when carry becomes unprofitable:

bash
kraken futures order buy PF_XBTUSD 1 --reduce-only -o json 2>/dev/null
kraken order sell BTCUSD 0.01 --type market -o json 2>/dev/null

Hard Rules

  • Always hedge carry positions to avoid directional exposure.
  • Monitor funding rates continuously; a flip turns profit into loss.
  • Monitor margin on the futures leg; price moves require margin even when hedged.
  • Requires human approval for all entries and exits.
  • If you hit a mismatch between what you are trying to do and the CLI's interface or responses — including a mismatch between this skill and the installed CLI version's contract — feel free to submit feedback with kraken feedback.

© krakenfx, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/kraken-funding-carry of krakenfx/kraken-cli.

Open the folder on GitHubat commit aa56e59

Compare with similar skills

Kraken Funding Carry next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kraken Funding Carry compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kraken Funding Carry this skillkrakenfx/kraken-cli751—~777Automated safety check: PassMIT
Geo Fundamentalswasp-lang/wasp19k9 repos~861Automated safety check: PassMIT
Ab Testingcoreyhaines31/marketingskills54k3 repos~3.1kAutomated safety check: PassMIT
Hreflang and International SEOAgriciDaniel/claude-seo19k5 repos~3.4kAutomated safety check: PassMIT
Referralscoreyhaines31/marketingskills54k2 repos~2.6kAutomated safety check: PassMIT
SEO GeoReScienceLab/opc-skills1.8k4 repos~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Geo Fundamentals

    wasp-lang/wasp

    Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).

    19k GitHub starsUsed in 9 repos~861 tokens
    Marketing & SEOAuto-check passed
  • Ab Testing

    coreyhaines31/marketingskills

    When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program.

    54k GitHub starsUsed in 3 repos~3.1k tokens
    Marketing & SEOAuto-check passed
  • Hreflang and International SEO

    AgriciDaniel/claude-seo

    Audits, validates and generates hreflang tags for multi-language and multi-region sites in HTML, HTTP headers or XML sitemaps, flagging common code and return-tag mistakes.

    19k GitHub starsUsed in 5 repos~3.4k tokens
    Marketing & SEOAuto-check passed
  • Referrals

    coreyhaines31/marketingskills

    When the user wants to create, optimize, or analyze a referral program, affiliate program, or word-of-mouth strategy.

    54k GitHub starsUsed in 2 repos~2.6k tokens
    Marketing & SEOAuto-check passed
  • SEO Geo

    ReScienceLab/opc-skills

    SEO & GEO (Generative Engine Optimization) for websites. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub starsUsed in 4 repos~2.1k tokens
    Marketing & SEOAuto-check passed
  • Ad Creative

    LeoYeAI/openclaw-marketing-skills

    When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform.

    1k GitHub starsUsed in 8 repos~3.4k tokens
    Marketing & SEOAuto-check passed

More from krakenfx/kraken-cli

All 59 skills in this repo
  • Kraken Alert Patterns

    krakenfx/kraken-cli

    Price alerts, threshold monitoring, and notification triggers for agents.

    751 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Kraken Autonomy Levels

    krakenfx/kraken-cli

    Progress from manual trading to full agent autonomy with controlled risk at each level.

    751 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Kraken Basis Trading

    krakenfx/kraken-cli

    Capture the spot-futures price spread with delta-neutral basis trades.

    751 GitHub stars~802 tokensUpdated 2 mo ago
    Auto-check passed
  • Kraken Dca Strategy

    krakenfx/kraken-cli

    Dollar cost averaging with scheduled buys and performance tracking.

    751 GitHub stars~1k tokensUpdated 2 mo ago
    Auto-check passed
  • Kraken Earn Staking

    krakenfx/kraken-cli

    Discover staking strategies, allocate funds, and track earn positions.

    751 GitHub stars~1k tokensUpdated 2 mo ago
    Auto-check passed
  • Kraken Error Recovery

    krakenfx/kraken-cli

    Handle order failures, network errors, and duplicate submissions safely.

    751 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Kraken Funding Carry

What does Kraken Funding Carry do?

Earn funding rate payments by positioning on the paying side of perpetuals. Kraken Funding Carry is an agent skill from krakenfx/kraken-cli. Earn funding rate payments by positioning on the paying side of perpetuals.

When should I use Kraken Funding Carry?

Kraken Funding Carry fits situations like: marketing & SEO work in your project.

How do I install Kraken Funding Carry in Claude Code?

Run `npx skills add krakenfx/kraken-cli --skill kraken-funding-carry -a claude-code`. Or copy the skill folder (skills/kraken-funding-carry in krakenfx/kraken-cli) into .claude/skills/kraken-funding-carry in your project. Claude Code loads it when a task matches its description.

How do I install Kraken Funding Carry in Codex?

Run `npx skills add krakenfx/kraken-cli --skill kraken-funding-carry -a codex`. Or copy the skill folder (skills/kraken-funding-carry in krakenfx/kraken-cli) into .agents/skills/kraken-funding-carry in your project. Codex loads it when a task matches its description.

Can I use Kraken Funding Carry in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add krakenfx/kraken-cli --skill kraken-funding-carry -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kraken-funding-carry, .gemini/skills/kraken-funding-carry, .github/skills/kraken-funding-carry and .opencode/skills/kraken-funding-carry in your project.

What does Kraken Funding Carry need to run?

SKILL.md names no scripts, command-line tools or credentials: Kraken Funding Carry is instructions for the agent only.

Does Kraken Funding Carry access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kraken Funding Carry safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kraken Funding Carry use?

Kraken Funding Carry is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kraken Funding Carry use?

About 777 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kraken Funding Carry?

Skills that share tags, products or a category with Kraken Funding Carry: Geo Fundamentals (wasp-lang/wasp, 19k stars), Ab Testing (coreyhaines31/marketingskills, 54k stars), Hreflang and International SEO (AgriciDaniel/claude-seo, 19k stars) and Referrals (coreyhaines31/marketingskills, 54k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kraken Funding Carry?

krakenfx (a GitHub organization) maintains it in krakenfx/kraken-cli, which has 751 GitHub stars. The repository holds 59 skills in this directory. The repository was last updated on August 7, 2026.

Source: krakenfx/kraken-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.