{"skill":{"slug":"crypto-price","displayName":"Crypto Price","summary":"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.","description":"---\nname: crypto-price\ndescription: 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.\nmetadata: {\"clawdbot\":{\"emoji\":\"📈\",\"requires\":{\"bins\":[\"python3\"]}}}\n---\n\n# Crypto Price & Chart\n\nGet cryptocurrency token price and generate candlestick charts.\n\n## Usage\n\nExecute the script with token symbol and optional duration:\n\n```bash\npython3 {baseDir}/scripts/get_price_chart.py <SYMBOL> [duration]\n```\n\n**Examples:**\n- `python3 {baseDir}/scripts/get_price_chart.py HYPE`\n- `python3 {baseDir}/scripts/get_price_chart.py HYPE 12h`\n- `python3 {baseDir}/scripts/get_price_chart.py BTC 3h`\n- `python3 {baseDir}/scripts/get_price_chart.py ETH 30m`\n- `python3 {baseDir}/scripts/get_price_chart.py SOL 2d`\n\n**Duration format:** `30m`, `3h`, `12h`, `24h` (default), `2d`\n\n## Output\n\nReturns JSON with:\n- `price` - Current price in USD/USDT\n- `change_period_percent` - Price change percentage for the period\n- `chart_path` - Path to generated PNG chart (if available)\n- `text_plain` - Formatted text description\n\n**Chart as image (always when chart_path is present):**  \nYou 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.\n\n## Chart Details\n\n- Format: Candlestick chart (8x8 square)\n- Theme: Dark (#0f141c background)\n- Output: `/tmp/crypto_chart_{SYMBOL}_{timestamp}.png`\n\n## Data Sources\n\n1. **Hyperliquid API** - For HYPE and other Hyperliquid tokens (preferred)\n2. **CoinGecko API** - Fallback for other tokens\n\nPrice data cached for 300 seconds (5 minutes) in `/tmp/crypto_price_*.json`.\n","tags":{"latest":"0.2.2"},"stats":{"comments":0,"downloads":8307,"installsAllTime":61,"installsCurrent":61,"stars":12,"versions":5},"createdAt":1769147666544,"updatedAt":1778485848771},"latestVersion":{"version":"0.2.2","createdAt":1769498220031,"changelog":"Update README: correct chart colors (grey + cyan/magenta swings, gradient mode)","license":null},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"evgyur","userId":"s17bajx0073258tb2b45gkzsvx885e65","displayName":"evgyur","image":"https://avatars.githubusercontent.com/u/120411712?v=4"},"moderation":null}