coingecko
Crypto spot prices, OHLC charts, market discovery, and global stats. Use when looking up coin prices, market caps, trending coins, sector rankings, or…
от Starchild-ai-agent★ 34 звезды на GitHub
Установить coingecko в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Script Usage
Script-mode skill — read this file, then invoke from a bash block:
python3 - <<'EOF'
import sys, json
sys.path.insert(0, "/data/workspace/skills/coingecko")
from exports import coin_price, cg_trending, cg_global
print(coin_price(coin_ids="bitcoin,ethereum"))
print(cg_trending())
EOF
Read exports.py for the full list of available functions. Common ones:
coin_price, coin_ohlc, coin_chart, cg_trending,
cg_top_gainers_losers, cg_new_coins, cg_global, cg_global_defi,
cg_categories, cg_derivatives, cg_coins_markets, cg_coin_data,
cg_coin_tickers, cg_search, cg_token_price, cg_coin_by_contract.
CoinGecko Skill
Function Reference (signatures)
All public functions are in exports.py. coin_id is the CoinGecko id
(e.g. bitcoin, ethereum) — use cg_search(query) first if unsure.
vs_currency defaults to usd.
Prices & Charts
| Function | Description |
|---|---|
coin_price(coin_ids, timestamps=None, vs_currency='usd') |
Current or historical price. coin_ids = comma-string like "bitcoin,ethereum". timestamps = list of unix ts for historical (default: now). |
coin_ohlc(coin_id, days=30, vs_currency='usd') |
OHLC bars for last N days. Returns list of [ts, o, h, l, c]. Granularity auto-selected: 1d=30min, 7-30d=4h, 30d+=4h. |
coin_chart(coin_id, days=30, vs_currency='usd') |
Price + market_cap + total_volume timeseries. Returns {prices, market_caps, total_volumes} (each list of [ts, val]). |
Discovery
| Function | Description |
|---|---|
cg_trending() |
Trending coins, NFTs, categories (last 24h). |
cg_top_gainers_losers(vs_currency='usd', duration='24h') |
Top gainers/losers. duration = 1h/24h/7d/14d/30d/60d/1y. |
cg_new_coins() |
Recently listed coins. |
cg_search(query) |
Search coins/exchanges/categories by name. |
Market Data
| Function | Description |
|---|---|
cg_global() |
Global crypto market: total market_cap, volume, dominance. |
cg_global_defi() |
Global DeFi: TVL, dominance, top protocols. |
cg_coins_markets(vs_currency='usd', order='market_cap_desc', per_page=100, page=1, sparkline=False, price_change_percentage='24h', category=None, ids=None) |
Top coins with full market data. |
cg_coin_data(coin_id, localization=False, tickers=False, market_data=True, community_data=False, developer_data=False, sparkline=False) |
Detailed data for one coin. |
cg_coin_tickers(coin_id, exchange_ids=None, include_exchange_logo=False, page=1, order='volume_desc', depth=False) |
Where a coin trades + volumes. |
cg_coins_list(include_platform=False) |
All coin ids/symbols (for resolving). |
Categories / Derivatives / NFTs
| Function | Description |
|---|---|
cg_categories(order='market_cap_desc') |
Top categories with market_cap and volume. |
cg_categories_list() |
Just category ids/names. |
cg_derivatives(include_tickers='unexpired') |
All derivatives tickers across exchanges (~27k rows). Returns {tickers, count, filter}; see "Derivatives: fields & full-market OI" below. |
cg_derivatives_exchanges(order='open_interest_btc_desc', per_page=50) |
Derivatives exchange rankings. |
cg_nfts_list(order='market_cap_usd_desc', per_page=100, page=1) |
Top NFT collections. |
cg_nft(nft_id) |
NFT collection detail. |
cg_nft_by_contract(asset_platform, contract_address) |
NFT by contract address. |
Exchanges
| Function | Description |
|---|---|
cg_exchanges(per_page=100, page=1) |
Exchange rankings. |
cg_exchange(exchange_id) |
One exchange's detail. |
cg_exchange_tickers(exchange_id, ...) |
Tickers on an exchange. |
cg_exchange_volume_chart(exchange_id, days=30) |
Exchange volume history. |
Contracts / Tokens (by platform)
| Function | Description |
|---|---|
cg_token_price(platform, contract_addresses, vs_currencies='usd', include_market_cap=False, include_24hr_vol=False, include_24hr_change=False, include_last_updated_at=False) |
Price by contract address on a platform. |
cg_coin_by_contract(platform, contract_address) |
Coin metadata by contract. |
cg_asset_platforms(filter=None) |
Supported chains. |
cg_vs_currencies() |
Supported quote currencies. |
cg_exchange_rates() |
BTC-denominated rates for fiat/major coins. |
🚫 CRITICAL: STOP — READ THIS BEFORE CALLING ANY TOOL
The #1 error is calling Coinglass tools instead of CoinGecko tools. They have similar names but are COMPLETELY DIFFERENT systems.
WRONG → RIGHT Tool Substitution Table
| ❌ NEVER call this | ✅ Call this instead | How to tell them apart |
|---|---|---|
cg_coins_market_data |
cg_coins_markets |
market_data=Coinglass derivatives. markets=CoinGecko spot. |
cg_ohlc_history |
coin_ohlc |
ohlc_history=Coinglass futures candles. coin_ohlc=CoinGecko spot candles. |
cg_pair_market_data |
cg_coin_tickers |
pair_market_data=Coinglass futures pair. coin_tickers=CoinGecko spot pairs. |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- __init__.py
- coingecko.py
- exports.py
- logo.png
- tools/__init__.py
- tools/coin_historical_chart_range_by_id.py
- tools/coin_ohlc_range_by_id.py
- tools/coin_prices.py
- tools/coins.py
- tools/contracts.py
- tools/derivatives.py
- tools/exchanges.py
- tools/global_data.py
- tools/infrastructure.py
- tools/market_discovery.py
- tools/nfts.py
- tools/search.py
- tools/utils.py
FAQ
Что делает скилл coingecko?
Crypto spot prices, OHLC charts, market discovery, and global stats. Use when looking up coin prices, market caps, trending coins, sector rankings, or comparing tokens (e.g. BTC price, ETH chart, top gainers).
Как установить скилл coingecko?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл coingecko запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…