Skip to content
Agentmart
Submit a tool

crypto-tax

Calculate capital gains, DeFi yield, NFT trades and cross-chain activity under FIFO, LIFO or HIFO.

Skill by poorvith-mp

IndexedMIT★ 1
Write a review

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/poorvith-mp-crypto-tax

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.

We use your email only for this newsletter. Privacy

About

Calculate capital gains, DeFi yield, NFT trades and cross-chain activity under FIFO, LIFO or HIFO. Use when calculating capital gains, staking rewards, or DeFi tax lots.

Use cases: finance

No 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. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/crypto-tax

What's inside

Skill name
crypto-tax
Description
Calculate capital gains, DeFi yield, NFT trades and cross-chain activity under FIFO, LIFO or HIFO. Use when calculating capital gains, staking rewards, or DeFi tax lots.
License
MIT
Instructions
60 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • crypto-tax.skill
  • routing.yaml · evals/

SKILL.md (first lines)

# Crypto Tax

Digital asset taxation requires strict tracking of cost-basis lots, characterization of income versus capital gains, and compliance with statutory tax reporting (IRS Form 8949 and Schedule D). Crypto accounting demands rigorous distinction between capital asset disposals, DeFi yield generation, staking rewards, and bridge transfers.

## 1. Taxable Events vs. Non-Taxable Transfers

Categorize blockchain transactions accurately:
- **Non-Taxable Events (Zero Gain/Loss Realized)**:
  - Transferring cryptocurrency between personal self-custody wallets or centralized exchange accounts owned by the same entity.
  - Purchasing cryptocurrency with fiat currency (establishes initial cost basis).
  - Minting an NFT for personal collection without commercial trade.
- **Taxable Capital Asset Disposals (Form 8949)**:
  - Crypto-to-crypto trades (e.g. trading ETH for SOL, or swapping USDC for WBTC on Uniswap).
  - Spending cryptocurrency to purchase goods or services.
  - Selling cryptocurrency or NFTs for fiat currency (USD, EUR).
- **Taxable Ordinary Income (Schedule 1 / Schedule C)**:
  - Staking rewards and validation fees (taxable at fair market value at the exact timestamp received).
  - Mining rewards.
  - Token airdrops and hard-fork distributions upon establishing dominion and control.
  - Payroll or contractor compensation paid in cryptocurrency or stablecoins.

## 2. Cost-Basis Accounting Methodologies

Select an inventory valuation method and apply it consistently:
- **FIFO (First-In, First-Out)**: Default tax standard in most jurisdictions. Oldest acquired coins are treated as sold first. In a bull market, FIFO typically maximizes realized capital gains.
- **HIFO (Highest-In, First-Out)**: Specifically identifies and matches the highest purchase price lots against disposals, minimizing realized capital gains and maximizing tax efficiency.
- **LIFO (Last-In, First-Out)**: Matches the most recently acquired coins against sales.
- *Specific Identification Mandate*: To utilize HIFO, the taxpayer must be able to document specific lot identifiers (transaction hash, wallet address, timestamp, unit basis).

## 3. Mathematical Gain/Loss Calculation
For every disposal transaction:
$$\text{Capital Gain / Loss} = \text{Fair Market Value of Proceeds (USD)} - \text{Cost Basis (USD)} - \text{Transaction/Gas Fees (USD)}$$
- **Holding Period**:
  - *Short-Term Capital Gain*: Asset held for $\le 365$ days (taxed at ordinary income rates, up to 37% federal).
  - *Long-Term Capital Gain*: Asset held for $> 365$ days (taxed at preferential rates: 0%, 15%, or 20%).

## 4. Complex DeFi Transactions
- **Liquidity Pool (LP) Deposits**: Providing liquidity (e.g. ETH/USDC) where LP tokens are minted in exchange for deposited assets may trigger a taxable disposal under strict IRS interpretations. Document as taxable disposal unless conservative non-recognition guidance is formally established.
- **Gas Fees**:
  - Gas fees paid to facilitate a sale or swap deduct directly from proceeds or add to cost basis.
  - Gas fees paid for failed transactions are treated as non-deductible personal losses or investment expenses depending on corporate classification.

## Critical Rules
1. Never assume that trading one cryptocurrency for another is a non-taxable "like-kind exchange" (Section 1031 does not apply to digital assets).
2. Every staking reward and airdrop must be valued in fiat currency at the exact block timestamp it became claimable.
3. Keep complete on-chain wallet histories; missing acquisition cost basis defaults to $0.00, resulting in 100% taxable gains.

## Verification Checklist
- [ ] Complete transaction history exported across all centralized exchanges and self-custodial wallets.
- [ ] Cost-basis methodology (FIFO vs HIFO) applied consistently across all tax years.
- [ ] Capital gains segregated into short-term (<= 365 days) and long-term (> 365 days).
- [ ] Staking rewards, airdrops, and mining revenues categorized as ordinary income.
- [ ] IRS Form 8949 and Schedule D reconciled against aggregate gain/loss totals.

## Anti-Patterns
- NEVER fail to answer the digital asset question on IRS Form 1040/1120 affirmatively if trades occurred.
- NEVER rely on automated exchange 1099-DA/1099-MISC reports alone without cross-reconciling external on-chain wallets.
- NEVER ignore cross-chain bridge transactions; bridging without tracking cost basis breaks asset lineage and causes false capital gain calculations.

From poorvith-mp/skills-finance, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Sep 12, 2026 (1 month ago)
Last release
Oct 2, 2026 (26 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from poorvith-mp

Cite this page

crypto-tax skill. Agent Mart. https://agentmart.dev/skills/poorvith-mp-crypto-tax (last updated 2026-10-24)