skills/market-price-tracker/SKILL.md
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".
npx skillsauth add aaaaqwq/claude-code-skills tracking-crypto-pricesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Foundation skill providing real-time and historical cryptocurrency price data. This skill is the data layer for the crypto plugin ecosystem - 10+ other skills depend on it for price information.
Key Capabilities:
Dependent Skills: This skill provides price data to: market-movers-scanner, crypto-portfolio-tracker, crypto-tax-calculator, defi-yield-optimizer, liquidity-pool-analyzer, staking-rewards-optimizer, crypto-derivatives-tracker, dex-aggregator-router, options-flow-analyzer, arbitrage-opportunity-finder.
Install required dependencies:
pip install requests pandas yfinance
Optional for advanced features:
pip install python-dotenv # For API key management
API Setup (optional, for higher rate limits):
{baseDir}/config/settings.yaml or set environment variable COINGECKO_API_KEYGet current price for any cryptocurrency:
python {baseDir}/scripts/price_tracker.py --symbol BTC
Check multiple assets:
python {baseDir}/scripts/price_tracker.py --symbols BTC,ETH,SOL
Scan predefined watchlists:
# Top 10 by market cap
python {baseDir}/scripts/price_tracker.py --watchlist top10
# DeFi tokens
python {baseDir}/scripts/price_tracker.py --watchlist defi
# Layer 2 tokens
python {baseDir}/scripts/price_tracker.py --watchlist layer2
Available watchlists: top10, defi, layer2, stablecoins, memecoins
Get OHLCV (Open, High, Low, Close, Volume) history:
# Last 30 days
python {baseDir}/scripts/price_tracker.py --symbol BTC --period 30d
# Last 90 days with CSV export
python {baseDir}/scripts/price_tracker.py --symbol BTC --period 90d --output csv
# Custom date range
python {baseDir}/scripts/price_tracker.py --symbol ETH --start 2024-01-01 --end 2024-12-31
Edit {baseDir}/config/settings.yaml to customize:
cache:
spot_ttl: 30 # Seconds to cache spot prices
historical_ttl: 3600 # Seconds to cache historical data
currency:
default: usd # Default fiat currency
watchlists:
custom: # Add your own watchlist
- BTC
- ETH
- SOL
================================================================================
CRYPTO PRICES Updated: [timestamp]
================================================================================
Symbol Price (USD) 24h Change Volume (24h) Market Cap
--------------------------------------------------------------------------------
BTC $97,234.56 +2.34% $28.5B $1.92T
ETH $3,456.78 +1.87% $12.3B $415.2B
SOL $142.34 +5.12% $2.1B $61.4B
--------------------------------------------------------------------------------
Total 24h Change: +2.44% (weighted)
================================================================================
{
"prices": [
{
"symbol": "BTC",
"name": "Bitcoin",
"price": 97234.56,
"currency": "USD",
"change_24h": 2.34,
"volume_24h": 28500000000,
"market_cap": 1920000000000,
"timestamp": "[timestamp]",
"source": "coingecko"
}
],
"meta": {
"count": 1,
"currency": "USD",
"cached": false
}
}
date,open,high,low,close,volume
[date],95000.00,96500.00,94200.00,96100.00,25000000000
[date],96100.00,97800.00,95800.00,97500.00,27000000000
Edit {baseDir}/config/settings.yaml:
# API Configuration
api:
coingecko:
api_key: ${COINGECKO_API_KEY} # Optional, from env
use_pro: false
yfinance:
enabled: true # Fallback source
# Cache Configuration
cache:
enabled: true
spot_ttl: 30 # Spot price TTL (seconds)
historical_ttl: 3600 # Historical data TTL (seconds)
directory: ./data
# Display Configuration
currency:
default: usd
supported:
- usd
- eur
- gbp
- jpy
- cad
- aud
# Predefined Watchlists
watchlists:
top10:
- bitcoin
- ethereum
- tether
- binancecoin
- solana
- ripple
- cardano
- avalanche-2
- dogecoin
- polkadot
defi:
- uniswap
- aave
- chainlink
- maker
- compound-governance-token
- curve-dao-token
- sushi
layer2:
- matic-network
- arbitrum
- optimism
- immutable-x
See {baseDir}/references/errors.md for comprehensive error handling.
| Error | Cause | Solution |
|-------|-------|----------|
| Unknown symbol: XYZ | Invalid cryptocurrency ticker | Check spelling, use --list to search |
| Rate limit exceeded | Too many API calls | Wait 60s, or use API key for higher limits |
| Network error | No internet connection | Check connection, cached data will be used |
| Cache stale | Cached data older than TTL | Data still shown with warning, will refresh |
The skill automatically:
See {baseDir}/references/examples.md for detailed examples including:
python {baseDir}/scripts/price_tracker.py --symbol BTC
Output:
BTC (Bitcoin)
$97,234.56 USD
+2.34% (24h) | Vol: $28.5B | MCap: $1.92T
python {baseDir}/scripts/price_tracker.py --watchlist top10
python {baseDir}/scripts/price_tracker.py --symbol ETH --period 90d --output csv
Creates: {baseDir}/data/ETH_90d_[date].csv
This skill provides the price data foundation for other crypto skills.
Direct Import (recommended for Python skills):
from price_tracker import get_current_prices, get_historical_prices
# Get prices for portfolio valuation
prices = get_current_prices(["BTC", "ETH", "SOL"])
CLI Subprocess (for non-Python or isolation):
PRICES=$(python {baseDir}/scripts/price_tracker.py --symbols BTC,ETH --format json)
Shared Cache (efficient for batch):
Multiple skills can read from {baseDir}/data/cache.json to avoid redundant API calls.
| File | Purpose |
|------|---------|
| scripts/price_tracker.py | Main CLI entry point |
| scripts/api_client.py | CoinGecko/yfinance abstraction |
| scripts/cache_manager.py | Cache read/write/invalidation |
| scripts/formatters.py | Output formatting |
| config/settings.yaml | User configuration |
| data/cache.json | Price cache (auto-generated) |
testing
通用自媒体文章自动发布工具。支持百家号、搜狐号、知乎、微信公众号、小红书、抖音号六个平台的自动化发布流程。使用Playwright自动化实现平台导航和发布,支持通过storageState管理Cookie实现账号切换。
development
# SKILL.md - Model Configuration Status (mcstatus) ## 触发条件 - `/mcstatus` 命令 - 用户询问模型配备、模型配置、model status、模型列表等 ## 功能 实时生成 Agent + Cron 的模型配置报告,展示当前所有 agent 的主模型/fallback链和所有 cron 任务的模型分配。 ## 执行步骤 ### Step 1: 收集 Agent 模型配置 读取各 agent 的 models.json 获取主模型和 fallback 链: ```bash for agent in main ops code quant data research content market finance pm law product sales batch; do config=$(cat ~/.openclaw/agents/$agent/agent/models.json 2>/dev/null) if [ -n "$config" ]; then echo "=== $agent
tools
MCP 服务器智能管理助手。自动检测 MCP 可用性、智能开关、功能问答,提供人性化的 MCP 管理体验。
tools
从GitHub搜索并自动安装配置MCP(Model Context Protocol)服务器工具到Claude配置文件。当用户需要安装MCP工具时触发此技能。工作流程:搜索GitHub上的MCP项目 -> 提取npx配置 -> 添加到~/.claude.json -> 处理API密钥(如有)。