← Back to Skills Marketplace
ouyangabel

CoinGecko Price

by ouyangAbel · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
898
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install coingecko-price
Description
Query cryptocurrency prices and market data via CoinGecko API. Use when: (1) checking current crypto prices, (2) viewing market cap rankings, (3) monitoring...
README (SKILL.md)

Crypto Price Skill

Query real-time cryptocurrency prices and market data using the free CoinGecko API.

When to Use

  • Check current price of Bitcoin, Ethereum, or any crypto
  • View top cryptocurrencies by market cap
  • Monitor 24-hour price changes
  • Search for specific coins by name or symbol
  • Convert prices to different currencies (USD, CNY, EUR, etc.)

Quick Start

Get Bitcoin Price in USD

python3 scripts/crypto-price.py get bitcoin

Get Ethereum Price in CNY

python3 scripts/crypto-price.py get ethereum cny

View Top 10 Cryptocurrencies

python3 scripts/crypto-price.py top 10

Search for a Coin

python3 scripts/crypto-price.py search solana

Commands

search \x3Ckeyword>

Search for cryptocurrencies by name or symbol.

Example:

python3 scripts/crypto-price.py search bitcoin
# Output: BTC - Bitcoin, ID: bitcoin

get \x3Ccoin_id> [currency]

Get price for a specific cryptocurrency.

  • coin_id: The CoinGecko ID (e.g., bitcoin, ethereum, solana)
  • currency: Optional, defaults to 'usd'. Supported: usd, cny, eur, jpy, gbp, krw, etc.

Example:

python3 scripts/crypto-price.py get bitcoin cny
# Output: 💰 BITCOIN
#         价格: ¥460,123.45
#         24h 涨跌: 🟢 +5.23%

top [limit] [currency]

View top cryptocurrencies by market cap.

  • limit: Number of coins to show (1-100), default 10
  • currency: Optional, defaults to 'usd'

Example:

python3 scripts/crypto-price.py top 5 cny
# Shows top 5 coins with prices in CNY

Finding Coin IDs

Use the search command to find the correct coin_id:

python3 scripts/crypto-price.py search "binance"
# Output: BNB - BNB, ID: binancecoin

Popular coin IDs:

  • bitcoin, ethereum, solana, cardano, polkadot
  • ripple (XRP), binancecoin (BNB), dogecoin, chainlink

Notes

  • Uses free CoinGecko API with rate limits
  • If you see "API 请求过于频繁", wait a minute and retry
  • Prices are for reference only, not financial advice
Usage Guidance
This skill appears coherent and limited to querying CoinGecko's public API. It does make outbound HTTPS requests to api.coingecko.com (the script uses urllib) and includes a custom User-Agent string; those network calls are expected for this functionality. Because the source/homepage is unknown, if you require a higher assurance level you may: (1) review the provided script locally before running, (2) run it in an isolated environment if you are cautious, and (3) be aware of CoinGecko rate limits and that results are for reference only (not financial advice).
Capability Analysis
Type: OpenClaw Skill Name: coingecko-price Version: 1.0.0 The skill bundle is primarily designed for querying cryptocurrency prices via the CoinGecko API. The `SKILL.md` documentation is benign and does not contain prompt injection attempts. However, the `scripts/crypto-price.py` script exhibits a minor vulnerability: the `coin_id` and `currency` parameters, which are user-controlled inputs, are directly inserted into f-strings for URL construction in `get_simple_price` and `get_top_coins` without proper URL encoding (e.g., using `urllib.parse.quote`). While `urllib.parse.quote` is used for the `query` parameter in `search_coins`, its absence for other parameters could allow for URL parameter injection, potentially leading to malformed API requests to CoinGecko. This is a vulnerability, not clear malicious intent, hence classified as suspicious.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md instructions, and the included Python script all consistently implement a CoinGecko price/query tool. No unrelated services, binaries, or credentials are requested.
Instruction Scope
SKILL.md instructs running the included script with clear commands (search/get/top). The instructions and script only fetch data from api.coingecko.com and do not reference or read other system files, environment variables, or external endpoints.
Install Mechanism
There is no install spec; this is instruction-only plus a bundled Python script. No downloads, package installs, or archive extraction are performed by the skill.
Credentials
The skill declares no required environment variables or credentials and the script does not read secrets or config files. Network access to api.coingecko.com is the only external requirement and is proportionate to the purpose.
Persistence & Privilege
The skill does not request always:true and does not modify agent/system configuration. It runs only when invoked and does not persist or request elevated privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install coingecko-price
  3. After installation, invoke the skill by name or use /coingecko-price
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: query cryptocurrency prices via CoinGecko API
Metadata
Slug coingecko-price
Version 1.0.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is CoinGecko Price?

Query cryptocurrency prices and market data via CoinGecko API. Use when: (1) checking current crypto prices, (2) viewing market cap rankings, (3) monitoring... It is an AI Agent Skill for Claude Code / OpenClaw, with 898 downloads so far.

How do I install CoinGecko Price?

Run "/install coingecko-price" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is CoinGecko Price free?

Yes, CoinGecko Price is completely free (open-source). You can download, install and use it at no cost.

Which platforms does CoinGecko Price support?

CoinGecko Price is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created CoinGecko Price?

It is built and maintained by ouyangAbel (@ouyangabel); the current version is v1.0.0.

💬 Comments