Crypto Price & Chart for Openclaw

A professional-grade utility for AI agents to fetch live cryptocurrency pricing and generate visual candlestick charts via leading market APIs.

evgyur
v0.2.2
Jan 27, 2026
12
9.1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install crypto-price

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-price 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 a robust bridge between AI agents and real-time financial markets. By integrating this into Openclaw Skills, developers can enable their agents to perform technical analysis and provide instant valuation for thousands of digital assets. The skill is designed to prioritize the Hyperliquid API for specific high-performance tokens while utilizing the CoinGecko API as a comprehensive fallback, ensuring that users always have access to accurate price data.

Beyond simple price retrieval, this tool automates the creation of high-quality candlestick charts. It handles the complex logic of data aggregation and image rendering, allowing the AI to present information visually. This makes Openclaw Skills far more interactive, moving beyond text-based responses to provide professional market visualizations optimized for developer-centric dark themes.

Crypto Price & Chart Use Cases

  • Fetching the current market price of major cryptocurrencies like BTC, ETH, and SOL.
  • Generating technical candlestick charts for specific timeframes to analyze market trends.
  • Building automated portfolio tracking bots that require real-time valuation updates.
  • Providing visual market summaries within an AI-driven chat interface using Openclaw Skills.
  • Researching historical price changes over durations ranging from 30 minutes to 2 days.

How Crypto Price & Chart Works

  1. The AI agent triggers the script with a specific cryptocurrency symbol and an optional timeframe duration.
  2. The skill queries the Hyperliquid API for native tokens or falls back to the CoinGecko API for broader market coverage.
  3. Price data is retrieved and cached locally for 300 seconds to optimize performance and reduce API latency.
  4. If a chart is requested, the system generates a dark-themed PNG candlestick chart stored in a temporary directory.
  5. The skill returns a structured JSON object containing the price, percentage change, and the file path to the generated chart.
  6. The AI agent processes this data and uses a specialized MEDIA tag to display the image to the user within the Openclaw Skills environment.

Crypto Price & Chart Setup

To use this skill, ensure that Python 3 is installed on your environment. The script is executed directly via the command line within the Openclaw Skills framework.

# Standard usage format
python3 {baseDir}/scripts/get_price_chart.py <SYMBOL> [duration]

# Examples of fetching data
python3 {baseDir}/scripts/get_price_chart.py HYPE 12h
python3 {baseDir}/scripts/get_price_chart.py BTC 24h

The supported durations include 30m, 3h, 12h, 24h (default), and 2d.

Crypto Price & Chart Data Schema & Taxonomy

The skill manages its output and persistence using a combination of JSON payloads and temporary file storage. This ensures high-speed access for Openclaw Skills.

Attribute Description Location/Format
price Current token price in USD/USDT JSON Response
change_period_percent Percentage volatility over the selected period JSON Response
chart_path The local system path to the generated PNG /tmp/crypto_chart_*.png
Price Cache Cached data to prevent API rate limiting /tmp/crypto_price_*.json
Chart Theme Dark-themed candlestick visualization 8x8 aspect ratio

Crypto Price & Chart Advanced Features

  • Intelligent API routing that switches between Hyperliquid and CoinGecko based on token availability.
  • Native image rendering support using the MEDIA protocol for seamless visual feedback.
  • Automated 5-minute caching layer to ensure high performance for repeated Openclaw Skills queries.
  • Support for multiple candlestick timeframes ranging from intraday (30m) to multi-day (2d) views.
  • Clean, formatted text summaries provided alongside raw data for immediate AI readability.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*