tracking-crypto-prices
Track real-time cryptocurrency prices across exchanges with historical data and alerts. Provides price data infrastructure for dependent skills (portfolio, tax, DeFi, arbitrage). Use when checking crypto prices, monitoring markets, or fetching historical price data. Trigger with phrases like "check price", "BTC price", "crypto prices", "price history", "get quote for", "what's ETH trading at", "show me top coins", or "track my watchlist".
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- tracking-crypto-prices
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 2.0.0
- description
- Track real-time cryptocurrency prices across exchanges with historical data and alerts. Provides price data infrastructure for dependent skills (portfolio, tax, DeFi, arbitrage). Use when checking crypto prices, monitoring markets, or fetching historical price data. Trigger with phrases like "check price", "BTC price", "crypto prices", "price history", "get quote for", "what's ETH trading at", "show me top coins", or "track my watchlist".
- allowed-tools
- Read, Write, Edit, Grep, Glob, Bash(python:*)
- compatible-with
- claude-code, codex, openclaw
02 资源文件 10
- 参考文档ARD.md26.6 KB
- 参考文档config/settings.yaml4.0 KB
- 参考文档PRD.md18.9 KB
- 参考文档references/errors.md5.5 KB
- 参考文档references/examples.md10.0 KB
- 参考文档references/implementation.md3.7 KB
- 脚本scripts/api_client.py16.0 KB
- 脚本scripts/cache_manager.py11.4 KB
- 脚本scripts/formatters.py12.5 KB
- 脚本scripts/price_tracker.py12.1 KB
03 SKILL.md 正文
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
- Install dependencies:
pip install requests pandas yfinance - Optional:
pip install python-dotenvfor API key management - Optional: Get free API key from https://www.coingecko.com/en/api for higher rate limits
- Add API key to
${CLAUDE_SKILL_DIR}/config/settings.yamlor setCOINGECKO_API_KEYenv var
Instructions
- 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 - 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 - 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 - Configure settings by editing
${CLAUDE_SKILL_DIR}/config/settings.yamlto customize cache TTLs, default currency, and custom watchlists. Seereferences/implementation.mdfor 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
| Error | Cause | Solution |
|---|---|---|
Unknown symbol: XYZ |
Invalid ticker | Check spelling, use --list to search |
Rate limit exceeded |
Too many API calls | Wait 60s, or add API key for higher limits |
Network error |
No internet | Check connection; cached data used automatically |
Cache stale |
Data older than TTL | Shown 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
04 同仓库更多 Skills
zustand-store-ts
Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state/action separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.
zustand-store-creator
Zustand Store Creator - Auto-activating skill for Frontend Development. Triggers on: zustand store creator, zustand store creator Part of the Frontend Development skill category.
zero-trust-config-helper
Zero Trust Config Helper - Auto-activating skill for Security Advanced. Triggers on: zero trust config helper, zero trust config helper Part of the Security Advanced skill category.
zapier-integration-helper
Zapier Integration Helper - Auto-activating skill for Business Automation. Triggers on: zapier integration helper, zapier integration helper Part of the Business Automation skill category.
zai-cli
Execute z.AI CLI providing vision, search, reader, and GitHub exploration via CLI and MCP. Use when user needs image/video analysis, OCR, UI-to-code conversion, error diagnosis, real-time web search, web page to markdown extraction, or GitHub code exploration. Trigger with phrases like "analyze this image", "search the web for", "read this page", "explore this repo", or "use zai". Requires Z_AI_API_KEY.
yt-research
Research competitor YouTube channels, niches, and trending topics for your content strategy. Use this skill whenever the user says "research channels", "analyze competitors", "find trending topics", "niche analysis", "competitive research", "what are other creators doing", "scrape YouTube channels", or wants to understand the competitive landscape for a specific tool or topic area. Use when working with yt research. Trigger with 'yt', 'research'.