Xpersona
G

Gate CrossEx Cross-Exchange Trading

CLAWHUB · Unverified

Gate CrossEx cross-exchange skill. Use when the user asks to trade or query positions across Gate, Binance, OKX, and Bybit simultaneously. Triggers on 'cross...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172g4d1dcv6ccs6desbb2xw1583qza9:gate-exchange-crossex
  1. Install using `clawhub skill install s172g4d1dcv6ccs6desbb2xw1583qza9:gate-exchange-crossex` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/gate-exchange/gate-exchange-crossex before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-gate-exchange-gate-exchange-crossex/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

144,182 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: gate-exchange-crossex
version: "2026.3.23-1"
updated: "2026-03-23"
description: "Gate CrossEx cross-exchange skill. Use when the user asks to trade or query positions across Gate, Binance, OKX, and Bybit simultaneously. Triggers on 'cross exchange', 'Binance order', 'OKX position'."
---

# 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](https://github.com/gate/gate-skills/blob/master/skills/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`

## MCP Mode

**Read and strictly follow** [`references/mcp.md`](./references/mcp.md), then execute this skill's CrossEx workflow.

- `SKILL.md` keeps route dispatch and feature boundaries.
- `references/mcp.md` is the authoritative MCP execution layer for query/mutation sequencing, confirmation gates, and ri

README.md

# Gate CrossEx Cross-Exchange Trading

## Overview

[Gate CrossEx](https://www.gate.com/crossex) is an AI Agent skill for Gate's cross-exchange unified trading platform. It
allows users to trade across multiple mainstream exchanges (Gate, Binance, OKX, Bybit) through a single account,
providing complete account management, asset transfer, order placement, and position management features.

### Core Capabilities

| Module        | Description                                        | Example                                  |
|---------------|----------------------------------------------------|------------------------------------------|
| **Spot**      | Limit/market buy/sell, cross-exchange arbitrage    | "Buy 100 USDT worth of BTC"              |
| **Margin**    | Long/short trading, margin management              | "Long 50 USDT worth of XRP on margin"    |
| **Futures**   | USDT perpetual contracts, dual-direction positions | "Open 1 BTC futures long position"       |
| **Transfer**  | Cross-exchange fund transfer                       | "Transfer 100 USDT from Gate to Binance" |
| **Convert**   | Flash convert and convert quote workflow           | "Flash convert 10 USDT to BTC"           |
| **Orders**    | Query, cancel, amend orders                        | "Cancel all BTC_USDT orders"             |
| **Positions** | Query all position types, history records          | "Query all my positions"                 |
| **History**   | Query order/position/trade/interest history        | "Query trade history"                    |

---

## Supported Exchanges

| Exchange    | Code      | Spot | Margin | Futures |
|-------------|-----------|------|--------|---------|
| **Gate**    | `GATE`    | ✅    | ✅      | ✅       |
| **Binance** | `BINANCE` | ✅    | ✅      | ✅       |
| **OKX**     | `OKX`     | ✅    | ✅      | ✅       |
| **Bybit**   | `BYBIT`   | ✅    | ❌      | ✅       |

---

## Architecture

This skill uses a routing architecture. The main `SKILL.md` handles intent detection and routing, while detailed
workflows live in `references/*.md`.

### Routing

Intents are routed to corresponding reference documents via keywords:

| Intent                  | Keywords                                                     | Reference                        |
|-------------------------|--------------------------------------------------------------|----------------------------------|
| Spot Trading            | spot buy, spot sell, buy spot, sell spot                     | `references/spot-trading.md`     |
| Margin Trading          | margin long, margin short, long margin, short margin         | `references/margin-trading.md`   |
| Futures Trading         | futures long, futures short, open long, open short           | `references/futures-trading.md`  |
| Cross-Exchange Transfer | fund transfer, cross-exchange transfer, transfer, move funds | `references/transfer.md`         |
| Convert Trading         | convert trading, flash convert, convert, quote c

_meta.json

{
  "ownerId": "kn74x9hm07phcw70v30nff2x2h82t09z",
  "slug": "gate-exchange-crossex",
  "version": "1.0.2",
  "publishedAt": 1775115186989
}

references/convert-trading.md

# Gate CrossEx Convert Trading - Scenarios and Prompt Examples

Gate CrossEx flash convert scenarios.

## Workflow

### Step 1: Validate the convert request and balance

Call `cex_crx_get_crx_account` with:

- no required parameters for the default account overview

Key data to extract:

- available balance for the source coin
- whether the requested convert amount is sufficient
- exchange availability for the convert request

### Step 2: Request a convert quote

Call `cex_crx_create_crx_convert_quote` with:

- `exchange_type`
- `from_coin`
- `to_coin`
- `from_amount`

Key data to extract:

- quote id
- quoted rate
- expected receive amount
- quote expiry

### Step 3: Execute the convert after explicit confirmation

Call `cex_crx_create_crx_convert_order` with:

- `quote_id`

Key data to extract:

- convert order id
- submitted quote id
- initial convert status

### Step 4: Verify resulting balances

Call `cex_crx_get_crx_account` with:

- no required parameters for the default account overview

Key data to extract:

- updated source balance
- updated target balance
- whether the convert completed successfully

## Report Template

Use the scenario-specific templates below. The minimum response should include:

```text
Convert Trading Summary
- Exchange: {exchange_type}
- From: {from_amount} {from_coin}
- To: {to_coin}
- Rate: {rate}
- Expected Receive: {expected_receive}
- Status: {status}
- Convert Order ID: {order_id}
```

## API Call Parameters

### Convert Pair Format

```text
{FROM_COIN} -> {TO_COIN}
```

**Examples**:

- `USDT -> BTC`
- `BTC -> ETH`
- `USDT -> XRP`

### Convert Parameters

| Parameter       | Description                        |
|-----------------|------------------------------------|
| `exchange_type` | Exchange type (GATE, BINANCE, OKX) |
| `from_coin`     | Source currency                    |
| `to_coin`       | Target currency                    |
| `from_amount`   | Convert quantity                   |

### Data Sources

- **Account Balance**: Call `cex_crx_get_crx_account` → available balances
- **Convert Quote**: Call `cex_crx_create_crx_convert_quote` → quoted rate and expected receive amount
- **Execute Convert**: Call `cex_crx_create_crx_convert_order` → place the convert order

### Pre-checks

1. **Balance Check**: Confirm the source asset balance is sufficient
2. **Pair Check**: Confirm the requested convert pair is supported by the selected exchange
3. **Quote Freshness Check**: Use the returned quote within its validity window

### Pre-convert Confirmation

**Before conversion**, display **conversion summary**, only call the convert order API after user confirmation.

- **Summary**: Source coin, target coin, source amount, expected receive amount, rate, fee
- **Confirmation**: *"Reply 'confirm' to execute the above operation."*
- **Only after user confirmation** execute the convert order

### Error Handling

| Error Code                                   | Handling                                             

references/futures-trading.md

# Gate CrossEx Futures Trading - Scenarios and Prompt Examples

Gate CrossEx USDT perpetual contract trading scenarios and expected behaviors.

## Workflow

### Step 1: Validate the futures contract and trading limits

Call `cex_crx_list_crx_rule_symbols` with:

- `symbols`: target futures symbol when the user provides a contract

Key data to extract:

- contract validity
- `min_quote_amount`
- contract size metadata
- quantity precision

### Step 2: Check balance and current position state

Call `cex_crx_list_crx_positions` with:

- `symbol`: target futures symbol when filtering is needed

Key data to extract:

- current position side
- current position size
- entry price
- liquidation price

### Step 3: Resolve leverage before order placement

Call `cex_crx_get_crx_positions_leverage` with:

- `symbols`: target futures symbol when leverage is symbol-specific

Key data to extract:

- current leverage
- leverage limit
- whether leverage must be updated

### Step 4: Submit the futures order after confirmation

Call `cex_crx_create_crx_order` with:

- `symbol`
- `side`
- `position_side`
- `type`
- `qty`
- `price` for limit orders

Key data to extract:

- order id
- submitted size
- immediate order status

### Step 5: Verify the resulting position

Call `cex_crx_list_crx_positions` with:

- `symbol`: the traded futures symbol

Key data to extract:

- updated size
- updated entry price
- liquidation price
- unrealized pnl

## Report Template

Use the scenario-specific templates below. The minimum response should include:

```text
Futures Operation Summary
- Symbol: {symbol}
- Side: {side}
- Position Side: {position_side}
- Size: {qty}
- Leverage: {leverage}
- Price: {price_or_market}
- Status: {status}
- Order ID: {order_id}
```

## API Call Parameters

### Trading Pair Format

```
{EXCHANGE}_FUTURE_{BASE}_{QUOTE}
```

**Examples**:

- `GATE_FUTURE_BTC_USDT` - Gate BTC/USDT futures
- `BINANCE_FUTURE_ETH_USDT` - Binance ETH/USDT futures
- `OKX_FUTURE_SOL_USDT` - OKX SOL/USDT futures

### Order Parameters

| Parameter       | Long                | Short               | Description                                   |
|-----------------|---------------------|---------------------|-----------------------------------------------|
| `side`          | `BUY`               | `SELL`              | Trade direction                               |
| `position_side` | `LONG` (required)   | `SHORT` (required)  | Position direction                            |
| `type`          | `MARKET` / `LIMIT`  | `MARKET` / `LIMIT`  | Order type                                    |
| `qty`           | **Required** (size) | **Required** (size) | Contract size                                 |
| `price`         | Optional            | Optional            | Limit order price (required for limit orders) |

### Data Sources

- **Trading Pair Info**: Call `cex_crx_list_crx_rule_symbols` → `min_quote_amount`, `amount_precision`,
  `quantity_precision`, `contract_size`
- **Account Balan

Sponsored

Ads related to Gate CrossEx Cross-Exchange Trading and adjacent AI workflows.