crypto-tax-basics

crypto-tax-basics is a skill for Claude Code, Codex from nirholas/three.ws. It costs 51 tokens per session (1,373 once invoked), scanned A, original, Apache-2.0.

A practical guide to cryptocurrency taxes, covering taxable events, cost basis, DeFi activity, record keeping, and tax-loss harvesting. Cost basis is the amount used to calculate a gain or loss when an asset is sold.

In plain words
What is it for?
It helps explain sales, swaps, staking, mining, airdrops, lending, borrowing, transfers, and methods for tracking gains and losses.
Why use it?
It helps users recognize transactions that may create tax obligations and organize the information needed for reporting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit It helps explain sales, swaps, staking, mining, airdrops, lending, borrowing, transfers, and methods for tracking gains and losses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/three.ws/crypto-tax-basics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nirholas/three.ws --skill crypto-tax-basics
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for crypto-tax-basics

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/crypto-tax-basics/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/crypto-tax-basics)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/crypto-tax-basics"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/crypto-tax-basics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for crypto-tax-basics

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/crypto-tax-basics"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/crypto-tax-basics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,373 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01373
Opus 5.5 $0.00020 $0.00549
Sonnet 5.5 $0.00010 $0.00275
Haiku 4.5 $0.00005 $0.00137

Measured 1mo ago against content hash 4346d30d3aa0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

crypto-tax-basics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

data/skills/portfolio/crypto-tax-basics/SKILL.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Crypto Tax Basics Guide

A practical overview of cryptocurrency taxation for AI agents. Note: Tax laws vary by jurisdiction. Always recommend consulting a tax professional for specific advice.

Taxable Events in Crypto

Generally Taxable

Event Tax Type Notes
Selling crypto for fiat Capital gains Gain/loss = Sale price - Cost basis
Swapping token A for token B Capital gains Treated as sell A + buy B
Using crypto to buy goods/services Capital gains Treated as selling the crypto
Earning crypto (mining, staking rewards) Income Taxed as income at receipt
Receiving airdrop tokens Income Taxed at fair market value when received
DeFi interest/yield Income Taxed as income when received

Generally NOT Taxable

Event Notes
Buying crypto with fiat Not taxable until you sell
Transferring between your own wallets No gain/loss
Gifting (below thresholds) Gift tax may apply above limits
Holding No tax until you dispose

DeFi-Specific Tax Considerations

Lending & Borrowing

Action Tax Treatment
Supplying tokens to lending Generally not taxable (you retain ownership)
Receiving interest Income at receipt
Borrowing Not taxable (it's a loan)
Liquidation Capital gains event on collateral

Liquidity Provision

Action Tax Treatment
Adding liquidity May be taxable swap (depends on jurisdiction)
Receiving LP tokens Represents your pool share
Earning trading fees Income or capital gains (varies)
Removing liquidity May trigger capital gains
Impermanent loss Complex — may not be deductible until realized

Rebasing Tokens (USDs, stETH)

For auto-yield tokens like USDs by Sperax:

  • Each rebase that increases your balance is potentially taxable income
  • The new tokens have a cost basis equal to their value at receipt
  • When you eventually sell, capital gains are calculated from that basis

Read the full file on GitHub · 169 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 169 lines · 51 tokens per session scan A 4346d30d3aa0

Subscribe to this mod's changes

crypto-tax-basics is a skill published in the GitHub repository nirholas/three.ws (249 stars, last pushed yesterday), licensed Apache-2.0. It adds 51 tokens to every session and 1,373 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

at-income-tax

Use this skill whenever asked about Austrian income tax (Einkommensteuer) for self-employed individuals filing form E1. Trigger on phrases like "Einkommensteuer", "ESt", "E1 Erklarung", "Gewinnfreibetrag", "Betriebsausgabenpauschale", "Absetzbetrge", "Sonderausgaben", "selbstandig Steuer Osterreich", "Austrian income…

openaccountants/openaccountants · 183 tokens

be-transfer-pricing

Belgian transfer pricing (verrekenprijzen / prix de transfert) for income year 2026 (assessment year 2027): Belgian companies and Belgian establishments of foreign companies that deal with associated enterprises abroad. Covers the arm's length rule in art. 185, § 2 WIB 92 (upward and downward adjustments), abnormal or…

openaccountants/openaccountants · 286 tokens

algeria-vat

Use this skill whenever asked to prepare, review, or classify transactions for an Algeria TVA (Taxe sur la Valeur Ajoutee) return (G50 declaration) for any client. Trigger on phrases like "prepare TVA return", "Algeria VAT", "G50 declaration", "declaration TVA", "DGI return", or any request involving Algeria VAT…

openaccountants/openaccountants · 155 tokens

bangladesh-vat

Use this skill whenever asked to prepare, review, or classify transactions for a Bangladesh VAT return (Mushak-9.1) or turnover tax return for any client. Trigger on phrases like "prepare VAT return", "Bangladesh VAT", "Mushak", "BIN registration", "NBR filing", or any request involving Bangladesh VAT. Also trigger…

openaccountants/openaccountants · 165 tokens

de-return-assembly

Final orchestrator skill that assembles the complete German filing package for Germany-resident self-employed individuals (Freiberufler and Gewerbetreibende). Consumes outputs from all Germany content skills (germany-vat-return for UStVA, de-income-tax for ESt + EÜR, de-social-contributions for KV/PV/RV, de-trade-tax…

openaccountants/openaccountants · 176 tokens

administrative-obligations-for-employers-in-the-netherlands

Tax year 2026. Use this method for employer registration, onboarding, payroll records, payslips, returns, corrections, annual statements and retention in the European Netherlands. It is an administrative workflow, not a substitute for the employee-specific tax calculation. Identify the actual employer and each…

openaccountants/openaccountants · 21 tokens