← 返回 Skills 市场
cnwpdb

BinanceAlert

作者 cnwpdb · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
206
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install binance-alert
功能描述
Binance smart alert system. Monitors price/change alerts, new listings, Alpha airdrop opportunities, and HODLer announcements via Telegram. No Binance API Ke...
使用说明 (SKILL.md)

BinanceAlert

Monitors Binance market events and pushes real-time alerts via Telegram.

Required Environment Variables

Variable Description
TG_BOT_TOKEN Telegram Bot Token (from @BotFather)
TG_CHAT_ID Telegram target Chat ID

The script reads these from /data/freqtrade/user_data/.secrets.env automatically, or from system environment variables directly.

Price Alert

python3 {baseDir}/scripts/binance_alert.py price \x3CSYMBOL> \x3Ctarget_price> [above|below]

Example: alert when BTC breaks $100,000

python3 {baseDir}/scripts/binance_alert.py price BTCUSDT 100000 above

Change Alert (24h %)

python3 {baseDir}/scripts/binance_alert.py change \x3CSYMBOL> \x3Cthreshold_pct>

Example: alert when ETH moves more than 8% in 24h

python3 {baseDir}/scripts/binance_alert.py change ETHUSDT 8

New Listing Monitor

python3 {baseDir}/scripts/binance_alert.py listing

Alpha Airdrop Scanner

python3 {baseDir}/scripts/binance_alert.py alpha

Scans Binance Web3 Alpha tokens, scores by KYC holders, alpha points multiplier, and market cap.

Announcement Monitor (HODLer Airdrops)

python3 {baseDir}/scripts/binance_alert.py announcement

Run All Checks (for cron/timer)

python3 {baseDir}/scripts/binance_alert.py run

Status

python3 {baseDir}/scripts/binance_alert.py status

Notes

  • Requires TG_BOT_TOKEN and TG_CHAT_ID (read from .secrets.env or system env)
  • State persisted to /data/freqtrade/user_data/binance_alert_state.json
  • Price/change alerts auto-mark as triggered after firing, no duplicate pushes
  • New listing monitor initializes baseline on first run, no push
  • Recommended: run via systemd timer every 5 minutes using the run command
安全使用建议
This skill generally matches its description (Binance → Telegram alerts) but it will automatically load /data/freqtrade/user_data/.secrets.env into its environment if present and writes state to /data/freqtrade/user_data/. Before installing: (1) inspect /data/freqtrade/user_data/.secrets.env to ensure it doesn't contain unrelated secrets you don't want the skill to read; (2) consider running the skill in an isolated directory or container with a dedicated .secrets.env that only contains TG_BOT_TOKEN and TG_CHAT_ID; (3) check file permissions on the state file path and consider changing STATE_FILE to a location under the skill's control; (4) review the full scripts/binance_alert.py for the truncated remainder (network endpoints, any unexpected remote endpoints, or code that might exfiltrate data). If you cannot confirm the contents of the shared .secrets.env or don't want this skill to access other secrets, do not install or run it in a shared environment.
功能分析
Type: OpenClaw Skill Name: binance-alert Version: 1.0.1 The binance-alert skill is a legitimate monitoring tool designed to send market alerts (price, listings, airdrops) to Telegram. It is specifically tailored for users of the 'freqtrade' bot, as it optionally reads Telegram credentials from the standard freqtrade secrets path (/data/freqtrade/user_data/.secrets.env) for convenience. The script uses official and public Binance API endpoints (api.binance.com, web3.binance.com) and does not exfiltrate any sensitive data or environment variables to external parties other than the user's own Telegram bot. The code is well-structured, lacks obfuscation, and its behavior is fully consistent with its documentation.
能力评估
Purpose & Capability
Name/description match the code: the script polls Binance endpoints and sends alerts to Telegram. Requested binaries (python3) and env vars (TG_BOT_TOKEN, TG_CHAT_ID) are appropriate for the stated purpose. The script also interacts with Binance Web3 endpoints and CMS which are consistent with 'Alpha' and listing checks.
Instruction Scope
SKILL.md and the script explicitly state the code will read /data/freqtrade/user_data/.secrets.env (or system env) but this file path is not declared in requires.configPaths. Reading a shared secrets file is broader than necessary for a small alert script and could import unrelated secrets; the script also writes state to /data/freqtrade/user_data/binance_alert_state.json which is a shared location.
Install Mechanism
This is an instruction-only skill with no install spec — nothing is downloaded or written by an installer. That minimizes install-time risk.
Credentials
Declared env vars are limited and appropriate (TG_BOT_TOKEN, TG_CHAT_ID). However, the script auto-loads /data/freqtrade/user_data/.secrets.env into the process environment if present, which could expose other credentials or secrets stored there (e.g., exchange API keys or service tokens) without explicit user consent or declaration.
Persistence & Privilege
The skill persists state to /data/freqtrade/user_data/binance_alert_state.json and uses that path for initialization; it does not request 'always: true' or modify other skills. Persisting state in a shared application directory is reasonable for cron runs but may cause data overlap or permission concerns if run in an environment hosting other apps.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install binance-alert
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /binance-alert 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Explicitly declare TG_BOT_TOKEN and TG_CHAT_ID env dependencies to resolve security scan warning
v1.0.0
Initial release: price/change alerts, new listing monitor, Alpha airdrop scanner, HODLer announcements
元数据
Slug binance-alert
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

BinanceAlert 是什么?

Binance smart alert system. Monitors price/change alerts, new listings, Alpha airdrop opportunities, and HODLer announcements via Telegram. No Binance API Ke... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 206 次。

如何安装 BinanceAlert?

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

BinanceAlert 是免费的吗?

是的,BinanceAlert 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

BinanceAlert 支持哪些平台?

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

谁开发了 BinanceAlert?

由 cnwpdb(@cnwpdb)开发并维护,当前版本 v1.0.1。

💬 留言讨论