codex-supergraph

Use when the user asks about token prices, charts, holders, trending tokens, pair data, prediction markets, or any on-chain analytics from Codex. Also use when building GraphQL queries against https://graph.codex.io/graphql. TRIGGERS: token price, token chart, trending tokens, pair data, holders, prediction markets, Polymarket, Kalshi, event odds, prediction event, prediction traders, trader leaderboard, trader PnL, prediction charts, outcome probability, open interest, prediction categories, betting markets, market resolution, prediction positions, prediction trades

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "codex-supergraph" with this command: npx skills add codex-data/codex-supergraph

Codex Supergraph Data

Authentication

Pass $CODEX_API_KEY in the Authorization header if available. If the server returns 402 Payment Required, use the codex-gateway skill to handle the payment flow.

If both a local and global copy of this skill exist, the local copy takes precedence.

Summary

Use this skill to produce valid Codex GraphQL requests using API key authentication.

HTTP endpointhttps://graph.codex.io/graphql
WebSocket endpointwss://graph.codex.io/graphql
Schema (SDL)https://graph.codex.io/schema/latest.graphql
Introspection JSONhttps://graph.codex.io/schema/latest.json
API-key authAuthorization: <key> or Authorization: Bearer <token>

Session preflight (required)

Run once and cache:

curl -sS https://graph.codex.io/graphql \
  -H "Content-Type: application/json" \
  -H "Authorization: $CODEX_API_KEY" \
  --data-binary '{"query":"query GetNetworks { getNetworks { id name } }"}'

Use network IDs from this result before expensive requests.

Operation selection

NeedOperation
NetworksgetNetworks
Token discovery/searchfilterTokens
Trending tokensfilterTokens with trendingScore24 ranking
Token pricesgetTokenPrices
Pairs for a tokenlistPairsWithMetadataForToken
Pair metadatapairMetadata
Pair OHLCVgetBars
Token OHLCVgetTokenBars
Token eventsgetTokenEvents
Maker eventsgetTokenEventsForMaker
Wallet leadersfilterTokenWallets
Wallet chart/statswalletChart, detailedWalletStats
Holdersholders
Top-10 concentrationtop10HoldersPercent
Live single priceonPriceUpdated
Live multi-priceonPricesUpdated
Live token eventsonTokenEventsCreated, onEventsCreatedByMaker
Live bars/pairsonBarsUpdated, onPairMetadataUpdated, onTokenBarsUpdated
Launchpad streamsonLaunchpadTokenEventBatch, onLaunchpadTokenEvent
Unconfirmed Solana eventsonUnconfirmedEventsCreated
Short-lived keyscreateApiTokens, apiTokens, apiToken, deleteApiToken
Prediction event discoveryfilterPredictionEvents
Prediction market discoveryfilterPredictionMarkets
Prediction event detaildetailedPredictionEventStats
Prediction market chartpredictionMarketBars
Prediction multi-market chartpredictionEventTopMarketsBars
Prediction event chartpredictionEventBars
Prediction tradespredictionTrades
Prediction token holderspredictionTokenHolders
Prediction categoriespredictionCategories
Prediction trader leaderboardfilterPredictionTraders
Prediction trader profiledetailedPredictionTraderStats
Prediction trader positionsfilterPredictionTraderMarkets
Prediction trader chartpredictionTraderBars

Default discovery path: start with filterTokens.

Rules

  • Never print raw API keys.
  • Validate networkId first.
  • Keep selection sets minimal until shape is confirmed.
  • Use onPricesUpdated instead of many single-token subscriptions.

References

FilePurpose
references/gotchas.mdCommon failure points — check here first
references/query-templates.mdQuery + websocket templates with examples
references/endpoint-playbook.mdOperation selection heuristics by intent
references/apis.mdEndpoint/auth matrix, pagination, rate limits
references/prediction-markets.mdPrediction market queries — events, markets, traders, charts
references/tooling-and-mcp.mdCodex Docs MCP setup for coding tools

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

StonebornBot

High-speed NFT mint bot for Ethereum and EVM chains. Use when the user wants to snipe NFT mints, speed-mint collections, set up multi-wallet minting bots, configure mint sniping with pre-signed transactions, or automate NFT minting across multiple wallets. Supports ERC721A, Archetype contracts, Flashbots, war mode gas, WebSocket monitoring, mempool watching, and batch minting with 100+ wallets.

Registry SourceRecently Updated
Web3

Report

Configure custom recurring reports. User defines data sources, skill handles scheduling and formatting.

Registry SourceRecently Updated
Web3

HeyTraders Quant Skills

Trade crypto (Binance, Upbit, Hyperliquid, Lighter) and prediction markets (Polymarket). Backtest strategies with 80+ indicators using Signal DSL, get market...

Registry SourceRecently Updated
Web3

Apiosk Skill

Pay-per-request API gateway using USDC micropayments on Base blockchain with no API keys, supporting 15+ production APIs and simple wallet setup.

Registry SourceRecently Updated
1.1K0obcraft