Back to Skills

calculating-crypto-taxes

verified

Calculate cryptocurrency tax obligations with cost basis tracking, capital gains computation, and Form 8949 generation. Use when calculating crypto taxes, generating tax reports, comparing cost basis methods, or identifying taxable events. Trigger with phrases like "calculate crypto taxes", "generate tax report", "cost basis FIFO", "capital gains", "Form 8949", or "crypto taxable events".

View on GitHub

Marketplace

claude-code-plugins-plus

jeremylongshore/claude-code-plugins-plus-skills

Plugin

crypto-tax-calculator

crypto

Repository

jeremylongshore/claude-code-plugins-plus-skills
1.1kstars

plugins/crypto/crypto-tax-calculator/skills/calculating-crypto-taxes/SKILL.md

Last Verified

January 22, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/main/plugins/crypto/crypto-tax-calculator/skills/calculating-crypto-taxes/SKILL.md -a claude-code --skill calculating-crypto-taxes

Installation paths:

Claude
.claude/skills/calculating-crypto-taxes/
Powered by add-skill CLI

Instructions

# Calculating Crypto Taxes

## Overview

Calculate cryptocurrency tax obligations from transaction history. Supports multiple cost basis methods (FIFO, LIFO, HIFO), 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 for your specific situation.

## Prerequisites

Before using this skill, ensure you have:

- 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

### Step 1: Prepare Transaction Data

Export your transaction history from each exchange as CSV. Supported formats:

| Exchange | Export Location |
|----------|-----------------|
| Coinbase | Reports → Tax documents → Transaction history CSV |
| Binance | Orders → Trade History → Export |
| Kraken | History → Export |
| Generic | See `{baseDir}/references/exchange_formats.md` for column mapping |

### Step 2: Run Basic Tax Calculation

Execute the tax calculator with your transaction file:

```bash
python {baseDir}/scripts/tax_calculator.py --transactions your_trades.csv --year 2025
```

This uses FIFO (IRS default) and outputs:
- Total capital gains/losses
- Short-term vs long-term breakdown
- Summary of taxable events

### Step 3: Choose Cost Basis Method

Compare different methods to understand tax implications:

```bash
python {baseDir}/scripts/tax_calculator.py --transactions trades.csv --compare-methods
```

Or specify a method:

| Method | Flag | Description |
|--------|------|-------------|
| FIFO | `--method fifo` | First In First Out (IRS default) |
| LIFO | `--method lifo` | Last In First Out |
| HIFO | `--method hifo` | Highest In First Out (minimize gains) |

### Step 4: Generate Tax Report

Create Form 8949 compatible CSV:

```bash
python {baseDir}/scripts/tax_calculator.py --transactions trades.cs

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
5608 chars