Agent skill

get-crypto-price

Fetch current and historical crypto prices and compute ATH or ATL over common time windows.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill get-crypto-price --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/analysis/get-crypto-price/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Get Crypto Price (minimal guide) This short guide shows how to fetch current prices and at least 3 months of past price action using CoinGecko, Binance, and Coinbase public APIs. It also shows how to compute ATH (highest) and ATL (lowest) within time windows: 1 DAY, 1 WEEK, 1 MONTH. --- ## Quick notes - Timestamps: many APIs return milliseconds since epoch (ms) or seconds (s). Convert consistently. - Rate limits: respect exchange rate limits; cache responses when possible. - Symbols: use canonical pair symbols (e.g., `BTCUSDT` on Binance, `bitcoin` on CoinGecko). --- ## 1) CoinGecko (recommended for simple historical ranges) - Current price (curl): ```bash curl "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd" ``` - Last 90 days (price history): ```bash curl "https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=90" ``` Response contains `prices` array: [[timestamp_ms, price], ...]. **Node.js:** Fetch 90 days and compute ATH/ATL for 1d/7d/30d windows. ```javascript async function fetchCoinGeckoPrices(coinId = 'bitcoin', vs = 'usd', days = 90) { const url = `https://api.coingecko.com/api/v3/coins/${coinId}/market_chart`; const

What's inside
Steps it walks through
  1. Quick notes
  2. 1) CoinGecko (recommended for simple historical ranges)
  3. 2) Binance (exchange-level data)
  4. 3) Coinbase (public example)
  5. 4) Compute ATH / ATL for a timeframe (1 DAY, 1 WEEK, 1 MONTH)
  6. 5) Practical tips
  7. 6) Example workflow (summary)
Ships with 1 file
  • metadata.json
Commands it runs
curl "https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd"
curl "https://api.coingecko.com/api/v3/coins/bitcoin/market_chart?vs_currency=usd&days=90"
curl "https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT"
daily candles for BTCUSDT (limit up to 1000 rows)
curl "https://api.binance.com/api/v3/klines?symbol=BTCUSDT&interval=1d&limit=1000"
curl "https://api.coinbase.com/v2/prices/BTC-USD/spot"
curl "https://api.exchange.coinbase.com/products/BTC-USD/candles?granularity=3600&start=2025-11-01T00:00:00Z&end=2026-02-01T00:00:00Z"
More from claude-skill-registry
All skills →
About this skill
What does the get-crypto-price skill do?

Fetch current and historical crypto prices and compute ATH or ATL over common time windows.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill get-crypto-price --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going