技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v0.2.2
统计:⭐ 10 · 6.7k · 52 current installs · 55 all-time installs
⭐ 10
安装量(当前) 55
🛡 VirusTotal :良性 · OpenClaw :可疑
Package:crypto-price
安全扫描(ClawHub)
- VirusTotal :良性
- OpenClaw :可疑
OpenClaw 评估
The skill's code and instructions match its stated purpose (fetch prices and generate charts) but the package has sloppy/duplicated code, no clear provenance or homepage, and some minor operational risks — review the Python script before installing or running it in production.
目的
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.
说明范围
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 ad…
安装机制
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.
证书
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.
持久
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.
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Crypto Price」。简介:Get cryptocurrency token price and generate candlestick charts via CoinGecko AP…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/evgyur/crypto-price/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: crypto-price
description: 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.
metadata: {"clawdbot":{"emoji":"📈","requires":{"bins":["python3"]}}}
---
# Crypto Price & Chart
Get cryptocurrency token price and generate candlestick charts.
## Usage
Execute the script with token symbol and optional duration:
```bash
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`.