← 返回 Skills 市场
vitja1988

Crypto Alert Agent

作者 NEO · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
356
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install crypto-alert-agent
功能描述
A proactive agent that monitors cryptocurrency prices, tracks your portfolio, and sends alerts via Telegram.
使用说明 (SKILL.md)

📈 Crypto Alert Agent

Stay ahead of the market with the Crypto Alert Agent. This skill provides real-time price alerts, portfolio tracking, and instant notifications through Telegram, ensuring you never miss a critical market movement.

Supported cryptocurrencies include BTC, ETH, SOL, and many more via the CoinGecko API.


1. Features

  • Price Alerts: Set custom price thresholds for any supported cryptocurrency. Get notified when the price goes above or below your target.
  • Portfolio Tracking: Add your crypto holdings to track their total value in real-time.
  • Telegram Notifications: Receive all alerts and updates directly in your Telegram chat for immediate action.
  • On-Demand Price Checks: Instantly fetch the current price of any cryptocurrency.

2. Setup

Before using the agent, you need to configure your Telegram notifications.

  1. Get your Telegram Chat ID:

    • Talk to the @userinfobot on Telegram.
    • It will give you your unique Chat ID.
  2. Set up Credentials:

    • Create a file named telegram_chat_id inside the {baseDir}/credentials/ directory.
    • Paste your Chat ID into this file.
    • Ensure your OpenClaw instance is configured with a Telegram bot token that has permission to send you messages.

3. Usage

The agent can be managed through a simple command-line interface. All commands are executed via the run.sh script.

3.1 Price Alerts

Add a Price Alert

Set an alert for a specific coin when it crosses a target price.

Command:

bash {baseDir}/run.sh alert add --coin \x3Cid> --condition \x3Cabove|below> --price \x3Cusd_price>
  • --coin \x3Cid>: The CoinGecko API ID for the cryptocurrency (e.g., bitcoin, ethereum, solana).
  • --condition \x3Cabove|below>: Notify when the price is above or below the target.
  • --price \x3Cusd_price>: The target price in USD.

Example:

# Alert me when Bitcoin goes above $75,000
bash {baseDir}/run.sh alert add --coin bitcoin --condition above --price 75000

# Alert me when Solana drops below $150
bash {baseDir}/run.sh alert add --coin solana --condition below --price 150

List Active Alerts

View all the price alerts you have currently set.

bash {baseDir}/run.sh alert list

Remove a Price Alert

Delete an active alert using its ID (you can get the ID from the list command).

bash {baseDir}/run.sh alert remove --id \x3Calert_id>

3.2 Portfolio Tracking

Add a Holding to Your Portfolio

Add a coin and the amount you hold to your portfolio.

Command:

bash {baseDir}/run.sh portfolio add --coin \x3Cid> --amount \x3Cquantity>
  • --coin \x3Cid>: The CoinGecko API ID of the coin.
  • --amount \x3Cquantity>: The number of coins you hold.

Example:

bash {baseDir}/run.sh portfolio add --coin ethereum --amount 2.5

View Your Portfolio

Get a summary of your current holdings and their total value in USD.

bash {baseDir}/run.sh portfolio view

Remove a Holding from Your Portfolio

Remove a coin from your portfolio using its ID.

bash {baseDir}/run.sh portfolio remove --id \x3Cholding_id>

3.3 Check Price

Get the current price of one or more cryptocurrencies instantly.

Command:

bash {baseDir}/run.sh price --coins \x3Cid1,id2,...>
  • --coins \x3Cid1,id2,...>: A comma-separated list of CoinGecko API IDs.

Example:

bash {baseDir}/run.sh price --coins bitcoin,ethereum,solana

4. Automation (Agent Logic)

This skill is designed to be run on a schedule (e.g., via a cron job or a persistent agent loop) to check for alert conditions.

Recommended Automation Schedule: Every 5 minutes.

Example Cron Job:

*/5 * * * * /path/to/your/workspace/skills/crypto-alert-agent/run.sh agent run

The agent run command will:

  1. Fetch the latest prices for all coins in active alerts and the portfolio.
  2. Check if any price alert conditions have been met.
  3. If an alert is triggered, send a notification to the configured Telegram chat ID and remove the alert to avoid spam.
  4. (Optional) Send a periodic portfolio value update.
安全使用建议
Do not install or schedule this skill yet. The SKILL.md references a run.sh script and a credentials file but the package contains no code—ask the publisher for the missing runtime files (run.sh and any scripts it calls) and for exact details on where the Telegram bot token must be stored and how the agent will access it. Verify that: (1) the run.sh and any binaries are present and readable, (2) the skill declares any env vars or config paths it needs (e.g., TELEGRAM_BOT_TOKEN or a documented OpenClaw config location), (3) the code only sends messages to the Telegram chat ID you provide and does not exfiltrate other data or credentials, and (4) you review the run.sh contents before running or scheduling it. If the publisher cannot provide the missing files and a clear explanation for credential handling, treat the skill as incomplete and avoid running it.
功能分析
Type: OpenClaw Skill Name: crypto-alert-agent Version: 1.0.0 The provided `_meta.json` and `SKILL.md` files describe a cryptocurrency alert agent. The `SKILL.md` outlines the skill's features, setup (including standard OpenClaw credential handling for Telegram Chat ID), usage, and automation logic. All instructions for the OpenClaw agent involve executing a local script (`run.sh`) with specific, purpose-aligned arguments. There is no evidence of prompt injection attempts, instructions for unauthorized access, data exfiltration, or any other malicious behavior within the analyzed content. The actual `run.sh` script is not provided, so its internal logic cannot be assessed, but the instructions for its use are benign.
能力评估
Purpose & Capability
The skill's stated purpose (monitor prices, track portfolio, send Telegram alerts) is reasonable, but the package contains no executable code or binaries to implement those features. The SKILL.md repeatedly references running {baseDir}/run.sh and reading/writing a credentials/telegram_chat_id file, yet no run.sh or other code files are provided and no required config paths or environment variables are declared. That discrepancy means the manifest does not match the claimed capability.
Instruction Scope
The runtime instructions tell the agent to run shell commands (bash {baseDir}/run.sh ...) and to write/read a file at {baseDir}/credentials/telegram_chat_id and expect an OpenClaw-stored Telegram bot token. Those are concrete I/O actions that are not declared elsewhere in the skill metadata. The instructions also recommend persistent automation (cron/agent loop) and automated removal of alerts, implying the agent will store and mutate alert state — but no location or storage format is specified in the package.
Install Mechanism
There is no install spec and the skill is instruction-only, which is lower installation risk in general. However, because the skill references a run.sh and other runtime artifacts that are not included, the lack of any install or code means the SKILL.md is effectively a stub/incomplete — the absence of installation steps is notable and unexplained.
Credentials
The SKILL.md requires a Telegram chat ID file and implicitly requires a Telegram bot token configured in the OpenClaw instance, but the skill's metadata declares no required environment variables or config paths. That mismatch hides the fact that the skill needs access to a messaging bot credential. CoinGecko usage is plausible without credentials. Overall, credential access is under-specified and could lead to misconfiguration or unexpected credential usage.
Persistence & Privilege
The skill does not request always:true and uses the platform defaults (agent can invoke autonomously). The documentation encourages running the agent on a schedule (cron), which is user-controlled. There is no evidence the skill requests system-wide privileges or modifies other skills, but the instructions imply persistent state (alerts/portfolio) that will be stored and mutated locally if/when the missing runtime components are provided.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install crypto-alert-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /crypto-alert-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Cryptocurrency price alerts and portfolio tracking via Telegram
元数据
Slug crypto-alert-agent
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Crypto Alert Agent 是什么?

A proactive agent that monitors cryptocurrency prices, tracks your portfolio, and sends alerts via Telegram. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 356 次。

如何安装 Crypto Alert Agent?

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

Crypto Alert Agent 是免费的吗?

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

Crypto Alert Agent 支持哪些平台?

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

谁开发了 Crypto Alert Agent?

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

💬 留言讨论