返回 Skill 市场

Market Data

crypto-price

This Skill retrieves cryptocurrency prices and generates dark-themed candlestick charts via a simple CLI. Invoke the script with a token symbol and optional duration (e.g., 30m, 3h, 12h, 2d) to receive a JSON payload containing price (USD/USDT), change_period_percent, chart_path, and text_plain.

Updated today<1 min setup

Overview

This Skill retrieves cryptocurrency prices and generates dark-themed candlestick charts via a simple CLI.

This Skill retrieves cryptocurrency prices and generates dark-themed candlestick charts via a simple CLI. Invoke the script with a token symbol and optional duration (e.g., 30m, 3h, 12h, 2d) to receive a JSON payload containing price (USD/USDT), change_period_percent, chart_path, and text_plain. Charts are produced as 8x8 square PNGs at /tmp/crypto_chart_{SYMBOL}_{timestamp}.png and must be delivered as a photo using the exact MEDIA: <chart_path> line. Data is fetched from Hyperliquid (preferred for HYPE) with CoinGecko as a fallback, and responses are cached for 300 seconds for speed. Use cases include quick price checks, automated bot responses, visual market analysis, and integration into monitoring or trading workflows. Core advantages: standardized JSON output, fast cached queries, and automatic chart generation for seamless automation.

Skill.md

How this skill works

This Skill retrieves cryptocurrency prices and generates dark-themed candlestick charts via a simple CLI. Invoke the script with a token symbol and optional duration (e.g., 30m, 3h, 12h, 2d) to receive a JSON payload containing price (USD/USDT), change_period_percent, chart_path, and text_plain.

SKILL.mdALPHIO / VERIFIED

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 <SYMBOL> [duration]

Examples:

  • python3 {baseDir}/scripts/get_price_chart.py HYPE
  • python3 {baseDir}/scripts/get_price_chart.py HYPE 12h
  • python3 {baseDir}/scripts/get_price_chart.py BTC 3h
  • python3 {baseDir}/scripts/get_price_chart.py ETH 30m
  • python3 {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/USDT
  • change_period_percent - Price change percentage for the period
  • chart_path - Path to generated PNG chart (if available)
  • text_plain - Formatted text description

Chart 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.

Chart Details

  • Format: Candlestick chart (8x8 square)
  • Theme: Dark (#0f141c background)
  • Output: /tmp/crypto_chart_{SYMBOL}_{timestamp}.png

Data Sources

  1. Hyperliquid API - For HYPE and other Hyperliquid tokens (preferred)
  2. CoinGecko API - Fallback for other tokens

Price data cached for 300 seconds (5 minutes) in /tmp/crypto_price_*.json.

Best used for

When to use it

This Skill retrieves cryptocurrency prices and generates dark-themed candlestick charts via a simple CLI. Invoke the script with a token symbol and optional duration (e.g., 30m, 3h, 12h, 2d) to receive a JSON payload containing price (USD/USDT), change_period_percent, chart_path, and text_plain.

01 · PRE-MEETING

Prepare a decision brief

Turn scattered evidence into a structured case before an investment committee meeting.

02 · TEAM WORKFLOW

Standardize handoffs

Create consistent research outputs across analysts, portfolio managers, and agents.

03 · LIVE UPDATE

Refresh the thesis

Update scenarios after a new catalyst, KPI release, or earnings result.

Community notes

Built to improve with use.

随着 Skill 被使用与评审,反馈将展示在这里。

Leave feedback

Discover more

Related skills

View all
免费开始