← 返回 Skills 市场
gold3bear

加密货币雷达

作者 Bear Xiong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
46
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install crypto-radar
功能描述
数字货币行情监控工具。当用户询问「比特币」「以太坊」「BTC」「ETH」「数字货币行情」「加密货币」「Crypto」「比特币价格」「以太坊价格」时使用。使用 Yahoo Finance(实时价格)和 CoinGecko(市值/交易量)双数据源。
使用说明 (SKILL.md)

数字货币雷达 (Crypto Radar)

覆盖品种

币种 代码 类型
比特币 BTC 加密货币之王
以太坊 ETH 智能合约平台
Solana SOL 高性能公链
币安币 BNB 交易所平台币
XRP XRP Ripple 跨境支付
狗狗币 DOGE Meme 币
艾达币 ADA 卡尔达诺

数据获取

Yahoo Finance(实时价格)

import requests

def get_crypto_price(symbol):
    url = f"https://query2.finance.yahoo.com/v8/finance/chart/{symbol}-USD?interval=1d&range=1d"
    headers = {"User-Agent": "Mozilla/5.0"}
    r = requests.get(url, headers=headers, timeout=10)
    meta = r.json()["chart"]["result"][0]["meta"]
    price = meta["regularMarketPrice"]
    prev = meta["chartPreviousClose"]
    chg = price - prev
    pct = chg / prev * 100
    return {"price": price, "chg": chg, "pct": pct}

CoinGecko(市值 + 24h 交易量)

import requests

def get_crypto_markets():
    ids = "bitcoin,ethereum,solana,binancecoin,ripple,cardano,dogecoin"
    url = f"https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids={ids}&order=market_cap_desc&per_page=10&sparkline=false&price_change_percentage=24h"
    r = requests.get(url, headers={"User-Agent": "Mozilla/5.0"}, timeout=10)
    return r.json()
    # 返回: price, market_cap, total_volume, price_change_percentage_24h

情报解读框架

指标 信号
BTC 市占率 > 55% 避险情绪,主流资金抱团
BTC 市占率 \x3C 45% Alt Season(山寨季)
ETH/BTC 比值 \x3C 0.030 ETH 相对 BTC 弱势
ETH/BTC 比值 > 0.050 ETH 强势,可能有 Alt Season
山寨币涨幅 > BTC 3倍 资金外溢,风险偏好上升
全市场市值 vs BTC 判断整体趋势方向

关键比值:

  • ETH/BTC ratio:以太坊相对比特币强弱
  • BTC Dominance:比特币市值占全市场比例
  • 山寨季指数:全市场 vs BTC 的涨跌对比

分析顺序:

  1. BTC 价格 + 市占率(方向)
  2. ETH 价格 + ETH/BTC 比值(Alt 风向标)
  3. 主流山寨(SOL/XRP/DOGE)— 情绪扩散
  4. 全市场市值变化(判断趋势是否延续)

快速查询命令

cd C:\Users\gold3\.openclaw\workspace\skills\crypto-radar\scripts

# 查询全部加密货币行情
python crypto_spot.py
安全使用建议
This skill is internally consistent with its stated purpose: it fetches public crypto data from Yahoo Finance and CoinGecko and prints analysis. Before installing, consider: 1) the skill makes outbound network calls to those public APIs (ensure that's acceptable in your environment and be aware of rate limits); 2) the SKILL.md contains a developer-specific example path (C:\Users\gold3\...)—ignore or adjust that when running; 3) review the included script if you need to restrict which symbols are queried or to add timeouts/logging; and 4) since it can be invoked autonomously (normal default), ensure you’re comfortable with the agent making these harmless network requests on your behalf.
功能分析
Type: OpenClaw Skill Name: crypto-radar Version: 1.0.0 The skill bundle is a cryptocurrency monitoring tool that fetches market data from Yahoo Finance and CoinGecko. The Python script `scripts/crypto_spot.py` and the instructions in `SKILL.md` are consistent with the stated purpose and do not exhibit any signs of data exfiltration, malicious execution, or prompt injection. A hardcoded local path in the documentation (C:\Users\gold3\...) appears to be a non-malicious developer artifact.
能力标签
crypto
能力评估
Purpose & Capability
Name/description promise (crypto market monitoring using Yahoo Finance + CoinGecko) matches the included Python script and SKILL.md. The script only calls the two described public APIs and computes basic ratios; no unrelated services or credentials are requested.
Instruction Scope
SKILL.md and the script stay within the monitoring/analysis scope and only perform network requests to Yahoo Finance and CoinGecko and print results. Minor note: the SKILL.md quick-run example uses a hard-coded user workspace path (C:\Users\gold3\...), which is a developer-specific example and not required for operation—this could confuse users but is not a security issue. The instructions do not ask the agent to read other files, env vars, or send data to unexpected endpoints.
Install Mechanism
There is no install spec (instruction-only with a small Python script). Nothing is downloaded or installed by the skill itself; it relies on standard Python and the requests library being available.
Credentials
The skill requires no environment variables or credentials and uses public REST endpoints with no API keys. No broad or unrelated secrets are requested.
Persistence & Privilege
always is false and the skill does not request permanent presence or modify other skills/configs. disable-model-invocation is false (normal), allowing autonomous invocation which is expected for skills; this does not combine with other red flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install crypto-radar
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /crypto-radar 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
首发:BTC/ETH/SOL等10+币种、DXY/VIX宏观背景
元数据
Slug crypto-radar
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

加密货币雷达 是什么?

数字货币行情监控工具。当用户询问「比特币」「以太坊」「BTC」「ETH」「数字货币行情」「加密货币」「Crypto」「比特币价格」「以太坊价格」时使用。使用 Yahoo Finance(实时价格)和 CoinGecko(市值/交易量)双数据源。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 46 次。

如何安装 加密货币雷达?

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

加密货币雷达 是免费的吗?

是的,加密货币雷达 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

加密货币雷达 支持哪些平台?

加密货币雷达 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 加密货币雷达?

由 Bear Xiong(@gold3bear)开发并维护,当前版本 v1.0.0。

💬 留言讨论