gate-dex-market
Gate DEX Market
Pure Routing Layer — READ-ONLY data queries only. Never executes transactions. All specifications in
references/.
General Rules
⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding. Do NOT select or call any tool until all rules are read. These rules have the highest priority. → Read gate-runtime-rules.md
Trigger Scenarios: Use when the user wants to look up or analyze market data without executing any transaction:
- Price lookup: "what is the price of ETH", "check SOL price", "price of 0x1234..."
- Charts: "show K-line", "candlestick chart", "price trend"
- Rankings: "top gainers", "trending tokens", "token rankings"
- Security: "is this token safe", "security audit", "honeypot check", "risk analysis"
- Discovery: "new tokens", "newly listed", "holder analysis", "whale tracking"
- Volume: "trading volume", "buy-sell pressure", "liquidity events"
Project convention — MCP only
No OpenAPI unless user explicitly asks. MCP setup: see gate-dex-trade/references/setup.md.
NOT this skill (common misroutes):
- "quote for swapping X to Y" →
gate-dex-trade(swap execution) - "check my balance" →
gate-dex-wallet(account query) - "buy ETH" / "sell USDT" →
gate-dex-trade(transaction execution)
Routing Flow
User triggers market data query
|
Step 1: OpenAPI only if user explicitly asks. Else MCP only.
Step 2: MCP discovery → success = MCP mode; fail = MCP setup guide (no OpenAPI fallback).
Feature Matrix
| Feature | MCP | OpenAPI | Notes |
|---|---|---|---|
| K-line / Candlestick | Yes | Yes | |
| Token basic info | Yes | Yes | |
| Token rankings | Yes | Yes | |
| Security risk audit | Yes | Yes | |
| Tradable token list | Yes | Yes | |
| Cross-chain bridge tokens | Yes | No | MCP only |
| Holder analysis (Top N) | No | Yes | OpenAPI only |
| New token discovery | No | Yes | OpenAPI only |
| Liquidity events (Rug Pull) | No | Yes | OpenAPI only |
| Volume stats (multi-period) | No | Yes | OpenAPI only |
Mode Dispatch
MCP Mode
Read and strictly follow references/mcp.md, execute according to its complete workflow.
Includes: connection detection, 6 market data tools (dex_market_get_kline, dex_token_get_coin_info, dex_token_ranking, dex_token_get_risk_info, dex_token_list_swap_tokens, dex_token_list_cross_chain_bridge_tokens), no authentication required for market queries.
OpenAPI Mode (Progressive Loading)
Explicit user request only. Load files progressively:
- Always load first:
references/openapi/_shared.md— env detection, credentials, API call method (via helper script) - Then load based on query type:
| Query Type | Load File |
|---|---|
| Token info, rankings, new tokens, security, holders | openapi/token-data.md |
| Volume stats, K-line, liquidity events | openapi/market-data.md |
Legacy monolithic file preserved at
references/openapi.mdfor backward compatibility.
Supported Chains
Actual supported chains are determined by runtime API/Resource returns:
- MCP Mode: via
dex_chain_configtool - OpenAPI Mode: chain parameter in request
Common chains: eth, bsc, polygon, arbitrum, optimism, avax, base, sol.
Security Rules
- Data objectivity: Present prices and rankings objectively, no investment advice
- Risk warnings: Clearly remind users to judge investment risks themselves when showing security audits
- Credential security: Follow §3 of gate-runtime-rules.md for auth/credential handling
- Read-only: All operations are data queries, no on-chain write operations
More from gate/gate-skills
gate-exchange-futures
Gate Exchange USDT perpetual futures trading skill. Use when the user wants to trade contracts, open/close perpetual positions, or manage futures leverage. Triggers on 'open long', 'close short', 'USDT perpetual', 'futures TP/SL'.
125gate-exchange-spot
Gate spot trading and account operations skill. Use when the user asks to buy/sell crypto on spot, check account value, list spot balances, or place conditional/trigger orders. Triggers on 'buy coin', 'sell spot', 'take profit', 'stop loss', 'cancel order', 'my spot balance', '查看我的现货账户余额', or '现货账户余额'.
113gate-exchange-marketanalysis
Gate Exchange market analysis tool. Use when the user asks for deep market metrics like liquidity, slippage, funding arbitrage, or manipulation risk. Triggers on 'liquidity', 'depth', 'slippage', 'momentum', 'buy/sell pressure', 'squeeze', 'funding rate', 'arbitrage', 'basis', 'premium'.
102gate-news-briefing
News briefing. Use this skill ONLY when the user's query is exclusively about recent news or headlines with no other analysis dimensions. Trigger phrases: what happened recently, today's highlights, crypto news, any new updates. If the query ALSO mentions coin analysis, risk check, technicals, or any other analysis dimension, use gate-info-research instead — it handles multi-dimension queries in a single unified report.
95gate-info-trendanalysis
Trend and technical analysis. Use this skill ONLY when the user's query is exclusively about technical indicators or trend analysis for one coin with no other analysis dimensions. Trigger phrases: technical analysis, K-line, RSI, MACD, trend, support, resistance. If the query ALSO mentions fundamentals, risk, news, sentiment, or any other analysis dimension, use gate-info-research instead — it handles multi-dimension queries in a single unified report.
84gate-info-riskcheck
Token and address risk assessment. Use this skill ONLY when the user's query is exclusively about token/contract/address security with no other analysis dimensions. Trigger phrases: is this token safe, check contract risk, is this address safe, honeypot, rug. If the query ALSO mentions fundamentals, technicals, news, sentiment, or any other analysis dimension, use gate-info-research instead — it handles multi-dimension queries in a single unified report. Address risk mode (is this address safe) is exclusive to this skill and must NOT be routed to gate-info-research.
76