Crypto Tax Calculator

by BytesAgain

Calculate crypto taxes by importing trades and generating tax reports. Use when importing trades, calculating gains, generating tax reports.

3.7k行业场景未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/bytesagain1/crypto-tax-calc

文档

Crypto Tax Calculator

A financial tracking and analysis tool for recording transactions, managing budgets, reviewing spending categories, generating summaries, and forecasting trends. Crypto Tax Calculator provides 10 focused commands for personal financial management with local data storage.

Commands

CommandDescription
crypto-tax-calc track <description> <amount>Record a transaction with a description and amount
crypto-tax-calc balanceShow current balance information (references local ledger)
crypto-tax-calc summaryDisplay a financial summary for the current month (income vs expenses)
crypto-tax-calc exportExport transaction data to CSV format (outputs to stdout)
crypto-tax-calc budgetShow budget overview with category breakdown (budget, spent, remaining)
crypto-tax-calc historyDisplay the 20 most recent transactions from the data log
crypto-tax-calc alert <item> <threshold>Set a price or budget alert for a specific item at a given threshold
crypto-tax-calc compareCompare the current period against the previous period
crypto-tax-calc forecastGenerate a simple financial forecast based on current trends
crypto-tax-calc categoriesDisplay available spending categories (Food, Transport, Housing, Entertainment, Savings)
crypto-tax-calc helpDisplay available commands and usage information
crypto-tax-calc versionPrint current version (v2.0.0)

Data Storage

All data is stored locally in plain-text files:

  • Location: ~/.local/share/crypto-tax-calc/ (override with CRYPTO_TAX_CALC_DIR env var, or XDG_DATA_HOME)
  • Data file: data.log — main transaction ledger
  • History log: history.log — timestamped operation log for audit trail
  • Format: Pipe-delimited entries with timestamps
  • No cloud sync — everything stays on your machine, no API keys needed

Requirements

  • Bash 4.0+ (uses set -euo pipefail)
  • Standard Unix utilities: date, wc, tail, cat
  • No external dependencies, no API keys, no network access required
  • Works on Linux and macOS

When to Use

  1. Transaction logging — Record daily purchases, income, and transfers with crypto-tax-calc track to build a comprehensive financial history
  2. Budget monitoring — Use budget and categories to review spending by category and see where your money goes each month
  3. Monthly summaries — Run summary to get a quick income-vs-expenses overview for the current period without opening a spreadsheet
  4. Period comparison — Use compare to see how your current spending and income stack up against the previous period and spot trends
  5. Data export — Use export to generate CSV output that can be imported into spreadsheets, tax software, or other financial tools

Examples

bash
# Record a transaction
crypto-tax-calc track "coffee shop" 4.50

# Check your current balance
crypto-tax-calc balance

# View monthly financial summary
crypto-tax-calc summary

# Export all transactions to CSV (pipe to file)
crypto-tax-calc export > transactions.csv

# Review budget breakdown by category
crypto-tax-calc budget

# View recent transaction history
crypto-tax-calc history

# Set a price alert
crypto-tax-calc alert "BTC" 70000

# Compare current vs previous period
crypto-tax-calc compare

# Get a simple forecast based on trends
crypto-tax-calc forecast

# View available spending categories
crypto-tax-calc categories

Configuration

Set the CRYPTO_TAX_CALC_DIR environment variable to change the data directory. Alternatively, set XDG_DATA_HOME to relocate all XDG-compliant app data. Default location: ~/.local/share/crypto-tax-calc/

Disclaimer

⚠️ This tool is for informational and personal tracking purposes only. It is NOT financial or tax advice. Always consult a qualified professional for tax filing and financial decisions.


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

相关 Skills

面试体系设计

by alirezarezvani

Universal
热门

按岗位、级别和团队设计面试流程,生成能力矩阵、题库与评分标准,分析面试官偏差并校准招聘门槛,适合搭建或优化企业招聘体系。

团队招人没章法时,用它快速搭建岗位化面试流程、题库与评分标准,还能兼顾校准面试偏差,招聘更稳更准。

行业场景
未扫描9.0k

抽认卡

by BytesAgain

热门

Spaced repetition study tool with deck management. Use when you need flashcard.

行业场景
未扫描3.7k

教程文档

by anderskev

热门

Tutorial patterns for documentation - learning-oriented guides that teach through guided doing

行业场景
未扫描3.7k

相关 MCP 服务

by boosted-chat

热门

Flight search & booking for AI agents. 400+ airlines, $20-50 cheaper than OTAs.

行业场景
137

Search company disclosures and financial statements from the Korean market. Retrieve stock profiles, market classifications, and historical trading data across major exchanges. Accelerate equity research with accurate, date-specific insights for Korean securities.

做韩国股研时,用它能一站查公司披露、财报和历史行情,按日期精确追溯关键信息,比手动翻交易所高效太多。

行业场景
103

检索韩国市场公司的披露文件与财务报表,并获取股票概况等关键信息。

想研究韩股公司时,它能一站式拉取披露、财报和股票概况,省去跨站查资料的麻烦,对跨境投研尤其省时。

行业场景
103

评论