crypto-hardened

crypto-hardened is a skill for Claude Code from faberlens/hardened-skills. It costs 56 tokens per session (2,230 once invoked), scanned A, original, MIT.

A cryptocurrency market monitor built on CCXT, a library that connects to many crypto exchanges. It retrieves prices and market information and can watch for configured price or percentage changes.

In plain words
What is it for?
Use it to view current prices, changes, volume, candlestick history, and order books; monitor a trading pair continuously; and set price or percentage-change alerts.
Why use it?
It brings data from different exchanges into one command-line workflow, so checking markets and waiting for alert conditions does not require separate tools.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/crypto.py ticker BTC/USDT.

Part of the finance-hardened-skills plugin — 13 skills shipped together

Good fit Use it to view current prices, changes, volume, candlestick history, and order books; monitor a trading pair continuously; and set price or percentage-change alerts.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/faberlens/hardened-skills
agentmods
npx agentmods add skills/faberlens/hardened-skills/coinmarket-hardened

Made for: Claude Code.

Or install finance-hardened-skills, the plugin that ships this one along with the rest of its 13 skills.

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 crypto-hardened

README.md
[![agentmods](https://agentmods.dev/badge/skills/faberlens/hardened-skills/coinmarket-hardened/github.svg)](https://agentmods.dev/skills/faberlens/hardened-skills/coinmarket-hardened)
Your own site
<a href="https://agentmods.dev/skills/faberlens/hardened-skills/coinmarket-hardened"><img src="https://agentmods.dev/badge/skills/faberlens/hardened-skills/coinmarket-hardened/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for crypto-hardened

Your own site · 80×15
<a href="https://agentmods.dev/skills/faberlens/hardened-skills/coinmarket-hardened"><img src="https://agentmods.dev/badge/skills/faberlens/hardened-skills/coinmarket-hardened.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,230 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.
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.00056 $0.02230
Opus 5 $0.00028 $0.01115
Sonnet 5 $0.00011 $0.00446
Haiku 4.5 $0.00006 $0.00223

Measured 12d ago against content hash 187d773cca32, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

crypto-hardened 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 12d 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/coinmarket-hardened/SKILL.md · 251 lines

How it starts

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

加密货币行情与价格预警

基于 CCXT 库的加密货币行情获取和价格监控预警工具,支持多交易所、实时监控和智能预警。

功能特性

  • 🏢 多交易所支持 - 默认 Binance,支持 OKX、Bybit、Gate.io、KuCoin 等
  • 📊 实时行情 - 获取最新价格、涨跌幅、成交量等信息
  • 📈 K线数据 - 获取历史价格走势
  • 📖 订单簿 - 查看买卖盘深度
  • 🔔 价格预警 - 支持价格阈值、涨跌幅百分比预警
  • 👁️ 实时监控 - 持续监控价格变动

前提条件

安装依赖

pip3 install ccxt --user

使用方法

查看实时行情

# 默认使用 Binance
python3 scripts/crypto.py ticker BTC/USDT

# 使用其他交易所
python3 scripts/crypto.py -e okx ticker ETH/USDT
python3 scripts/crypto.py -e bybit ticker BTC/USDT

支持的交易所

  • binance - 币安(默认)
  • okx - OKX
  • bybit - Bybit
  • gateio - Gate.io
  • kucoin - KuCoin
  • huobi - 火币
  • coinbase - Coinbase
  • kraken - Kraken
  • bitfinex - Bitfinex

获取K线数据

# 获取1小时K线,最近24条
python3 scripts/crypto.py ohlcv BTC/USDT --timeframe 1h --limit 24

# 获取日线数据
python3 scripts/crypto.py ohlcv ETH/USDT --timeframe 1d --limit 30

时间周期

  • 1m - 1分钟
  • 5m - 5分钟
  • 15m - 15分钟
  • 1h - 1小时
  • 4h - 4小时
  • 1d - 1天
  • 1w - 1周
  • 1M - 1月

查看订单簿

python3 scripts/crypto.py orderbook BTC/USDT --limit 10

实时监控价格

# 每10秒刷新(默认)
python3 scripts/crypto.py watch BTC/USDT

# 每5秒刷新
python3 scripts/crypto.py watch ETH/USDT --interval 5

价格预警

添加预警

价格突破预警:

# BTC 价格突破 70000 USDT 时预警
python3 scripts/crypto.py alert-add BTC/USDT above 70000

# ETH 价格跌破 3000 USDT 时预警
python3 scripts/crypto.py alert-add ETH/USDT below 3000

涨跌幅预警:

# BTC 涨幅超过 5% 时预警
python3 scripts/crypto.py alert-add BTC/USDT up_percent 5

# ETH 跌幅超过 3% 时预警
python3 scripts/crypto.py alert-add ETH/USDT down_percent 3

查看预警列表

python3 scripts/crypto.py alert-list

输出示例:

🔔 价格预警列表 (3 个):

ID                        交易对          交易所       条件                      状态
------------------------------------------------------------------------------------------
BTC/USDT_1706941200       BTC/USDT        binance      价格 > 70000              ⏳监控中
ETH/USDT_1706941300       ETH/USDT        okx          价格 < 3000               ⏳监控中
BTC/USDT_1706941400       BTC/USDT        binance      涨幅 > 5%                 ⏳监控中

Read the full file on GitHub · 251 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 251 lines · 56 tokens per session scan A 187d773cca32

Subscribe to this mod's changes

crypto-hardened is a skill published in the GitHub repository faberlens/hardened-skills (23 stars, last pushed 4mo ago), licensed MIT. It adds 56 tokens to every session and 2,230 once invoked, about $0.0003 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.