技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
crypto-price【数据与研究】Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Get cryptocurrency token price and generate candlestick charts.
Execute the script with token symbol and optional duration:
python3 {baseDir}/scripts/get_price_chart.py <SYMBOL> [duration]
Examples:
python3 {baseDir}/scripts/get_price_chart.py HYPEpython3 {baseDir}/scripts/get_price_chart.py HYPE 12hpython3 {baseDir}/scripts/get_price_chart.py BTC 3hpython3 {baseDir}/scripts/get_price_chart.py ETH 30mpython3 {baseDir}/scripts/get_price_chart.py SOL 2dDuration format: 30m, 3h, 12h, 24h (default), 2d
Returns JSON with:
price - Current price in USD/USDTchange_period_percent - Price change percentage for the periodchart_path - Path to generated PNG chart (if available)text_plain - Formatted text descriptionChart as image (always when chart_path is present):
You must send the chart as a photo, not as text. In your reply, output text_plain and on a new line: MEDIA: followed by the exact chart_path value (e.g. MEDIA: /tmp/crypto_chart_HYPE_1769204734.png). Clawdbot will attach that file as an image. Do not write [chart: path] or any other text placeholder — only the MEDIA: <chart_path> line makes the image appear.
/tmp/crypto_chart_{SYMBOL}_{timestamp}.pngPrice data cached for 300 seconds (5 minutes) in /tmp/crypto_price_*.json.