crypto-tax-export
Export trade history and tax calculations in formats compatible with Koinly, CoinTracker, CoinLedger, TokenTax, and IRS Form 8949
Skill by agipro
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/serennity007-crypto-tax-export
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/crypto-tax-export
What's inside
- Skill name
crypto-tax-export- Description
- Export trade history and tax calculations in formats compatible with Koinly, CoinTracker, CoinLedger, TokenTax, and IRS Form 8949
- License
- MIT
- Metadata
- author: agipro · version: 0.1.0 · category: trading
- Instructions
- 259 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (6)
- SKILL.md
- demo_cointracker_export.csv
- demo_form_8949.csv
- demo_koinly_export.csv
- planned_features.md · references/
- tax_exporter.py · scripts/
SKILL.md (first lines)
# Crypto Tax Export
Export trade history and tax calculations for tax software and IRS filing. Handles Solana-specific transaction types (Jupiter swaps, LP operations, staking rewards, airdrops) and generates CSVs compatible with Koinly, CoinTracker, CoinLedger, TokenTax, TurboTax/TaxAct, and IRS Form 8949.
> **Disclaimer:** This skill provides data formatting and calculation tools only. It does not constitute tax advice. Consult a qualified tax professional for guidance on reporting cryptocurrency transactions. Tax laws vary by jurisdiction and change frequently.
## Prerequisites
- Python 3.10+
- Trade history data (from internal trade journal, on-chain history, or exchange exports)
- For on-chain reconciliation: Solana RPC or Helius API access (see `helius-api` skill)
- For cost basis: historical price data (see `birdeye-api` or `coingecko-api` skills)
## Capabilities
| Capability | Description |
|---|---|
| Multi-format CSV export | Koinly, CoinTracker, CoinLedger, TokenTax, TurboTax, TaxAct |
| IRS Form 8949 generation | Part I (short-term) and Part II (long-term), columns a through h |
| Solana tx classification | Jupiter swaps, multi-hop routes, LP deposits/withdrawals, staking, airdrops |
| Cost basis methods | FIFO, LIFO, HIFO, Specific Identification |
| Reconciliation | Match on-chain history against internal trade journal |
| Failed tx handling | Identify and exclude failed transactions (no taxable event) |
## Supported Export Formats
### Koinly CSV
Koinly expects a universal import format with these columns:
```
Date,Sent Amount,Sent Currency,Received Amount,Received Currency,Fee Amount,Fee Currency,Net Worth Amount,Net Worth Currency,Label,Description,TxHash
```
Labels: `swap`, `staking`, `airdrop`, `liquidity_in`, `liquidity_out`, `cost`, `gift`, `lost`.
### CoinTracker CSV
```
Date,Received Quantity,Received Currency,Sent Quantity,Sent Currency,Fee Amount,Fee Currency,Tag
```
Tags: `trade`, `staking_reward`, `airdrop`, `lp_deposit`, `lp_withdrawal`.
### CoinLedger CSV
```
Date (UTC),Type,Received Currency,Received Amount,Sent Currency,Sent Amount,Fee Currency,Fee Amount,Exchange/Wallet
```
Types: `Trade`, `Income`, `Gift Received`, `Mining`, `Staking Reward`, `Airdrop`.
### TokenTax CSV
```
Type,BuyAmount,BuyCurrency,SellAmount,SellCurrency,FeeAmount,FeeCurrency,Exchange,Group,Comment,Date
```
Types: `Trade`, `Income`, `Staking`, `Airdrop`, `Spending`.
### TurboTax / TaxAct CSV
Both accept a simplified Form 8949 format:
```
Description of Property,Date Acquired,Date Sold,Proceeds,Cost Basis,Gain or Loss
```
### IRS Form 8949
Part I — Short-term (held one year or less). Part II — Long-term (held more than one year).
Columns:
- **(a)** Description of property (e.g., "2.5 SOL")
- **(b)** Date acquired (MM/DD/YYYY)
- **(c)** Date sold or disposed of (MM/DD/YYYY)
- **(d)** Proceeds (sale price in USD)
- **(e)** Cost or other basis (purchase price in USD + fees)
- **(f)** Code, if any (per IRS instructions)
- **(g)** Adjustment amount
- **(h)** Gain or loss (d minus e, adjusted by g)
Check box: **(A)** if basis reported to IRS, **(B)** if not, **(C)** if Form 1099-B not received.
## Solana Transaction Classification
### Jupiter Swaps (Single-Hop)
A direct token-to-token swap. Classified as a **disposal** of the sent token and **acquisition** of the received token. Each side is a taxable event.
```python
tx = {
"type": "swap",
"sent": {"amount": 1.5, "currency": "SOL", "usd_value": 225.00},
"received": {"amount": 50000, "currency": "BONK", "usd_value": 224.50},
"fee": {"amount": 0.000005, "currency": "SOL", "usd_value": 0.00075},
"timestamp": "2025-03-15T14:30:00Z",
"tx_hash": "5abc...def",
}
```
### Jupiter Swaps (Multi-Hop)
A routed swap through intermediate tokens (e.g., SOL -> USDC -> BONK). Only the **initial send** and **final receive** matter for tax purposes. Intermediate hops are not separate taxable events.
### LP Deposits / Withdrawals
- **Deposit**: Sending tokens to an LP is generally treated as a disposal at fair market value.
- **Withdrawal**: Receiving tokens from an LP is an acquisition at fair market value.
- LP tokens received/burned may be tracked for cost basis continuity.
### Staking Rewards
Staking rewards (SOL validator rewards, liquid staking yield) are **income** at fair market value when received. Cost basis equals the FMV at receipt.
### Airdrops
Airdrops are **income** at fair market value when the recipient gains dominion and control. Some jurisdictions differ on when dominion is established.From Serennity007/awesome-stock-quant-skills, MIT.
More from Serennity007/awesome-stock-quant-skills
- 0.618score
correlation-analysis
Serennity007
Cross-asset correlation analysis including rolling correlation, hierarchical clustering, tail dependence, and regime-dependent correlation
SkillBFreshness: B★ 41Claude Code +9 - 0.618score
coingecko-api
Serennity007
Broad crypto market data from CoinGecko covering 13,000+ tokens.
SkillBFreshness: B★ 41Claude Code +9 - 0.618score
feature-engineering
Serennity007
Feature construction from market data for ML trading models including price, volume, on-chain, and microstructure features
SkillBFreshness: B★ 41Claude Code +9 - 0.618score
cost-basis-engine
agipro
Multi-method cost basis computation including specific identification, FIFO, LIFO, HIFO, and proportional average cost with partial sell handling
SkillBFreshness: B★ 41Claude Code +9 - 0.618score
dex-pool-analysis
Serennity007
AMM pool mechanics comparison across Raydium, Orca, and Meteora including fee structures, pool types, creation patterns, and volume efficiency
SkillBFreshness: B★ 41Claude Code +9 - 0.618score
custom-indicators
Serennity007
Crypto-native indicators including NVT ratio, exchange flow, funding rate signals, holder momentum, and smart money flow
SkillBFreshness: B★ 41Claude Code +9 - 0.617score
ibkr-options-assistant
Serennity007
Interactive Brokers options & stock trading assistant.
SkillBFreshness: B★ 41Claude Code +9 - 0.615score
helius-api
Serennity007
Enhanced Solana RPC with DAS API, parsed transactions, webhooks, and priority fee estimation via Helius
SkillBFreshness: B★ 41Claude Code +9 - 0.615score
birdeye-api
Serennity007
Solana token market data via Birdeye — prices, OHLCV, trades, token metadata, security checks, and trader activity
SkillBFreshness: B★ 41Claude Code +9 - 0.615score
cointegration-analysis
Serennity007
Cointegration testing for pairs trading using Engle-Granger, Johansen, and rolling stability analysis
SkillBFreshness: B★ 41Claude Code +9 - 0.615score
defillama-api
Serennity007
Free DeFi analytics across all chains — TVL, token prices, DEX volumes, fees/revenue, stablecoins, and bridges
SkillBFreshness: B★ 41Claude Code +9 - 0.615score
dex-execution
Serennity007
Solana DEX swap execution via Jupiter aggregator including quoting, transaction building, signing, and confirmation
SkillBFreshness: B★ 41Claude Code +9
Signals
- Stars
- 41
- Forks
- 8
- Open issues
- 1
- Last commit (this folder)
- Aug 25, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.1.0
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from agipro
Cite this page
crypto-tax-export skill. Agent Mart. https://agentmart.dev/skills/serennity007-crypto-tax-export (last updated 2026-10-24)