Gate trading copilot

From jiayaoqijia/cryptoskill · View interactive version

Gate trading copilot is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Gate Trading Copilot L2. Use when the user wants to execute complex trades, margin borrowing, or query positions and open orders. Triggers on 'market buy', 'margin borrow', 'TradFi', 'Alpha', or spot-plus-futures combos. Requires Action Draft.

How to use this skill

Skill file

Gate Exchange Trading Copilot

This is an L2 composite skill for users who want a single skill to complete the full trading loop:

judge the opportunity -> control risk -> produce order draft -> explicit confirmation -> execute -> verify/manage

It is neither a pure research skill nor a pure execution skill. Its purpose is to provide a complete trading workflow inside one skill.

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

exist in the MCP server.

Before calling any named MCP tool, verify that the concrete tool name exists in the current runtime tool list. If a helper tool is absent, disclose the mismatch, use only the nearest valid fallback combination, and do not overclaim unavailable coverage such as rankings, macro breadth, or automated fund-flow tracing.

Also validate that the returned payload is rich enough for the intended analytical claim. If a tool returns sparse metadata, empty structures, or requires missing disambiguation inputs, treat it as supporting context only rather than primary evidence.

For portability across Gate MCP runtimes, treat the documented surfaces as the baseline:

Do not make news_events_* a required dependency in scenario design, because it is not part of the documented baseline news surface.

MCP Mode

Read and strictly follow CODE0, then execute this skill's copilot workflow.


Read references/scenarios.md for:

Authentication

Positioning

Suitable Scenarios

Suitable

Not Suitable

Capability Boundary

This skill can do

  1. Recognize whether the user wants:
  1. Dynamically combine analysis modules around one trade target:
  1. Produce a Trading Brief
  2. Produce an Order Draft when risk is acceptable
  3. Execute after explicit confirmation:
  1. Continue after execution:

This skill cannot do

  1. Decide and trade automatically on behalf of the user
  2. Place orders without explicit confirmation
  3. Bypass compliance, risk, minimum order, or contract safety constraints
  4. Promise profit or present analysis as certainty
  5. Pretend to support unsupported products

Operating Principles

Principle 1: Work around the trading goal

This skill is built for trading closure, not broad research.

Principle 2: Judge first, execute second

Unless the user only wants pure order/position management, default to one round of pre-trade judgment before producing an order draft.

Principle 3: Use the minimum necessary analysis

Do not run every module every time. Only call the modules needed for the current decision.

Read references/routing-and-analysis.md for:

Principle 4: Strong confirmation at execution layer

Any real trading action must follow this order:

  1. Produce a Trading Brief
  2. Produce an Order Draft
  3. Wait for explicit confirmation in the immediately previous user turn
  4. Execute only after confirmation

Read references/execution-and-guardrails.md for:

Overall Workflow

Step 0: Apply the shared runtime rules first

Before analysis or execution:

Step 1: Identify task mode

Classify the user request into one of these modes:

  1. Trade Decision
  1. Trade Draft / Execute
  1. Order / Position Management

Step 2: Narrow down to one trade target

Before entering execution, try to make these explicit:

If information is still incomplete:

Step 3: Build the pre-trade analysis package

Call only the modules needed for this request:

Step 4: Produce a Trading Brief

Trading Brief is the mandatory intermediate artifact before execution. It must include:

  1. what the user wants to do
  2. current market/asset judgment
  3. key risks
  4. whether the skill should continue to order drafting

Only three result states are allowed:

Step 5: Produce an Order Draft

Only produce an order draft when all of the following are true:

Step 6: Wait for explicit confirmation

If the user does not provide a clear, immediate confirmation:

Step 7: Execute and verify

After execution, always return:

Market Identification Rules

Default behavior

Recommended Output Rhythm

Before execution

  1. Trading Brief
  2. if allowed: Order Draft
  3. wait for confirmation

After execution

  1. Execution Result
  2. if needed: Next Actions

Special Rule for Order / Position Management

If the user asks for:

then the skill does not need to rerun the full research chain, but it still must:

Risk Policy

Hard blocks

Must stop immediately if:

Soft blocks

Warn but allow continuation if:

For soft blocks:

Reading Order

  1. Read references/routing-and-analysis.md
  2. Read references/execution-and-guardrails.md
  3. Execute only the modules needed for the current task; do not run the full stack by default
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.