Agent skill · data analytics · jeremylongshore

calculating-crypto-taxes

Calculate cryptocurrency tax obligations with cost basis tracking, capital

Why this skill is useful

Adds executable scripts for calculating crypto taxes, generating reports, and comparing cost basis methods that aren't widely available in public documentation.

What it needs

Requires python installed locally. About 2k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Calculating Crypto Taxes Overview Calculate cryptocurrency tax obligations from transaction history. Supports FIFO, LIFO, and HIFO cost basis methods, identifies taxable events (trades, staking, airdrops), and generates Form 8949 compatible reports. DISCLAIMER: This tool provides informational calculations only, not tax advice. Consult a qualified tax professional. Prerequisites Transaction history exported as CSV from your exchanges (Coinbase, Binance, Kraken, etc.) Python 3.8+ installed Understanding of your tax jurisdiction's crypto rules Instructions 1. Prepare transaction data by exporting CSV from each exchange: Exchange Export Location ---------- ----------------- Coinbase Reports > Tax documents > Transaction history CSV Binance Orders > Trade History > Export Kraken History > Export Generic See ${CLAUDESKILLDIR}/references/exchangeformats.md for column mapping 2. Run basic tax calculation using FIFO (IRS default): 3. Compare cost basis methods to understand tax implications: Methods: --method fifo (IRS default), --method lifo (Last In First Out), --method hifo (minimize gains) 4. Generate Form 8949 report as CSV: 5. Handle income events (staking, airdrops, mining, DeFi yield): 6. Consolidate multi-exchange data into a unified report: Output Reports include short-term and long-term capital gains/losses broken down by transaction, with proceeds, cost basis, and gain/loss per disposal. Summary shows total proceeds, total cost basis, net capital gain, and short/long-term split. Income report lists staking, airdrop, and mining income with fair market values. See ${CLAUDESKILLDIR}/references/implementation.md for detailed output format examples. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/calculating-crypto-taxes

View the source on GitHub

Browse the @skills marketplace