TR

tracking-crypto-portfolio

Monitors cryptocurrency portfolios, provides allocation breakdowns, and tracks performance over time.

Install

mkdir -p .claude/skills/tracking-crypto-portfolio && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2022" && unzip -o skill.zip -d .claude/skills/tracking-crypto-portfolio && rm skill.zip

Installs to .claude/skills/tracking-crypto-portfolio

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Track cryptocurrency portfolio with real-time valuations, allocation
68 charsno explicit “when” trigger
Beginner

Key capabilities

  • Display total portfolio value
  • Show 24h and 7d portfolio changes
  • Break down holdings by asset
  • Analyze asset allocation percentages
  • Flag concentration risks in holdings
  • Export portfolio data to JSON or CSV

How it works

The skill assesses user intent, runs a Python script with the provided portfolio JSON to fetch real-time CoinGecko valuations, calculates metrics, and presents a summary including total value, changes, and allocation warnings.

Inputs & outputs

You give it
A portfolio JSON file containing cryptocurrency holdings
You get back
A summary of total value, changes, asset allocation, and concentration warnings

When to use tracking-crypto-portfolio

  • Check total portfolio value
  • Analyze asset allocation
  • Calculate P&L on holdings
  • Export portfolio performance data

About this skill

Tracking Crypto Portfolio

Overview

Track cryptocurrency holdings with real-time CoinGecko valuations, allocation analysis, P&L tracking, and concentration risk alerts.

Prerequisites

  1. Python 3.8+ installed
  2. Dependencies: pip install requests
  3. Internet connectivity for CoinGecko API access
  4. A portfolio JSON file with your holdings (see references/implementation.md for format)

Instructions

  1. Assess user intent - determine what portfolio view is needed:

    • Quick check: total value and top holdings
    • Holdings list: full breakdown of all positions
    • Detailed analysis: allocations, P&L, risk flags
    • Export: JSON or CSV for external tools
  2. Run the portfolio tracker with appropriate options:

    # Quick portfolio summary
    python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json
    
    # Full holdings breakdown
    python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --holdings
    
    # Detailed analysis with P&L and allocations
    python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --detailed
    
  3. Export results for analysis tools or tax reporting:

    python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --format json --output portfolio_export.json
    python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --format csv --output portfolio.csv
    
  4. Present results to the user:

    • Show total portfolio value prominently
    • Highlight 24h and 7d changes
    • Explain allocation percentages
    • Flag any concentration risks (positions > 25% allocation by default)

Output

Summary showing total value, 24h/7d changes, per-asset allocation, and concentration warnings for positions exceeding threshold:

==============================================================================
  CRYPTO PORTFOLIO TRACKER                          Updated: 2026-01-14 15:30  # 2026 - current year timestamp
==============================================================================

  PORTFOLIO SUMMARY: My Portfolio
------------------------------------------------------------------------------
  Total Value:    $125,450.00 USD
  24h Change:     +$2,540.50 (+2.07%)
  7d Change:      +$8,125.00 (+6.92%)
  Holdings:       8 assets

  TOP HOLDINGS
------------------------------------------------------------------------------
  Coin     Quantity      Price         Value      Alloc   24h
  BTC      0.500     $95,000.00   $47,500.00    37.9%   +2.5%
  ETH      10.000     $3,200.00   $32,000.00    25.5%   +1.8%
  SOL      100.000      $180.00   $18,000.00    14.4%   +4.2%

  WARNING: BTC (37.9%) exceeds 25% threshold

==============================================================================

Error Handling

ErrorCauseSolution
Portfolio file not foundInvalid pathCheck file path exists
Invalid JSONMalformed fileValidate JSON syntax
Coin not foundUnknown symbolCheck symbol spelling, use standard symbols
API rate limitedToo many requestsWait and retry, use caching

See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.

Examples

Portfolio tracking workflows from quick checks to detailed analysis and export:

# Basic portfolio check
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio ~/crypto/holdings.json

# All holdings sorted by allocation
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --holdings --sort allocation

# Detailed analysis with custom 15% threshold
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --detailed --threshold 15

# Export for tax software
python ${CLAUDE_SKILL_DIR}/scripts/portfolio_tracker.py --portfolio holdings.json --format csv --output tax_export.csv

Resources

  • ${CLAUDE_SKILL_DIR}/references/implementation.md - Portfolio file format, CLI options, allocation thresholds, JSON format
  • ${CLAUDE_SKILL_DIR}/references/errors.md - Comprehensive error handling
  • ${CLAUDE_SKILL_DIR}/references/examples.md - Detailed usage examples
  • CoinGecko API: https://www.coingecko.com/en/api
  • ${CLAUDE_SKILL_DIR}/config/settings.yaml - Configuration options

When not to use it

  • When internet connectivity is unavailable

Prerequisites

Python 3.8+ installedDependencies: `pip install requests`Internet connectivity for CoinGecko API accessA portfolio JSON file with your holdings

Limitations

  • Requires a specific portfolio JSON file format

How it compares

This skill automates the process of fetching real-time crypto valuations and performing portfolio analysis, which would otherwise require manual data collection and calculation.

Compared to similar skills

tracking-crypto-portfolio side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
tracking-crypto-portfolio (this skill)527dReviewBeginner
quant-analyst1032moNo flagsAdvanced
stock-analyzer712moReviewBeginner
pair-trade-screener111moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

testing-mobile-apps

jeremylongshore

Execute mobile app testing on iOS and Android devices/simulators. Use when performing specialized testing. Trigger with phrases like "test mobile app", "run iOS tests", or "validate Android functionality".

810

You might also like

quant-analyst

zenobi-us

Expert quantitative analyst specializing in financial modeling, algorithmic trading, and risk analytics. Masters statistical methods, derivatives pricing, and high-frequency trading with focus on mathematical rigor, performance optimization, and profitable strategy development.

103355

stock-analyzer

FrancyJGLisboa

Provides comprehensive technical analysis for stocks and ETFs using RSI, MACD, Bollinger Bands, and other indicators. Activates when user requests stock analysis, technical indicators, trading signals, or market data for specific ticker symbols.

71214

pair-trade-screener

tradermonty

Statistical arbitrage tool for identifying and analyzing pair trading opportunities. Detects cointegrated stock pairs within sectors, analyzes spread behavior, calculates z-scores, and provides entry/exit recommendations for market-neutral strategies. Use when user requests pair trading opportunities, statistical arbitrage screening, mean-reversion strategies, or market-neutral portfolio construction. Supports correlation analysis, cointegration testing, and spread backtesting.

1198

risk-metrics-calculation

wshobson

Calculate portfolio risk metrics including VaR, CVaR, Sharpe, Sortino, and drawdown analysis. Use when measuring portfolio risk, implementing risk limits, or building risk monitoring systems.

881

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

model-usage

openclaw

Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.

548

Search skills

Search the agent skills registry