← 返回 Skills 市场
newbienodes

BTC Analyzer

作者 Indra Riswana · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
914
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install btc-analyzer
功能描述
Fetch live BTCUSDT 15m candles from Binance public API and analyze market direction UP/DOWN/SKIP using EMA20 and RSI14. Use when asked to analyze BTC price d...
使用说明 (SKILL.md)

\r \r

BTC Analyzer\r

\r Fetch real-time BTCUSDT candlestick data from Binance public REST API and compute a directional trading signal based on EMA20 slope and RSI14 momentum.\r \r

When to Use\r

\r

  • User asks: "analisa BTC sekarang"\r
  • User asks: "BTC akan naik atau turun?"\r
  • User asks: "berikan sinyal trading BTC 15 menit"\r
  • User asks: "cek market BTC sekarang"\r \r

How It Works\r

\r This skill runs a local Python script that:\r

  1. Fetches 200 candles of BTCUSDT 15m OHLCV data from Binance public API (no API key needed).\r
  2. Computes EMA20 from closing prices.\r
  3. Computes RSI14 from closing prices.\r
  4. Determines direction based on: price vs EMA20, RSI level, and recent candle slope.\r
  5. Returns a strict JSON object with decision, confidence score, and reasoning.\r \r

Workflow\r

\r Step 1 — Run the analyzer script via bash tool:\r python3 ~/.npm-global/lib/node_modules/openclaw/skills/btc-analyzer/analyze.py\r \r Step 2 — Parse the JSON output.\r \r Step 3 — Present the result to the user clearly, including:\r

  • Decision (UP / DOWN / SKIP)\r
  • Confidence percentage\r
  • Reason (EMA, RSI, slope context)\r
  • Last close price\r
  • Timestamp\r \r

Output Format\r

\r The script returns strict JSON:\r {\r "decision": "UP",\r "confidence": 72,\r "reason": "price above EMA20, RSI 58, bullish slope last 3 candles",\r "lastClose": 94500.00,\r "ema20": 94200.00,\r "rsi14": 58.3,\r "timestamp": "2026-02-23T00:00:00Z"\r }\r \r Decision values:\r

  • UP: bullish signal, consider long\r
  • DOWN: bearish signal, consider short\r
  • SKIP: no clear signal, stay out\r \r Confidence range: 0-100 (higher = stronger signal)\r \r

Signal Logic\r

\r

  • RSI \x3C 30: decision = UP (oversold)\r
  • RSI > 70: decision = DOWN (overbought)\r
  • Price > EMA20 AND slope up: decision = UP\r
  • Price \x3C EMA20 AND slope down: decision = DOWN\r
  • Otherwise: decision = SKIP\r \r

Error Handling\r

\r If Binance API is unreachable or returns an error:\r {"decision":"SKIP","confidence":0,"reason":"API error or network issue","lastClose":0,"timestamp":""}\r \r

Guardrails\r

\r

  • Always run the script via bash tool — never fabricate or guess output values.\r
  • Do not hardcode prices or decisions.\r
  • If script fails, show the actual error message to the user.\r
  • This skill uses Binance public API only — no API key or authentication required.\r
  • Data is real-time; do not cache or reuse previous results.\r
安全使用建议
Do not enable or run this skill until you can verify the analyze.py it intends to execute. The SKILL.md tells the agent to run a local Python script at a hardcoded path, but the package contains no code or install instructions — that means the agent would run whatever is present at that path on your machine. Ask the skill owner for the source repository or an install script, or request that the skill bundle its analyze.py (or provide a trustworthy install step). If you must test it, inspect the file ~/.npm-global/lib/node_modules/openclaw/skills/btc-analyzer/analyze.py manually before allowing the skill to execute it, and review it for network calls, shell execution, or secret access. If you cannot inspect the file or obtain a trusted source, avoid installing this skill.
功能分析
Type: OpenClaw Skill Name: btc-analyzer Version: 1.0.0 The skill bundle appears benign. The `SKILL.md` clearly outlines the purpose of fetching public BTC data from Binance and performing analysis using a local Python script (`analyze.py`). Crucially, the instructions explicitly state that no API keys or authentication are required, and the 'Guardrails' section actively instructs the AI agent to avoid fabricating data or deviating from the script's output, which is a positive indicator against prompt injection attempts. There is no evidence of data exfiltration, malicious execution, or persistence mechanisms within the provided files.
能力评估
Purpose & Capability
The declared capability (fetch BTCUSDT 15m candles from Binance public API and compute EMA20/RSI14) aligns with requiring python3 and making public REST calls to Binance. However the SKILL.md expects a local script at ~/.npm-global/lib/node_modules/openclaw/skills/btc-analyzer/analyze.py to perform the work, but the skill package contains no code or install spec to place that script there. That mismatch is unexplained.
Instruction Scope
The runtime instructions explicitly tell the agent to run a local Python script at a hardcoded path and parse its JSON output. The skill text only references Binance public API (which is fine), but because the script is not included, the agent would either fail or attempt to execute whatever file exists at that path on the host — which could be any arbitrary code. The instructions do not provide safe fallback behavior or a way to obtain/inspect the script prior to execution.
Install Mechanism
There is no install spec or bundled code, yet the instructions assume the analyzer script lives under ~/.npm-global/lib/node_modules/… suggesting an npm/global install that never occurs in this package. This gap is a red flag: running an assumed-but-unprovided local binary/script is incoherent and could lead to execution of unknown code if a file exists at that location.
Credentials
The skill requests no environment variables or secrets and only requires python3. It makes network calls to Binance public API (no API key required), which is proportional to the stated purpose. There are no additional, unexplained credential or config demands.
Persistence & Privilege
The skill does not request always: true and makes no claims about modifying other skills or system-wide settings. It is user-invocable and allowed to be called autonomously by default, which is normal for skills; that alone is not concerning here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install btc-analyzer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /btc-analyzer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of btc-analyzer skill. - Fetches live BTCUSDT 15m candlestick data from Binance public API. - Analyzes market direction using EMA20 slope and RSI14 momentum. - Returns trading signals (UP, DOWN, SKIP) with confidence score and reasoning in strict JSON format. - Handles API errors gracefully and always shows real-time results.
元数据
Slug btc-analyzer
版本 1.0.0
许可证
累计安装 3
当前安装数 2
历史版本数 1
常见问题

BTC Analyzer 是什么?

Fetch live BTCUSDT 15m candles from Binance public API and analyze market direction UP/DOWN/SKIP using EMA20 and RSI14. Use when asked to analyze BTC price d... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 914 次。

如何安装 BTC Analyzer?

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

BTC Analyzer 是免费的吗?

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

BTC Analyzer 支持哪些平台?

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

谁开发了 BTC Analyzer?

由 Indra Riswana(@newbienodes)开发并维护,当前版本 v1.0.0。

💬 留言讨论