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.

MIT-0 · Free to use, modify, and redistribute. No attribution required.
10 · 6.7k · 52 current installs · 55 all-time installs
MIT-0
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
Name/description align with what is present: a Python script that calls CoinGecko and Hyperliquid APIs and generates candlestick PNGs. Required binary (python3) and declared behavior (cache in /tmp, save chart to /tmp) are consistent with the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run scripts/get_price_chart.py and to attach the PNG from /tmp. The script performs network calls (CoinGecko and Hyperliquid), reads/writes cache files in /tmp, and writes chart PNGs to /tmp — all expected. Note: the script contains duplicated function definitions and truncated/ repeated blocks (indicative of sloppy merges), and caching to /tmp in multi-tenant environments could leak data; verify there are no additional hidden endpoints or file reads before use.
Install Mechanism
No install spec; instruction-only skill with an included Python script and a minimal requirements.txt (matplotlib). No third-party downloads or archive extraction are used. This is low-risk from an installation perspective, but the included script will be executed by the agent when invoked.
Credentials
The skill requests no environment variables or credentials and uses public HTTP APIs (CoinGecko and Hyperliquid). The lack of required secrets is proportional to the stated functionality. Confirm there are no undocumented credentials or config paths referenced in the remainder of the (truncated) script.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges. It writes temporary cache and chart files to /tmp and does not appear to modify other skills or system config. Autonomous invocation is allowed by default (normal for skills); combined with other small issues this increases the need for provenance checks.
What to consider before installing
This skill appears to implement exactly what it says (fetch prices and draw charts), but exercise caution before installing: 1) The package has no homepage and unknown source — prefer skills with clear provenance. 2) Inspect the full scripts/get_price_chart.py file yourself (there are duplicated functions and repeated blocks that look like a sloppy merge). 3) Verify all external endpoints are legitimate (CoinGecko and https://api.hyperliquid.xyz are referenced) and search the code for any other URLs or unexpected network calls. 4) Run the script in an isolated sandbox or test environment first (it writes cache and PNG files to /tmp). 5) If you will deploy this in a shared environment, consider restricting file permissions on /tmp or running in a container to avoid data leakage. 6) Ensure matplotlib and Python are up-to-date and run some sample invocations to confirm outputs match expectations. If you need higher assurance, ask the publisher for the canonical GitHub repository or a signed release before installing.

Like a lobster shell, security has layers — review code before you run it.

Current versionv0.2.2
Download zip
latestvk97aws7k65qyms5kfr5qda5089800ss9

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Runtime requirements

📈 Clawdis
Binspython3

SKILL.md

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.

Files

5 total
Select a file
Select a file to preview.

Comments

Loading comments…