tracking-crypto-prices by jeremylongshore/claude-code-plugins-plus-skills
npx skills add https://github.com/jeremylongshore/claude-code-plugins-plus-skills --skill tracking-crypto-prices概述 | 先决条件 | 使用说明 | 输出 | 错误处理 | 示例 | 资源
基础技能,提供 10,000 多种加密货币的实时和历史价格数据。这是加密货币插件生态系统的数据层——超过 10 个其他技能依赖它来获取价格信息。
pip install requests pandas yfinancepip install python-dotenv 用于管理 API 密钥${CLAUDE_SKILL_DIR}/config/settings.yaml 或设置 COINGECKO_API_KEY 环境变量检查一个或多个代币符号的当前价格:
python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbol BTC python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbols BTC,ETH,SOL
使用观察列表扫描预定义的代币组(可用选项:top10, , , , ):
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
defilayer2stablecoinsmemecoinspython ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --watchlist top10 # 按市值排名前 10 python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --watchlist defi # DeFi 代币 python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --watchlist layer2 # Layer 2 代币
按时间段或自定义日期范围获取历史数据:
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 全年
通过编辑 ${CLAUDE_SKILL_DIR}/config/settings.yaml 来配置设置,以自定义缓存 TTL、默认货币和自定义观察列表。完整的配置参考请查看 references/implementation.md。
--format json):机器可读格式,包含价格数组和元数据--output csv):OHLCV 历史数据导出到 ${CLAUDE_SKILL_DIR}/data/ 目录详细的输出格式示例请查看 ${CLAUDE_SKILL_DIR}/references/implementation.md。
| 错误 | 原因 | 解决方案 |
|---|---|---|
Unknown symbol: XYZ | 无效的代币符号 | 检查拼写,使用 --list 进行搜索 |
Rate limit exceeded | API 调用过于频繁 | 等待 60 秒,或添加 API 密钥以提高限制 |
Network error | 无网络连接 | 检查网络连接;会自动使用缓存数据 |
Cache stale | 数据早于 TTL 设置 | 显示警告,下次调用时刷新 |
该技能自动管理速率限制:优先使用缓存,指数退避,yfinance 作为备用方案,最后才使用过期的缓存数据。
快速价格查询:
python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbol BTC
# 输出:BTC (Bitcoin) $97,234.56 USD +2.34% (24h) | Vol: $28.5B | MCap: $1.92T
观察列表扫描:
python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --watchlist top10
历史数据导出:
python ${CLAUDE_SKILL_DIR}/scripts/price_tracker.py --symbol ETH --period 90d --output csv
# 创建文件:${CLAUDE_SKILL_DIR}/data/ETH_90d_[date].csv
${CLAUDE_SKILL_DIR}/references/implementation.md - 输出格式、完整配置、集成指南、文件映射每周安装量
222
代码仓库
GitHub 星标数
1.7K
首次出现
2026 年 2 月 1 日
安全审计
安装于
openclaw194
opencode182
gemini-cli178
codex174
cursor170
github-copilot167
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 mapWeekly Installs
222
Repository
GitHub Stars
1.7K
First Seen
Feb 1, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
openclaw194
opencode182
gemini-cli178
codex174
cursor170
github-copilot167
Excel财务建模规范与xlsx文件处理指南:专业格式、零错误公式与数据分析
40,800 周安装