/install crypto-alert-agent
📈 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.
-
Get your Telegram Chat ID:
- Talk to the
@userinfoboton Telegram. - It will give you your unique Chat ID.
- Talk to the
-
Set up Credentials:
- Create a file named
telegram_chat_idinside 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.
- Create a file named
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 isaboveorbelowthe 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:
- Fetch the latest prices for all coins in active alerts and the portfolio.
- Check if any price alert conditions have been met.
- If an alert is triggered, send a notification to the configured Telegram chat ID and remove the alert to avoid spam.
- (Optional) Send a periodic portfolio value update.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install crypto-alert-agent - 安装完成后,直接呼叫该 Skill 的名称或使用
/crypto-alert-agent触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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。