kraken-alert-patterns

kraken-alert-patterns is a skill for Claude Code from krakenfx/kraken-cli. It costs 18 tokens per session (1,170 once invoked), scanned A, original, MIT.

A set of patterns for monitoring Kraken cryptocurrency prices, trading conditions, and account changes, then notifying an agent when chosen conditions occur.

In plain words
What is it for?
Use it to build polling or live alerts for price levels, market liquidity, trading activity, and account-state changes.
Why use it?
It removes the need to watch prices or account data continuously by hand. Alerts can respond to thresholds, wider bid-ask spreads, unusual volume, volatility, fills, or balance drops.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: built for openclaw.

Part of the kraken-cli plugin — 59 skills, 1 MCP server shipped together

Good fit Use it to build polling or live alerts for price levels, market liquidity, trading activity, and account-state changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/krakenfx/kraken-cli/kraken-alert-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add krakenfx/kraken-cli --skill kraken-alert-patterns
Clone the repo
git clone --depth 1 https://github.com/krakenfx/kraken-cli

Made for: Claude Code.

Or install kraken-cli, the plugin that ships this one along with the rest of its 59 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kraken-alert-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/krakenfx/kraken-cli/kraken-alert-patterns.svg)](https://agentmods.dev/skills/krakenfx/kraken-cli/kraken-alert-patterns)
Your own site
<a href="https://agentmods.dev/skills/krakenfx/kraken-cli/kraken-alert-patterns"><img src="https://agentmods.dev/badge/skills/krakenfx/kraken-cli/kraken-alert-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,170 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00018 $0.01170
Opus 5 $0.00009 $0.00585
Sonnet 5 $0.00004 $0.00234
Haiku 4.5 $0.00002 $0.00117

Measured 8d ago against content hash 6eb8f7e8b9fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

kraken-alert-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/kraken-alert-patterns/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

kraken-alert-patterns

Use this skill for:

  • monitoring price levels and triggering alerts
  • detecting spread widening, volume spikes, and volatility shifts
  • watching account state changes (fills, balance drops)
  • building notification-driven agent workflows

Price Alert (Polling)

Check price at intervals and compare against thresholds:

PRICE=$(kraken ticker BTCUSD -o json 2>/dev/null | jq -r '.[].last_price')
# Agent compares $PRICE to upper/lower thresholds
# If breached, notify the user

Price Alert (Streaming)

More efficient for continuous monitoring. The agent reads the stream and fires when conditions are met:

kraken ws ticker BTC/USD -o json 2>/dev/null | while read -r line; do
  LAST=$(echo "$line" | jq -r '.data[0].last // empty')
  [ -z "$LAST" ] && continue
  # Compare against thresholds, break or notify on breach
done

Spread Alert

Detect when the bid-ask spread widens beyond a threshold (liquidity warning):

kraken ws ticker BTC/USD --event-trigger bbo -o json 2>/dev/null | while read -r line; do
  ASK=$(echo "$line" | jq -r '.data[0].ask // empty')
  BID=$(echo "$line" | jq -r '.data[0].bid // empty')
  [ -z "$ASK" ] || [ -z "$BID" ] && continue
  SPREAD=$(echo "$ASK - $BID" | bc)
  # Alert if spread exceeds threshold
done

Volume Spike Detection

Compare current 24h volume against a baseline:

kraken ticker BTCUSD -o json 2>/dev/null | jq -r '.[].volume_24h'
# Agent compares to historical average
# Alert if volume > 2x baseline

Volatility Alert (OHLC-Based)

Read recent candles and compute range or standard deviation:

kraken ohlc BTCUSD --interval 60 -o json 2>/dev/null
# Agent calculates high-low range per candle
# Alert if range exceeds threshold

Balance Change Alert

Monitor for unexpected balance changes:

INITIAL=$(kraken balance -o json 2>/dev/null | jq -r '.USD // "0"')
# On each check:
CURRENT=$(kraken balance -o json 2>/dev/null | jq -r '.USD // "0"')
# Alert if |CURRENT - INITIAL| exceeds threshold

Read the full file on GitHub · 161 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 161 lines · 18 tokens per session scan A 6eb8f7e8b9fe

Subscribe to this mod's changes

kraken-alert-patterns is a skill published in the GitHub repository krakenfx/kraken-cli (710 stars, last pushed 1mo ago), licensed MIT. It adds 18 tokens to every session and 1,170 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.