Agent Skillskrakenfx/kraken-cli › kraken-earn-staking

kraken-earn-staking

GitHub

用于管理 Kraken 平台的质押赚取功能,包括浏览策略、分配和解除资金分配以及监控当前头寸状态。

skills/kraken-earn-staking/SKILL.md krakenfx/kraken-cli

Trigger Scenarios

查询加密货币质押或收益策略 执行资金质押或解押操作 查看当前质押持仓及状态

Install

npx skills add krakenfx/kraken-cli --skill kraken-earn-staking -g -y
More Options

Use without installing

npx skills use krakenfx/kraken-cli@kraken-earn-staking

指定 Agent (Claude Code)

npx skills add krakenfx/kraken-cli --skill kraken-earn-staking -a claude-code -g -y

安装 repo 全部 skill

npx skills add krakenfx/kraken-cli --all -g -y

预览 repo 内 skill

npx skills add krakenfx/kraken-cli --list

SKILL.md

Frontmatter
{
    "name": "kraken-earn-staking",
    "version": "1.0.0",
    "metadata": {
        "openclaw": {
            "category": "finance"
        },
        "requires": {
            "bins": [
                "kraken"
            ]
        }
    },
    "description": "Discover staking strategies, allocate funds, and track earn positions."
}

kraken-earn-staking

Use this skill for:

  • browsing available earn/staking strategies
  • allocating funds to earn products
  • deallocating (unstaking) funds
  • monitoring current allocations and status

Discover Strategies

Lock types

  • "bonded": The strategy has bonding and/or unbonding period that lock up funds
  • "instant": Known as "flexible". The funds are immediately allocated or deallocated without a lock-up period
  • "flex": Known as "auto-earn". No lock-up period. Funds are available for anything - trading, withdrawal, etc. without having to explicitly deallocate them

When communicating to client, use the front-end terminology rather than API terminology (so bonded, flexible and auto-earn).

Flex

  • Better known as auto-earn
  • Funds in eligible wallet (i.e. spot wallet) are implicitly allocated
  • No lock-up period
  • Funds cannot be explicitly allocated to or deallocated from a strategy via API — Auto-Earn manages this automatically based on settings
  • Auto-earn preferences (enable/disable per yield source) can be set in user settings, but not via API
  • The granularity of control per yield source: staking, opt-in-rewards, base-rewards
  • can_allocate and can_deallocate on flex strategy are always false even if user is eligible for the flex strategy

Examples

List all strategies for an asset:

kraken earn strategies --asset ETH -o json 2>/dev/null

Filter by lock type:

kraken earn strategies --asset ETH --lock-type instant -o json 2>/dev/null
kraken earn strategies --asset DOT --lock-type bonded -o json 2>/dev/null

Paginate results:

kraken earn strategies --limit 10 --cursor <CURSOR> --ascending -o json 2>/dev/null

Key fields in each strategy: id, asset, apr_estimate, lock_type, min_amount, can_allocate, can_deallocate, yield_source.

Allocation Workflow

  1. Pick a strategy from the list and note its id.
  2. Allocate funds (requires human approval):
    kraken earn allocate <STRATEGY_ID> 1.5 -o json 2>/dev/null
    
  3. Check allocation status (bonded strategies may have a lock-up period):
    kraken earn allocate-status <STRATEGY_ID> -o json 2>/dev/null
    

Deallocation Workflow

  1. Deallocate (requires human approval):
    kraken earn deallocate <STRATEGY_ID> 1.0 -o json 2>/dev/null
    
  2. Check deallocation status:
    kraken earn deallocate-status <STRATEGY_ID> -o json 2>/dev/null
    

Bonded strategies may have unbonding periods. The status response indicates whether funds are pending or available.

View Current Allocations

kraken earn allocations -o json 2>/dev/null

Filter out zero balances:

kraken earn allocations --hide-zero-allocations -o json 2>/dev/null

Convert to a reference currency for comparison:

kraken earn allocations --converted-asset USD --hide-zero-allocations -o json 2>/dev/null

Strategy Selection Pattern

When helping a user choose a strategy:

  1. List strategies for the asset.
  2. Compare apr_estimate, lock_type, and min_amount.
  3. Present a summary: flexible strategies offer instant access; bonded strategies lock funds for higher yield.
  4. Confirm the user's choice before allocating.

Hard Rules

  • Allocate and deallocate are flagged as dangerous. Never execute without explicit human approval.
  • Always show the lock type and any unbonding period before allocation.
  • For bonded strategies, warn the user that funds will be locked for the stated duration.
  • Check can_allocate and can_deallocate fields before attempting operations.
  • 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.

Version History

  • aa56e59 Current 2026-08-20 04:44
  • aa32814 2026-07-25 10:28

Same Skill Collection

skills/kraken-alert-patterns/SKILL.md
skills/kraken-autonomy-levels/SKILL.md
skills/kraken-basis-trading/SKILL.md
skills/kraken-dca-strategy/SKILL.md
skills/kraken-error-recovery/SKILL.md
skills/kraken-fee-optimization/SKILL.md
skills/kraken-funding-carry/SKILL.md
skills/kraken-funding-ops/SKILL.md
skills/kraken-futures-risk/SKILL.md
skills/kraken-grid-trading/SKILL.md
skills/kraken-lab-experiment/SKILL.md
skills/kraken-liquidation-guard/SKILL.md
skills/kraken-market-intel/SKILL.md
skills/kraken-mcp-integration/SKILL.md
skills/kraken-multi-pair/SKILL.md
skills/kraken-order-types/SKILL.md
skills/kraken-paper-strategy/SKILL.md
skills/kraken-paper-to-live/SKILL.md
skills/kraken-playground/SKILL.md
skills/kraken-portfolio-intel/SKILL.md
skills/kraken-rate-limits/SKILL.md
skills/kraken-rebalancing/SKILL.md
skills/kraken-risk-operations/SKILL.md
skills/kraken-setup/SKILL.md
skills/kraken-spot-execution/SKILL.md
skills/kraken-stop-take-profit/SKILL.md
skills/kraken-subaccount-ops/SKILL.md
skills/kraken-tax-export/SKILL.md
skills/kraken-twap-execution/SKILL.md
skills/kraken-ws-streaming/SKILL.md
skills/recipe-basis-trade-entry/SKILL.md
skills/recipe-daily-pnl-report/SKILL.md
skills/recipe-drawdown-circuit-breaker/SKILL.md
skills/recipe-earn-yield-compare/SKILL.md
skills/recipe-emergency-flatten/SKILL.md
skills/recipe-fee-tier-progress/SKILL.md
skills/recipe-funding-rate-scan/SKILL.md
skills/recipe-futures-hedge-spot/SKILL.md
skills/recipe-launch-grid-bot/SKILL.md
skills/recipe-morning-market-brief/SKILL.md
skills/recipe-multi-pair-breakout-watch/SKILL.md
skills/recipe-paper-strategy-backtest/SKILL.md
skills/recipe-playground-dca-triggered/SKILL.md
skills/recipe-playground-dca/SKILL.md
skills/recipe-playground-price-alert/SKILL.md
skills/recipe-playground-rebalance/SKILL.md
skills/recipe-playground-webhook/SKILL.md
skills/recipe-portfolio-snapshot-csv/SKILL.md
skills/recipe-price-level-alerts/SKILL.md

Metadata

Files
0
Version
aa56e59
Hash
19f0ece9
Indexed
2026-07-25 10:28

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 02:02
浙ICP备14020137号-1 $방문자$