Agent Skills
› krakenfx/kraken-cli
› recipe-price-level-alerts
recipe-price-level-alerts
GitHub配置加密货币价格上下限预警,通过CLI获取实时行情并流式解析,当价格突破设定阈值时触发通知。
Trigger Scenarios
需要监控资产价格波动
设置交易突破或跌破预警线
自动化金融数据监听
Install
npx skills add krakenfx/kraken-cli --skill recipe-price-level-alerts -g -y
SKILL.md
Frontmatter
{
"name": "recipe-price-level-alerts",
"version": "1.0.0",
"metadata": {
"openclaw": {
"domain": "market-data",
"category": "recipe"
},
"requires": {
"bins": [
"kraken"
],
"skills": [
"kraken-alert-patterns"
]
}
},
"description": "Set up price level alerts that notify when key levels are crossed."
}
Price Level Alerts
PREREQUISITE: Load the following skill to execute this recipe:
kraken-alert-patterns
Define upper and lower price levels for a pair and get notified when they are crossed.
Steps
- Get current price for reference:
kraken ticker BTCUSD -o json 2>/dev/null - Define alert levels:
- Upper: e.g., 70000 (breakout)
- Lower: e.g., 55000 (breakdown)
- Start streaming:
kraken ws ticker BTC/USD --event-trigger bbo -o json 2>/dev/null - Parse each line: extract last price
- Compare against upper level: if price >= upper, alert "BTCUSD broke above 70000"
- Compare against lower level: if price <= lower, alert "BTCUSD broke below 55000"
- After alert fires, optionally stop monitoring or set new levels
- Agent delivers alert through its notification channel (chat, Slack, etc.)
If you hit a mismatch between what you are trying to do and the CLI's interface or responses — including a mismatch between this skill and the installed CLI version's contract — feel free to submit feedback with kraken feedback.
Version History
- aa56e59 Current 2026-08-20 04:46
- aa32814 2026-07-25 10:29


