技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
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…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: tracking-crypto-prices 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:*) version: 1.27.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Overview | Prerequisites | Instructions | Output | Error Handling | Examples | Resources
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.
pip install requests pandas yfinancepip install python-dotenv for API key management${CLAUDE_SKILL_DIR}/config/settings.yaml or set COINGECKO_API_KEY env varCheck 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.yaml to customize cache TTLs, default currency, and custom watchlists. See references/implementation.md for the full configuration reference.
--format json): Machine-readable with prices array and metadata--output csv): OHLCV historical data export to ${CLAUDE_SKILL_DIR}/data/See ${CLAUDE_SKILL_DIR}/references/implementation.md for detailed output format examples.
| 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.
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
${CLAUDE_SKILL_DIR}/references/implementation.md - Output formats, full config, integration guide, file map