recipe-portfolio-snapshot-csv

Export a portfolio snapshot with balances and valuations to CSV.

23 stars

Best use case

recipe-portfolio-snapshot-csv is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Export a portfolio snapshot with balances and valuations to CSV.

Teams using recipe-portfolio-snapshot-csv should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/kraken-official-recipe-portfolio-snapshot-csv/SKILL.md --create-dirs "https://raw.githubusercontent.com/jiayaoqijia/cryptoskill/main/skills/exchanges/kraken-official-recipe-portfolio-snapshot-csv/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/kraken-official-recipe-portfolio-snapshot-csv/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How recipe-portfolio-snapshot-csv Compares

Feature / Agentrecipe-portfolio-snapshot-csvStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Export a portfolio snapshot with balances and valuations to CSV.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Portfolio Snapshot to CSV

> **PREREQUISITE:** Load the following skill to execute this recipe: `kraken-portfolio-intel`

Capture a point-in-time portfolio snapshot combining balances, prices, and earn allocations.

## Steps

1. Get all balances: `kraken balance -o json 2>/dev/null`
2. Identify held assets (non-zero balances)
3. Get prices for all held assets: `kraken ticker BTCUSD ETHUSD SOLUSD -o json 2>/dev/null`
4. Get earn allocations: `kraken earn allocations --hide-zero-allocations --converted-asset USD -o json 2>/dev/null`
5. Calculate USD value per asset
6. Check futures positions: `kraken futures positions -o json 2>/dev/null`
7. Format as CSV: `asset, balance, price_usd, value_usd, earn_allocated, total_exposure`
8. Output to stdout or write to file
9. Include timestamp and total portfolio value as header row

Related Skills

okx-wallet-portfolio

23
from jiayaoqijia/cryptoskill

This skill should be used when the user asks to 'check my wallet balance', 'show my token holdings', 'how much OKB do I have', 'what tokens do I have', 'check my portfolio value', 'view my assets', 'how much is my portfolio worth', 'what\'s in my wallet', or mentions checking wallet balance, total assets, token holdings, portfolio value, remaining funds, DeFi positions, or multi-chain balance lookup. Supports XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, and 20+ other chains. Do NOT use for general programming questions about balance variables or API documentation. Do NOT use when the user is asking how to build or integrate a balance feature into code.

okx-cex-portfolio

23
from jiayaoqijia/cryptoskill

This skill should be used when the user asks about 'account balance', 'how much USDT do I have', 'my funding account', 'show my positions', 'open positions', 'position P&L', 'unrealized PnL', 'closed positions', 'position history', 'realized PnL', 'account bills', 'transaction history', 'trading fees', 'fee tier', 'account config', 'max order size', 'how much can I buy', 'withdrawable amount', 'transfer funds', 'move USDT to trading account', or 'switch position mode'. Requires API credentials. Do NOT use for market prices (use okx-cex-market), placing/cancelling orders (use okx-cex-trade), or grid/DCA bots (use okx-cex-bot).

recipe-withdrawal-to-cold-storage

23
from jiayaoqijia/cryptoskill

Safely withdraw funds to a pre-approved cold storage address.

recipe-weekly-rebalance

23
from jiayaoqijia/cryptoskill

Run a weekly portfolio rebalance to maintain target asset allocations.

recipe-trailing-stop-runner

23
from jiayaoqijia/cryptoskill

Ride a trend with a trailing stop that locks in profits on reversal.

recipe-track-orderbook-depth

23
from jiayaoqijia/cryptoskill

Monitor order book depth and bid-ask imbalance for liquidity signals.

recipe-subaccount-capital-rotation

23
from jiayaoqijia/cryptoskill

Rotate capital between subaccounts based on strategy performance.

recipe-start-dca-bot

23
from jiayaoqijia/cryptoskill

Set up and run a dollar cost averaging bot from paper test to live.

recipe-price-level-alerts

23
from jiayaoqijia/cryptoskill

Set up price level alerts that notify when key levels are crossed.

recipe-paper-strategy-backtest

23
from jiayaoqijia/cryptoskill

Backtest a trading strategy using paper trading against live prices.

recipe-multi-pair-breakout-watch

23
from jiayaoqijia/cryptoskill

Monitor multiple pairs for price breakouts from defined ranges.

recipe-morning-market-brief

23
from jiayaoqijia/cryptoskill

Generate a morning market summary with prices, volume, and portfolio state.