Crypto Price & Chart for Openclaw

A powerful utility for fetching real-time cryptocurrency prices and generating professional candlestick charts.

redf426
v1.0.0
Apr 14, 2026
0
689
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install crypto-chart

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install crypto-chart using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Crypto Price & Chart?

The Crypto Price & Chart skill provides AI agents with the ability to query real-time market data across a vast range of digital assets. By leveraging this tool within Openclaw Skills, developers can integrate instant price checks and visual market analysis directly into their agent's workflow. It automatically selects the best data source—prioritizing the Hyperliquid API for native tokens and falling back to CoinGecko—ensuring high reliability and accurate pricing.

This skill isn't just about raw numbers; it generates localized candlestick charts in a clean, dark-themed format. This makes it an essential component for any Openclaw Skills implementation focused on trading, portfolio management, or market research, providing both structured JSON data and visual assets for a comprehensive user experience.

Crypto Price & Chart Use Cases

  • Monitoring real-time price fluctuations for specific crypto tokens.
  • Generating visual market reports for 30m, 3h, 12h, 24h, or 2d intervals.
  • Fetching accurate data for Hyperliquid-native tokens like HYPE.
  • Automating technical analysis checks within an AI agent's chat or dashboard using Openclaw Skills.

How Crypto Price & Chart Works

  1. The agent triggers the script providing a token symbol (e.g., BTC, ETH, HYPE) and an optional duration.
  2. The skill queries the Hyperliquid API (preferred) or the CoinGecko API (fallback) to retrieve historical and current price data.
  3. A professional candlestick chart is generated as a PNG file and stored in the system's temporary directory.
  4. Structured JSON data containing the price, percentage change, and file path is returned to the agent.
  5. The agent moves the chart to the local workspace and delivers the image via the message tool with the formatted text summary.
  6. A mandatory cleanup protocol ensures that both the temporary and workspace image files are deleted after transmission.

Crypto Price & Chart Setup

To use this within your Openclaw Skills environment, ensure Python 3 is installed. The script interacts with public APIs and does not require local database configuration.

# General syntax
python3 {baseDir}/scripts/get_price_chart.py <SYMBOL> [duration]

# Example: Fetching a 12-hour chart for HYPE
python3 scripts/get_price_chart.py HYPE 12h

Crypto Price & Chart Data Schema & Taxonomy

The skill returns a JSON response organized as follows:

Property Description Example
price Current price in USD/USDT 65432.10
change_period_percent Percentage change for the selected timeframe +2.45%
chart_path File system path to the generated PNG /tmp/crypto_chart_BTC_17123.png
text_plain Formatted summary for text-based replies BTC is at $65,432.10 (+2.45%)

Charts are rendered in an 8x8 square format with a dark theme (#0f141c) suitable for modern UI displays.

Crypto Price & Chart Advanced Features

  • Intelligent routing: Automatically selects between Hyperliquid and CoinGecko APIs based on token availability.
  • Customizable Timeframes: Supports five distinct durations ranging from 30 minutes to 2 full days.
  • Efficient Caching: Implements a 300-second local cache for price data to optimize performance and prevent API rate limiting.
  • Seamless Integration: Designed for Openclaw Skills message tool protocols, including mandatory file lifecycle management.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0

Featured*