New to Claude Skills? Learn how to install them →

jeremylongshore on GitHub

Tracking Crypto Prices

Free

Monitor real-time and historical cryptocurrency prices effortlessly.

Get this skill

Free · Opens the source repo

What Tracking Crypto Prices does

Tracking Crypto Prices is a foundational skill designed to provide real-time and historical price data for over 10,000 cryptocurrencies. This skill serves as the data layer for a broader ecosystem of crypto-related plugins, supporting more than 10 additional skills that rely on accurate price information. Whether you are a developer building crypto applications or a trader looking to stay updated on market movements, this skill offers the essential infrastructure needed for effective cryptocurrency monitoring.

The skill enables users to check current prices for individual or multiple cryptocurrency symbols and allows for the creation of watchlists that categorize coins based on market cap or specific sectors like DeFi or stablecoins. Users can also fetch historical price data over defined periods, making it easier to analyze trends and make informed decisions. The integration of caching and fallback mechanisms ensures that users receive timely data while managing API rate limits effectively.

For developers, the skill provides a straightforward interface to access cryptocurrency prices via command-line instructions. By using simple commands, users can retrieve price information in various formats, including table, JSON, and CSV. This flexibility allows for easy integration into larger systems or for use in data analysis workflows. The skill also includes error handling features to guide users in troubleshooting common issues, ensuring a smooth experience when accessing cryptocurrency data.

When to use it

Use this skill when you need to check current cryptocurrency prices, monitor market changes, or retrieve historical price data for analysis.

When not to use it

This skill is not suitable for users looking for advanced trading features or real-time trading execution; it focuses solely on price tracking and historical data retrieval.

What you can build with it

Quick Price Check

Use the skill to quickly check the current price of a cryptocurrency by simply entering its symbol.

Monitor Market Trends

Set up watchlists to continuously monitor groups of cryptocurrencies like top market cap coins or DeFi tokens.

Analyze Historical Data

Fetch and export historical price data for in-depth analysis of market trends over specific periods.

How to install Tracking Crypto Prices

View source

1. Install with the skills CLI

npx skills add jeremylongshore/claude-code-plugins-plus-skills/tracking-crypto-prices --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by jeremylongshore

Tracking Crypto Prices

Contents

Overview | Prerequisites | Instructions | Output | Error Handling | Examples | Resources

Overview

Foundation skill providing real-time and historical cryptocurrency price data for 10,000+ coins. This is the data layer for the crypto plugin ecosystem -- 10+ other skills depend on it for price information.

Prerequisites

  1. Install dependencies: pip install requests pandas yfinance
  2. Optional: pip install python-dotenv for API key management
  3. Optional: Get free API key from https://www.coingecko.com/en/api for higher rate limits
  4. Add API key to ${CLAUDE_SKILL_DIR}/config/settings.yaml or set COINGECKO_API_KEY env var

Instructions

  1. Check current prices for one or more symbols:

    python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbol BTC
    python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbols BTC,ETH,SOL
    
  2. Use watchlists to scan predefined groups (available: top10, defi, layer2, stablecoins, memecoins):

    python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --watchlist top10     # Top 10 by market cap
    python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --watchlist defi      # DeFi tokens
    python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --watchlist layer2    # Layer 2 tokens
    
  3. Fetch historical data by period or custom date range:

    python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbol BTC --period 30d
    python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbol BTC --period 90d --output csv
    python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbol ETH --start 2024-01-01 --end 2024-12-31  # 2024 full year
    
  4. Configure settings by editing ${CLAUDE_SKILL_DIR}/config/settings.yaml to customize cache TTLs, default currency, and custom watchlists. See references/implementation.md for the full configuration reference.

Output

  • Table (default): Symbol, price, 24h change, volume, market cap in formatted columns
  • JSON (--format json): Machine-readable with prices array and metadata
  • CSV (--output csv): OHLCV historical data export to ${CLAUDE_SKILL_DIR}/data/

See ${CLAUDE_SKILL_DIR}/references/implementation.md for detailed output format examples.

Error Handling

ErrorCauseSolution
Unknown symbol: XYZInvalid tickerCheck spelling, use --list to search
Rate limit exceededToo many API callsWait 60s, or add API key for higher limits
Network errorNo internetCheck connection; cached data used automatically
Cache staleData older than TTLShown with warning, refreshes on next call

The skill auto-manages rate limits: cache first, exponential backoff, yfinance fallback, stale cache as last resort.

Examples

Quick price check:

python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbol BTC
# Output: BTC (Bitcoin) $97,234.56 USD +2.34% (24h) | Vol: $28.5B | MCap: $1.92T

Watchlist scan:

python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --watchlist top10

Historical export:

python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbol ETH --period 90d --output csv
# Creates: ${CLAUDE_SKILL_DIR}/data/ETH_90d_[date].csv

Resources

  • ${CLAUDE_SKILL_DIR}/references/implementation.md - Output formats, full config, integration guide, file map
  • CoinGecko API - Primary data source
  • yfinance - Fallback for historical data

Frequently asked questions about Tracking Crypto Prices

Similar skills