Index of every page on this site: llms.txt
All skills
vo1ganin avatar

/coinmarketcap

@8100600
Run it yourself

Expert assistant for CoinMarketCap Pro API — price quotes, listings, historical OHLCV, market metrics, Fear & Greed Index, CMC100/CMC20 indices, exchange data, DEX data, airdrops, trending, community sentiment. Covers 10+ endpoint categories across REST + MCP + x402 pay-per-call modes. Use when the user wants: current or historical crypto prices, market cap rankings, top gainers/losers, trending coins, OHLCV candles, exchange volume data, DEX token details, Fear & Greed Index readings, global market metrics (total mcap, BTC dominance), airdrop discovery, or fiat conversion rates. Enforces: budget awareness (credits, not requests), CMC IDs over symbols, aggressive batching (100-200 items per call), client-side caching, live credit_count logging.

Use this Skill: https://skilld.dev/gh/vo1ganin/crypto-claude-skills/coinmarketcap

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈955 tokens on demand. Your agent reads this file only when SKILL.md points to it.

CoinMarketCap Skill

Claude Code skill for the CoinMarketCap Pro API — price quotes, OHLCV history, market caps, Fear & Greed Index, CMC100/CMC20 indices, exchange data, DEX data across 100+ chains, airdrops, trending, community sentiment.

What it does

  • Current prices + market caps (batched up to 100 IDs per call)
  • Historical OHLCV candles + quote series
  • Global market metrics (total mcap, BTC/ETH dominance, 24h volume)
  • Fear & Greed Index (current + historical)
  • CMC100 / CMC20 indices
  • Exchange metadata, volumes, assets, market pairs
  • DEX data across chains (tokens, pools, liquidity, trending, gainers/losers, security flags)
  • Airdrops, content (news), community trending
  • Fiat conversion rates

When it triggers

User asks about a token's price, market cap ranking, historical chart, F&G index, global market stats, exchange volume, airdrop info, trending coins — even without "CMC" keyword.

Files

File Purpose
SKILL.md Workflow + four hard rules (credits / budget / IDs / batching)
references/endpoints.md Full endpoint catalog by category with credit formulas
references/credits.md Plan tiers, budget rules, cost estimation heuristics
references/patterns.md Caching, batching, pagination, avoiding credit traps
references/examples/fetch_prices_batch.py Bulk quote fetch with symbol → ID resolution
references/examples/historical_ohlcv.py Daily candles for a coin, CSV output
references/examples/global_dashboard.py Global metrics + F&G + trending in one go

Key rules

  1. Credits, not requests — all endpoints metered by ceil(data_points / 100). Log status.credit_count.
  2. Budget thresholds per call: < 50 silent, 50–200 announce, > 200 stop + propose alternative.
  3. Use CMC IDs, not symbols — stable, don't collide, don't break.
  4. Batch aggressively — up to 100 IDs per quotes/latest, up to 200 per listings/latest.
  5. Cache client-side — listings refresh once per minute, OHLCV is immutable. Save credits by caching.

Plan tiers (reference)

Plan $ / mo Credits / mo Rate (req/min) Historical
Basic $0 10k 30 —
Hobbyist $29 110k 30 12 mo
Startup $79 300k 30 24 mo
Standard $299 1.2M 60 60 mo
Professional $699 3M 90 all-time

Run GET /v1/key/info (0 credits) at the start of any session to check your current plan + usage.

Quick examples

# Prices for N symbols
CMC_API_KEY=... python references/examples/fetch_prices_batch.py BTC ETH SOL BONK WIF

# 90-day daily OHLCV for BTC
CMC_API_KEY=... python references/examples/historical_ohlcv.py BTC 90 btc_90d.csv

# Global market + Fear & Greed + trending
CMC_API_KEY=... python references/examples/global_dashboard.py

Setup

pip install httpx
cp .env.example .env  # fill CMC_API_KEY
set -a; source .env; set +a

Related skills

Sources

  • Live tests against the user's CMC key (2026-04-24)
  • https://pro.coinmarketcap.com/llms-full.txt (171kb, saved in docs/coinmarketcap/)
  • Official docs, pricing, cryptocurrency reference pages

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides a comprehensive interface for the CoinMarketCap Pro API, including scripts for batch price fetching, historical data, and global market metrics. It focuses on budget efficiency and proper API usage. A low-risk finding is identified in the indirect prompt injection category because the skill ingests external content from API endpoints that could potentially contain instructions intended to influence the agent's behavior.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 8100600. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 7 months ago
compatibility
{
  "tools": [
    "Bash",
    "Write",
    "Read"
  ]
}

README badge

README badge for vo1ganin/crypto-claude-skills/coinmarketcap