Gate dex market

From jiayaoqijia/cryptoskill · View interactive version

Gate dex market is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Gate DEX read-only market data skill. Use when the user asks for prices, K-lines, rankings, holders, or liquidity without signing a tx. Triggers on 'DEX price', 'token K-line', 'holder analysis'. Do NOT use for swaps or wallet auth — use gate-dex-trade or gate-dex-wallet.

How to use this skill

Skill file

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:


MCP Dependencies

Required MCP Servers

| MCP Server | Status |

|------------|--------|

| Gate-Dex | ✅ Required |

MCP Tools Used

Query Operations (Read-only)

Authentication

Installation Check

Project convention — MCP only

No OpenAPI unless user explicitly asks. MCP setup: see gate-dex-trade/references/setup.md.


NOT this skill (common misroutes):


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 CODE0, 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:

  1. Always load first: CODE0 — env detection, credentials, API call method (via helper script)
  2. Then load based on query type:

| Query Type | Load File |

|-----------|-----------|

| Token info, rankings, new tokens, security, holders | CODE0 |

| Volume stats, K-line, liquidity events | CODE0 |

Legacy monolithic file preserved at CODE0 for backward compatibility.


Supported Chains

Actual supported chains are determined by runtime API/Resource returns:

Common chains: eth, bsc, polygon, arbitrum, optimism, avax, base, sol.


Security Rules

  1. Data objectivity: Present prices and rankings objectively, no investment advice
  2. Risk warnings: Clearly remind users to judge investment risks themselves when showing security audits
  3. Credential security: Follow §3 of gate-runtime-rules.md for auth/credential handling
  4. Read-only: All operations are data queries, no on-chain write operations
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.