Recipe Price Level Alerts
Apps & Automationrecipe-price-level-alertsRecipe Price Level Alerts is an Agent Skill for apps & automation published in the krakenfx/kraken-cli repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Set up price level alerts that notify when key levels are crossed.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/krakenfx/kraken-cli/blob/HEAD/skills/recipe-price-level-alerts/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/recipe-price-level-alerts, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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.)