leoyeai/openclaw-master-skills/gate-exchange-crossex
Claude Code and agent skill by leoyeai/openclaw-master-skills
- community
Checking that the SKILL.md file is still in the repository.
Use this skill for Gate CrossEx cross-exchange operations: order placement, transfer, convert, and order/position/history queries across Gate, Binance, OKX and Bybit. Trigger phrases include "buy spot", "transfer", "convert", "query positions", "order history".
Install
npx vskill@latest install leoyeai/openclaw-master-skills/gate-exchange-crossexSKILL.md
The same SKILL.md was published earlier as leoyeai/openclaw-master-skills/gate-exchange-crossex.
Gate CrossEx Trading Suite
This skill is the unified entry point for Gate CrossEx cross-exchange trading. It supports lots of core operations: order management, position query, and history query. User intents are routed to corresponding workflows.
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
- Only call MCP tools explicitly listed in this skill. Tools not documented here must NOT be called, even if they
exist in the MCP server.
MCP Dependencies
Required MCP Servers
| MCP Server | Status | |
|---|---|---|
| Gate (main) | ✅ Required |
MCP Tools Used
Query Operations (Read-only)
- cex_crx_get_crx_account
- cex_crx_get_crx_fee
- cex_crx_get_crx_interest_rate
- cex_crx_get_crx_margin_positions_leverage
- cex_crx_get_crx_order
- cex_crx_get_crx_positions_leverage
- cex_crx_list_crx_account_book
- cex_crx_list_crx_adl_rank
- cex_crx_list_crx_coin_discount_rate
- cex_crx_list_crx_history_margin_interests
- cex_crx_list_crx_history_margin_positions
- cex_crx_list_crx_history_orders
- cex_crx_list_crx_history_positions
- cex_crx_list_crx_history_trades
- cex_crx_list_crx_margin_positions
- cex_crx_list_crx_open_orders
- cex_crx_list_crx_positions
- cex_crx_list_crx_rule_risk_limits
- cex_crx_list_crx_rule_symbols
- cex_crx_list_crx_transfer_coins
- cex_crx_list_crx_transfers
Execution Operations (Write)
- cex_crx_cancel_crx_order
- cex_crx_close_crx_position
- cex_crx_create_crx_convert_order
- cex_crx_create_crx_convert_quote
- cex_crx_create_crx_order
- cex_crx_create_crx_transfer
- cex_crx_update_crx_account
- cex_crx_update_crx_margin_positions_leverage
- cex_crx_update_crx_order
- cex_crx_update_crx_positions_leverage
Authentication
- API Key Required: Yes (see skill doc/runtime MCP deployment)
- Permissions: Crx:Write
- Get API Key: https://www.gate.io/myaccount/profile/api-key/manage
Installation Check
- Required: Gate (main)
- Install: Run installer skill for your IDE
- Cursor:
gate-mcp-cursor-installer - Codex:
gate-mcp-codex-installer - Claude:
gate-mcp-claude-installer - OpenClaw:
gate-mcp-openclaw-installer
Module Overview
| Module | Description | Trigger Keywords | |
|---|---|---|---|
| Spot | Limit/market buy/sell, cross-exchange arbitrage | spot buy, spot sell, buy spot, sell spot | |
| Margin | Long/short trading, margin management, auto-borrowing | margin long, margin short, long margin, short margin | |
| Futures | USDT perpetual contracts, dual-direction positions, leverage adjustment | futures long, futures short, open long, open short | |
| Transfer | Cross-exchange fund transfer | fund transfer, cross-exchange transfer, transfer, move funds | |
| Convert | Flash convert and conversion quote workflow | convert trading, flash convert, convert, quote convert | |
| Orders | Query, cancel, amend orders, order history | query orders, cancel order, amend order, order history, list orders | |
| Positions | Query all position types, history records | query positions, check positions, position history, positions | |
| History | Query order/position/trade/interest history | history query, trade history, interest history, history |
Routing Rules
| Intent | Example Phrases | Route To | |
|---|---|---|---|
| Spot Trading | "Buy 100 USDT worth of BTC", "Sell 0.5 BTC", "Market buy ETH spot" | Read references/spot-trading.md | |
| Margin Trading | "Long 50 USDT worth of XRP on margin", "Short BTC on margin", "10x leverage long" | Read references/margin-trading.md | |
| Futures Trading | "Open 1 BTC futures long position", "Market short ETH", "Adjust leverage to 20x" | Read references/futures-trading.md | |
| Cross-Exchange Transfer | "Transfer 100 USDT from Gate to Binance", "Move ETH from OKX to Gate" | Read references/transfer.md | |
| Convert Trading | "Flash convert 10 USDT to BTC", "Convert 50 USDT to ETH on Gate" | Read references/convert-trading.md | |
| Order Management | "Query all open orders", "Cancel that buy order", "Amend order price", "Query order history" | Read references/order-management.md | |
| Position Query | "Query all my positions", "Show futures positions", "Position history" | Read references/position-query.md | |
| History Query | "Query trade history", "Position history", "Margin interest history", "Account ledger" | Read references/history-query.md | |
| Unclear | "Show account" , "Help me" , "Please Check my account" | Clarify: Query account, then guide user |
MCP Tools
This skill uses the CrossEx MCP toolset with the cex_crx prefix as its only core tool family.
Scope rule: Only execute operations explicitly documented in this skill. Only call tools listed in the tables below or in references/*.md. Tools or operations not mentioned here must not be called.
Tool Naming Convention
- List operations in the cex_crx family query symbols, orders, positions, transfers, or history
- Get operations in the cex_crx family query a single account setting, fee, rate, or order detail
- Create operations in the cex_crx family create an order, transfer, convert quote, or convert order
- Update operations in the cex_crx family update account settings, leverage, or existing orders
- Cancel operations in the cex_crx family cancel an existing order
- Close operations in the cex_crx family close an existing position
Symbol And Rule Tools
| Tool | Purpose | |
|---|---|---|
cex_crx_list_crx_rule_symbols | List supported CrossEx trading symbols | |
cex_crx_list_crx_rule_risk_limits | Query symbol risk limit rules | |
cex_crx_list_crx_transfer_coins | List assets supported for CrossEx transfer | |
cex_crx_get_crx_fee | Query CrossEx trading fee information | |
cex_crx_get_crx_interest_rate | Query CrossEx interest rates | |
cex_crx_list_crx_coin_discount_rate | Query collateral discount rates |
Account Tools
| Tool | Purpose | |
|---|---|---|
cex_crx_get_crx_account | Query CrossEx account overview and balances | |
cex_crx_update_crx_account | Update CrossEx account settings | |
cex_crx_list_crx_account_book | Query CrossEx account ledger entries |
Transfer And Convert Tools
| Tool | Purpose | |
|---|---|---|
cex_crx_list_crx_transfers | Query transfer history | |
cex_crx_create_crx_transfer | Create a cross-exchange transfer | |
cex_crx_create_crx_convert_quote | Get a flash convert quote | |
cex_crx_create_crx_convert_order | Execute a flash convert order |
Order Tools
| Tool | Purpose | |
|---|---|---|
cex_crx_list_crx_open_orders | Query current open orders | |
cex_crx_create_crx_order | Create a CrossEx order | |
cex_crx_get_crx_order | Query order details | |
cex_crx_update_crx_order | Amend an existing order | |
cex_crx_cancel_crx_order | Cancel a single order | |
cex_crx_list_crx_history_orders | Query order history | |
cex_crx_list_crx_history_trades | Query trade history |
Position And Leverage Tools
| Tool | Purpose | |
|---|---|---|
cex_crx_list_crx_positions | Query current futures positions | |
cex_crx_list_crx_margin_positions | Query current margin positions | |
cex_crx_close_crx_position | Close an existing CrossEx position | |
cex_crx_get_crx_positions_leverage | Query futures leverage settings | |
cex_crx_update_crx_positions_leverage | Update futures leverage | |
cex_crx_get_crx_margin_positions_leverage | Query margin leverage settings | |
cex_crx_update_crx_margin_positions_leverage | Update margin leverage | |
cex_crx_list_crx_history_positions | Query futures position history | |
cex_crx_list_crx_history_margin_positions | Query margin position history | |
cex_crx_list_crx_history_margin_interests | Query margin interest history | |
cex_crx_list_crx_adl_rank | Query ADL rank information |
Usage Guidance
- Use the cex_crx MCP family as the default and only core MCP family for this skill.
- Use list/get tools to query symbol rules, fees, balances, leverage, or supported assets.
- Prefer history and account-book tools when the user asks for records, audit trails, or status verification.
Execution
1. Intent and Parameter Identification
- Determine module (orders/positions/history)
- Extract key parameters:
- Trading Pair:
GATE_SPOT_BTC_USDT,GATE_MARGIN_XRP_USDT,GATE_FUTURE_ETH_USDT - Exchange:
GATE,BINANCE,OKX,BYBIT - Direction:
BUY(buy/long),SELL(sell/short) - Quantity: USDT amount, coin quantity, contract size
- Price: Limit, market
- Leverage: Leverage multiplier (margin/futures only)
- Position Side:
LONG(long),SHORT(short, margin/futures only) - Missing Parameters: If required parameters are missing, ask user
2. Pre-checks
- Trading Pair: Call
cex_crx_list_crx_rule_symbolsto verify - Account Balance: Call
cex_crx_get_crx_accountto check if available margin is sufficient - Position Check:
- Margin Trading: Check existing positions to avoid direction conflicts
- Futures Trading: Check dual-direction position mode
- Minimum Amount: Query
min_quote_amount(typically 3 USDT) - Exchange Status: Verify target exchange is operating normally
3. Module Logic
Module A: Spot Trading
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gate-exchange-crossex/SKILL.md
Popularity
- Repository stars
- 2,157
- Repository forks
- 324
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/leoyeai/openclaw-master-skills/gate-exchange-crossex)