/install crypto-chart
Crypto Price & Chart
Get cryptocurrency token price and generate candlestick charts.
Usage
Execute the script with token symbol and optional duration:
python3 {baseDir}/scripts/get_price_chart.py \x3CSYMBOL> [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 2d
Duration format: 30m, 3h, 12h, 24h (default), 2d
Output
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 description
Chart as image (always when chart_path is present):
In OpenClaw, send the image via message tool (not plain text placeholder):
- Copy from
/tmpto workspace:cp \x3Cchart_path> ./crypto_chart_\x3CSYMBOL>_\x3Cduration>.png - Send:
message(action="send", filePath="./crypto_chart_\x3CSYMBOL>_\x3Cduration>.png", message="\x3Ctext_plain>") - MANDATORY cleanup — run both commands regardless of send result:
rm ./crypto_chart_\x3CSYMBOL>_\x3Cduration>.pngrm \x3Cchart_path>
- Reply
NO_REPLY.
Do not skip step 3. Files left in workspace accumulate and waste disk space.
Chart Details
- Format: Candlestick chart (8x8 square)
- Theme: Dark (#0f141c background)
- Output:
/tmp/crypto_chart_{SYMBOL}_{timestamp}.png
Data Sources
- Hyperliquid API - For HYPE and other Hyperliquid tokens (preferred)
- CoinGecko API - Fallback for other tokens
Price data cached for 300 seconds (5 minutes) in /tmp/crypto_price_*.json.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install crypto-chart - 安装完成后,直接呼叫该 Skill 的名称或使用
/crypto-chart触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Crypto Chart 是什么?
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 73 次。
如何安装 Crypto Chart?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install crypto-chart」即可一键安装,无需额外配置。
Crypto Chart 是免费的吗?
是的,Crypto Chart 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Crypto Chart 支持哪些平台?
Crypto Chart 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Crypto Chart?
由 redf426(@redf426)开发并维护,当前版本 v1.0.0。