← Back to Skills Marketplace
gate-exchange

Gate VIP & Fee Query Skill

by Gate · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ Security Clean
252
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install gate-exchange-vip-fee
Description
Gate VIP tier and trading fee query skill. Use when the user asks about their fee rates or VIP level. Triggers on 'VIP level', 'trading fee', 'fee rate', 'sp...
README (SKILL.md)

Gate VIP & Fee Query Assistant

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_account_get_account_detail
  • cex_wallet_get_wallet_fee

Authentication

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, then execute this skill's VIP/fee query workflow.

  • SKILL.md keeps intent routing and rendering rules.
  • references/mcp.md is the authoritative MCP execution layer for account/fee data retrieval and safe output behavior.

Quick Start

Below are the most common prompts to get started quickly:

  1. Query VIP tier

    What is my VIP level?

  2. Query trading fees

    Show me the spot and futures trading fees.

  3. Query VIP tier and fees together

    Check my VIP level and trading fees.

Domain Knowledge

Tool Mapping by Domain

Group Tool Calls
Account / VIP tier cex_account_get_account_detail
Trading fee rates cex_wallet_get_wallet_fee

Key Concepts

  • VIP Tier: Gate assigns VIP levels (VIP 0 – VIP 16) based on trading volume and asset holdings. Higher VIP tiers unlock lower fee rates.
  • Spot Fee: The maker/taker fee rate applied to spot trading pairs.
  • Futures Fee: The maker/taker fee rate applied to futures/contract trading, differentiated by settlement currency (BTC, USDT, USD).
  • The cex_wallet_get_wallet_fee tool returns fee rates for both spot and futures in a single response. Use the settle parameter to query futures-specific fees.

API Behavior Notes

  • Account-level pricing: Gate fee rates are determined by the user's VIP tier. The currency_pair parameter does not change the returned fee values — all trading pairs share the same account-level rate.
  • settle parameter scope: The settle parameter only affects futures fee fields (futuresMakerFee / futuresTakerFee). Spot fees (makerFee / takerFee) remain unchanged regardless of settle.
  • Invalid currency_pair handling: The API does not return an error for non-existent trading pairs. It silently returns the default account-level fees. Do not treat a successful response as confirmation that the trading pair exists.

Workflow

When the user asks about VIP tier or trading fees, follow this sequence.

Step 1: Identify Query Type

Classify the request into one of these categories:

  1. VIP tier query — user wants to know their current VIP level
  2. Fee rate query — user wants to know spot and/or futures trading fee rates
  3. Combined query — user wants both VIP tier and fee information

Key data to extract:

  • query_type: "vip", "fee", or "combined"
  • currency_pair (optional): specific trading pair for fee lookup
  • settle (optional): futures settlement currency (BTC / USDT / USD)

Step 2: Query VIP Tier (if needed)

If query_type is "vip" or "combined":

Call cex_account_get_account_detail with:

  • No parameters required

Key data to extract:

  • vip_level: the user's current VIP tier (e.g., VIP 0, VIP 1, etc.)

Step 3: Query Trading Fee Rates (if needed)

If query_type is "fee" or "combined":

Call cex_wallet_get_wallet_fee with:

  • currency_pair (optional): specify trading pair context (note: fee rates are account-level and do not vary by pair)
  • settle (optional): futures settlement currency — affects futures fee fields only

Key data to extract:

  • maker_fee_rate: spot maker fee rate
  • taker_fee_rate: spot taker fee rate
  • futures_maker_fee_rate: futures maker fee rate
  • futures_taker_fee_rate: futures taker fee rate

Step 4: Return Result

Format the response according to the Report Template. The API (cex_wallet_get_wallet_fee) always returns the full fee structure (spot + futures + delivery). Filter the output based on the user's original intent:

  • If user asked about spot fees only → show only makerFee / takerFee
  • If user asked about futures/contract fees only → show only futuresMakerFee / futuresTakerFee
  • If user asked about trading fees (general) → show both spot and futures
  • If user asked about VIP only → show only VIP level, no fee data
  • If user specified a currency_pair → append a note in the response: "Note: The API returns account-level fee rates. The fee shown applies to all trading pairs; if the pair you specified does not exist, the result still reflects your default account fee rate."

Key data to extract:

  • VIP level (if queried)
  • Spot maker/taker fee rates (if queried)
  • Futures maker/taker fee rates (if queried)

Judgment Logic Summary

Condition Action
User asks about VIP tier/level only Call cex_account_get_account_detail, return VIP level
User asks about trading fees only Call cex_wallet_get_wallet_fee, return spot and futures fee rates
User asks about both VIP and fees Call both tools, return combined result
User specifies a trading pair Pass currency_pair parameter to cex_wallet_get_wallet_fee
User specifies futures settlement currency Pass settle parameter to cex_wallet_get_wallet_fee
User asks about spot fees only Call cex_wallet_get_wallet_fee, return only spot fee portion
User asks about futures/contract fees only Call cex_wallet_get_wallet_fee with settle parameter, return only futures fee portion
User specifies a currency_pair Append a disclaimer that the API does not validate trading pairs; the returned fee is the account-level default and the pair may not exist
API returns error or empty data Inform user of the issue and suggest checking account authentication

Report Template

## Query Result

{vip_section}

{fee_section}

VIP Section (when VIP is queried):

### VIP Tier

| Item | Value |
|------|-------|
| VIP Level | {vip_level} |

Fee Section (when fees are queried):

### Trading Fee Rates

| Category | Maker Fee | Taker Fee |
|----------|-----------|-----------|
| Spot | {spot_maker_fee} | {spot_taker_fee} |
| Futures | {futures_maker_fee} | {futures_taker_fee} |

Combined example output:

## Query Result

### VIP Tier

| Item | Value |
|------|-------|
| VIP Level | VIP 1 |

### Trading Fee Rates

| Category | Maker Fee | Taker Fee |
|----------|-----------|-----------|
| Spot | 0.1% | 0.1% |
| Futures (USDT) | 0.015% | 0.05% |

Error Handling

Error Type Typical Cause Handling Strategy
Authentication failure API key invalid or expired Inform user to check MCP configuration and API key validity
Empty response Account data not available Inform user the query returned no data and suggest retrying
Network error MCP connection issue Suggest user check MCP server connectivity

Safety Rules

  • This Skill is read-only and does not perform any trading or account modification operations.
  • No user confirmation is required since all operations are queries only.
  • Never expose raw API keys or sensitive authentication details in responses.
Usage Guidance
This skill appears coherent and read-only: it only calls Gate MCP read APIs to return VIP level and fee rates. Before installing: 1) verify the skill's publisher/repository (the registry shows Source: unknown while the docs claim Gate/GitHub) to confirm authenticity; 2) ensure your MCP/server will only provide an API key with Account:Read and Wallet:Read (no trading or withdrawal permissions); 3) confirm the MCP layer enforces that only the two listed MCP tools can be called; and 4) review the referenced gate-runtime-rules.md if available to ensure it doesn't contain broader runtime directives. If those checks are satisfactory, the skill's footprint is proportionate to its stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: gate-exchange-vip-fee Version: 1.0.2 The skill bundle is a legitimate tool for querying Gate.io VIP tiers and trading fees. It utilizes specific read-only MCP tools (cex_account_get_account_detail and cex_wallet_get_wallet_fee) and provides clear, structured instructions for the AI agent in SKILL.md and references/mcp.md. The workflow is well-defined, includes appropriate error handling, and explicitly states that it does not perform trading or account modifications.
Capability Assessment
Purpose & Capability
The skill's name/description match the instructions: it only queries VIP level and fee rates via Gate MCP tools. The SKILL.md correctly documents that an API key is required but is managed by the MCP layer. One provenance note: README/SKILL.md claim a Gate/GitHub repo and publisher (Gate.com), but registry metadata lists Source: unknown and no homepage—verify the publisher/repository before trusting the skill.
Instruction Scope
Runtime instructions are narrowly scoped to read-only MCP calls (cex_account_get_account_detail and cex_wallet_get_wallet_fee), data extraction, and templated formatting. The SKILL.md explicitly forbids calling tools not listed. The instructions do not request arbitrary file reads, environment variables, or external data exfiltration beyond the MCP requests. They do reference an external 'gate-runtime-rules.md' doc; review that doc if you need to be certain it contains no broader directives.
Install Mechanism
No install spec or code files are present. This is instruction-only, so nothing is downloaded or written to disk by the skill itself.
Credentials
The skill itself requires no environment variables. It correctly documents that the MCP platform must provide a Gate API key with Account:Read and Wallet:Read permissions. This is proportionate for read-only VIP/fee queries. Before enabling, confirm the MCP will only grant the minimal scopes and will not inject broader credentials.
Persistence & Privilege
always:false (default) and user-invocable:true. The skill does not request permanent presence or system-wide config changes. Autonomous invocation is allowed (platform default) but the skill's read-only scope limits risk.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gate-exchange-vip-fee
  3. After installation, invoke the skill by name or use /gate-exchange-vip-fee
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Introduced `references/mcp.md` as the authoritative guide for MCP execution and safe data retrieval. - Updated `SKILL.md` to streamline routing, reporting, and intent logic; details for data access have been moved to `references/mcp.md`. - Clarified workflow: follow shared MCP rules and the new reference document before any account or fee queries. - No changes to MCP server/tools or output format—behavior remains backward compatible. - Minor adjustments to the description and quick start for better clarity.
v1.0.1
- Updated the skill name to match the repo and description ("gate-exchange-vipfee" instead of "gate-exchange-vipfee"). - Added strict instructions to read and follow shared runtime rules before any tool use. - Provided explicit dependency documentation for required MCP server, tool permissions, and installer links. - Clarified authentication, API key, and permission requirements. - Expanded documentation for installation, configuration, and supported environments. - No changes to any code or runtime logic.
v1.0.0
Gate VIP & Fee Query Assistant initial release. - Provides answers about Gate VIP tier and account-level trading fee rates for spot and futures/contract products. - Supports queries for VIP level, spot fees, futures fees, or both together. - Maps user requests to API calls: account detail for VIP, wallet fee for trading fees. - Formats results in a clear table, indicating if a currency pair was specified. - Includes handling for spot/futures-only requests and disclaimers if a non-existent trading pair is provided. - Contains user-facing guidance and error handling strategies.
Metadata
Slug gate-exchange-vip-fee
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Gate VIP & Fee Query Skill?

Gate VIP tier and trading fee query skill. Use when the user asks about their fee rates or VIP level. Triggers on 'VIP level', 'trading fee', 'fee rate', 'sp... It is an AI Agent Skill for Claude Code / OpenClaw, with 252 downloads so far.

How do I install Gate VIP & Fee Query Skill?

Run "/install gate-exchange-vip-fee" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Gate VIP & Fee Query Skill free?

Yes, Gate VIP & Fee Query Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Gate VIP & Fee Query Skill support?

Gate VIP & Fee Query Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Gate VIP & Fee Query Skill?

It is built and maintained by Gate (@gate-exchange); the current version is v1.0.2.

💬 Comments