← 返回 Skills 市场
ouyangabel

CoinGecko Price

作者 ouyangAbel · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
898
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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
安全使用建议
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).
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install coingecko-price
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /coingecko-price 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: query cryptocurrency prices via CoinGecko API
元数据
Slug coingecko-price
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 898 次。

如何安装 CoinGecko Price?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install coingecko-price」即可一键安装,无需额外配置。

CoinGecko Price 是免费的吗?

是的,CoinGecko Price 完全免费(开源免费),可自由下载、安装和使用。

CoinGecko Price 支持哪些平台?

CoinGecko Price 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 CoinGecko Price?

由 ouyangAbel(@ouyangabel)开发并维护,当前版本 v1.0.0。

💬 留言讨论