crypto-gains

Calculate cryptocurrency capital gains with FIFO accounting and generate Form 8949 outputs.

13|3|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/phrazzld/agent-skills --skill crypto-gains
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: crypto-gains
Source: https://github.com/phrazzld/agent-skills/tree/main/packs/finance/crypto-gains
Command: npx skills add https://github.com/phrazzld/agent-skills --skill crypto-gains

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex and error-prone process of calculating cryptocurrency capital gains, ensuring compliance with IRS regulations and simplifying tax reporting.

Core Features & Use Cases

  • FIFO Lot Allocation: Automatically assigns sold assets to the earliest acquired lots.
  • Wash Sale Detection: Identifies and flags wash sales within the 30-day window for securities (not applicable to crypto per current policy).
  • Form 8949 Generation: Produces outputs suitable for IRS Form 8949 and other tax reporting documents.

Quick Start

Run the pnpm gains command to calculate FIFO gains and update cost basis information.

Frequently Asked Questions about crypto-gains

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate crypto capital gains using FIFO lot allocation?

To calculate crypto capital gains using FIFO, the system processes normalized cost basis and transaction data to assign sold assets to the earliest acquired lots, generating accurate capital gains reports and updated lot information.

Can I generate IRS Form 8949 for my cryptocurrency transactions?

Yes, you can generate IRS Form 8949 outputs by processing your normalized transaction data through the system, which produces compliant tax reporting documents based on your calculated capital gains.

Does the wash sale rule apply to crypto tax reporting?

Wash sale detection is included for securities within a 30-day window, but it is not applicable to crypto tax reporting per current policy, though the system still flags these transactions for awareness.

What data do I need to prepare for crypto capital gains tax reporting?

You need normalized cost basis and transaction data to calculate crypto capital gains, which the system uses to perform FIFO accounting, wash sale detection, and Form 8949 generation.

How do I update cost basis information after selling cryptocurrency?

Running the calculation command processes your transaction data using FIFO accounting to automatically update cost basis information and output updated lot details for remaining assets.