skills/kraken-tax-export/SKILL.md
Export trade history, ledgers, and cost basis data for tax reporting.
npx skillsauth add krakenfx/kraken-cli kraken-tax-exportInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill for:
Request a full trade export for a tax year:
kraken export-report --report trades --description "2024 tax year" --format CSV --starttm 1704067200 --endtm 1735689600 -o json 2>/dev/null
Check status:
kraken export-status --report trades -o json 2>/dev/null
Download when ready:
kraken export-retrieve <REPORT_ID> -o json 2>/dev/null
Clean up after download:
kraken export-delete <REPORT_ID> -o json 2>/dev/null
Ledgers capture all account activity (trades, deposits, withdrawals, staking rewards, fees):
kraken export-report --report ledgers --description "2024 full ledger" --format CSV --starttm 1704067200 --endtm 1735689600 -o json 2>/dev/null
For smaller date ranges, query directly:
kraken trades-history --ledgers --consolidate-taker -o json 2>/dev/null
Filter by time:
kraken closed-orders --start 1704067200 --end 1735689600 -o json 2>/dev/null
Futures trades are exported separately:
kraken futures history-executions --since 2024-01-01T00:00:00Z --before 2025-01-01T00:00:00Z --sort asc -o json 2>/dev/null
Futures account log (CSV):
kraken futures history-account-log-csv --since 2024-01-01T00:00:00Z --before 2025-01-01T00:00:00Z -o json 2>/dev/null
Complete picture for tax reconciliation:
kraken deposit status --start 1704067200 --end 1735689600 -o json 2>/dev/null
kraken withdrawal status --start 1704067200 --end 1735689600 -o json 2>/dev/null
Staking rewards appear as ledger entries of type staking:
kraken ledgers --type staking --start 1704067200 --end 1735689600 -o json 2>/dev/null
trades-history totals.tools
Connect MCP clients to kraken-cli for native tool calling without subprocess wrappers.
testing
Safely withdraw funds to a pre-approved cold storage address.
testing
Run a weekly portfolio rebalance to maintain target asset allocations.
testing
Ride a trend with a trailing stop that locks in profits on reversal.