Token导航 LogoToken导航

Agent Skill · 前端设计

gate-exchange-tradfi(门交换贸易)

gate-exchange-tradfi 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

gate-exchange-tradfi 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有提醒项,按安装量在前端设计类的 10,216 个 Skill 里排第 3,570。

总安装 1,248周安装 50GitHub Stars 26下载 404核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gate-exchange-tradfi(门交换贸易)
来源仓库:https://github.com/gate/gate-skills
仓库路径:skills/gate-exchange-tradfi
安装命令:
npx skills add https://github.com/gate/gate-skills --skill gate-exchange-tradfi
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/gate/gate-skills --skill gate-exchange-tradfi

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

gate-exchange-tradfi 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适用于 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理的任务场景。

通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。当前无额外功能说明,建议进一步查阅来源仓库获取详细文档和使用示例。

来源仓库内路径:skills/gate-exchange-tradfi

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/gate/gate-skills --skill gate-exchange-tradfi;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

gate-exchange-tradfi 怎么安装?

在终端执行 npx skills add https://github.com/gate/gate-skills --skill gate-exchange-tradfi。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

gate-exchange-tradfi 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

gate-exchange-tradfi 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

gate-exchange-tradfi 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

gate-exchange-tradfi 用的人多吗?

公开数据是累计安装 1,248 次,近一周安装 50 次,下载 404 次,GitHub 26 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

gate-exchange-tradfi 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
gate-exchange-tradfi

门交换贸易 · 本页

1,24826接触敏感数据未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Resolving gate-cli (binary path)

Resolve gate-cli in order: (1) command -v gate-cli and gate-cli --version succeeds; (2) ${HOME}/.local/bin/gate-cli if executable; (3) ${HOME}/.openclaw/skills/bin/gate-cli if executable. Canonical rules: exchange-runtime-rules.md §4 (or gate-runtime-rules.md §4).

Gate TradFi Suite

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 use the gate-cli commands explicitly listed in this skill. Commands not documented here must NOT be run for these workflows, even if other interfaces expose them.

Skill Dependencies

gate-cli commands used

Query Operations (Read-only)

  • gate-cli cex tradfi market categories
  • gate-cli cex tradfi account info
  • gate-cli cex tradfi order history
  • gate-cli cex tradfi order list
  • gate-cli cex tradfi position history
  • gate-cli cex tradfi position list
  • gate-cli cex tradfi market symbol
  • gate-cli cex tradfi market kline
  • gate-cli cex tradfi market ticker
  • gate-cli cex tradfi market symbols
  • gate-cli cex tradfi account assets

Execution Operations (Write)

  • gate-cli cex tradfi position close
  • gate-cli cex tradfi order create
  • gate-cli cex tradfi order cancel
  • gate-cli cex tradfi order update
  • gate-cli cex tradfi position update

Authentication

  • Interactive file setup: when GATE_API_KEY and GATE_API_SECRET are not both set on the host, run gate-cli config init to complete the wizard for API key, secret, profiles, and defaults (see gate-cli).
  • Env / flags: gate-cli config init is not required when credentials are already supplied — e.g. both GATE_API_KEY and GATE_API_SECRET set on the host, or --api-key / --api-secret where supported — never ask the user to paste secrets into chat.
  • Permissions: Tradfi:Write
  • Portal: create or rotate keys outside the chat: https://www.gate.com/myaccount/profile/api-key/manage

Installation Check

  • Required: gate-cli (run sh./setup.sh from this skill directory if missing; optional GATE_CLI_SETUP_MODE=release).
  • Add $HOME/.openclaw/skills/bin to PATH if you invoke gate-cli by name (or the directory where setup.sh installs it).
  • Credentials: When GATE_API_KEY and GATE_API_SECRET are both set (non-empty) for the host, do not require gate-cli config init — that is equivalent valid config for gate-cli. When both are unset or empty, remind the operator to run gate-cli config init or to configure GATE_API_KEY / GATE_API_SECRET in the matching skill from the skill library (never ask the user to paste secrets into chat).
  • Sanity check: Do not proceed with authenticated calls until the CLI behaves as expected (e.g. gate-cli --version or a read-only gate-cli cex... command from this skill); confirm credentials resolve before mutating operations.

Execution mode

Read and strictly follow references/gate-cli.md, then execute this skill's TradFi workflow.

  • SKILL.md keeps routing and domain constraints.
  • references/gate-cli.md is the authoritative gate-cli execution contract for query/mutation separation, confirmation gates, and post-action verification.

Sub-Modules

ModuleDescriptionTrigger keywords
Query ordersOrder list, order historyorders, open orders, order history
Query positionsCurrent position list, position historypositions, my positions, position history, holdings, current position
Query marketCategory list, symbol list, ticker, symbol klinecategory, categories, symbol list, symbols, ticker, kline, candlestick, market
Query assetsUser balance/asset info, MT5 account infoassets, balance, account, my funds, MT5, mt5 account
Place orderCreate new order (supports take-profit/stop-loss at creation)place order, create order, open order, buy, sell, long, short, take-profit, stop-loss
Amend orderChange order price, take-profit, or stop-loss (size not supported)amend order, modify order, change price, take-profit, stop-loss
Cancel orderCancel one or more orderscancel order, revoke order, cancel
Modify positionChange position take-profit/stop-loss only (leverage, margin not supported)modify position, take-profit, stop-loss, change take-profit, change stop-loss
Close positionFull or partial closeclose position, close, close all, flat

Routing Rules

IntentExample phrasesRoute to
Query orders"My TradFi orders", "order history", "show open orders", "order status"Read references/query-orders.md
Query positions"My positions", "position history", "current holdings", "what am I holding"Read references/query-positions.md
Query market"TradFi categories", "category list", "symbol list", "ticker", "kline for X", "market data"Read references/query-market.md
Query assets"My assets", "balance", "account balance", "MT5 account", "my MT5 info"Read references/query-assets.md
Place order"Place order", "buy EURUSD", "sell XAUUSD 0.1", "open long", "order with take-profit/stop-loss"Read references/place-order.md
Amend order"Amend order", "change price to X", "take-profit", "stop-loss"Read references/amend-order.md
Cancel order"Cancel order", "cancel all orders", "revoke order"Read references/cancel-order.md
Modify position"Modify position", "take-profit", "stop-loss", "change take-profit/stop-loss"Read references/modify-position.md
Close position"Close position", "close all", "close half", "flat"Read references/close-position.md
Unclear"TradFi", "show me my TradFi"Clarify: list query and trading modules or ask which the user wants.

gate-cli command index

Query (read-only) — use only MCP-documented parameters.

#ToolPurpose
1gate-cli cex tradfi order listList open orders.
2gate-cli cex tradfi order historyQuery order history list (filled/cancelled).
3gate-cli cex tradfi position listList current positions.
4gate-cli cex tradfi position historyList historical positions/settlements.
5gate-cli cex tradfi market categoriesQuery TradFi category list.
6gate-cli cex tradfi market symbolsList symbols (by category if supported).
7gate-cli cex tradfi market tickerGet ticker(s) for symbol(s).
8gate-cli cex tradfi market symbolGet symbol config (required before place order: leverages, min_order_volume, step_order_volume). If no result, symbol may not exist — do not place order.
9gate-cli cex tradfi market klineGet kline/candlestick for symbol.
10gate-cli cex tradfi account assetsGet user account/balance (assets).
11gate-cli cex tradfi account infoGet MT5 account info.

Trading (write) — exact tool names and parameters must match the Gate TradFi MCP tool definition. Conditions and value limits (required/optional, ranges, allowed symbols) must be declared in the skill and in each reference; do not pass undocumented parameters.

#Tool (name per MCP)Purpose
12gate-cli cex tradfi order createPlace new order; supports take-profit/stop-loss. Before calling: use gate-cli cex tradfi market symbol to validate symbol and get min_order_volume, step_order_volume, leverages.
13gate-cli cex tradfi order updateAmend order price, take-profit, stop-loss only (size not supported).
14gate-cli cex tradfi order cancelCancel/delete one order. Does not support batch; one order per call.
15gate-cli cex tradfi position updateModify position take-profit/stop-loss price only (leverage, margin not supported).
16gate-cli cex tradfi position close (or MCP equivalent)Close position (full or partial). Full close: position identifier only, do not pass size/close_volume.

Parameter conditions and limits

  • For each MCP tool, input conditions and limits (required/optional parameters, value ranges, allowed symbols, precision) are defined in the MCP. This skill and each reference document must declare those conditions and limits so the agent and user know what can be sent.
  • In each trading reference (place-order.md, amend-order.md, cancel-order.md, modify-position.md, close-position.md), include a Parameters section that states: required/optional params, value constraints, and any MCP-specific rules. Do not add parameters that the MCP does not document.
  • If the user provides a value outside allowed range or a missing required param, ask for correction before building the confirmation payload.

User confirmation (trading only)

  • Before calling any trading MCP tool (place order, amend order, cancel order, modify position, close position): output all parameters that will be sent to the MCP so the user can review them. Ask the user to confirm (e.g. "Confirm: place order with symbol=X, side=Y, size=Z, price=W. Reply yes to execute."). Do not call the tool until the user explicitly confirms.
  • This applies to every write operation; query-only flows do not require confirmation.

Response parameter explanation (trading only)

  • After the trading MCP tool returns: in the response to the user, explain the parameters that were used (e.g. symbol, side, size, price, order_id, or position identifier) and the outcome (e.g. order created, order amended, order cancelled, position modified, position closed). Include a short summary table or list of the sent parameters and the result (success or error code/message). This is declared in this skill so the agent always reports back what was sent and what happened.

Execution

1. Intent and parameters

  • Determine module: Query (orders, positions, market, assets) or Trading (place, amend, cancel, modify position, close).
  • For each MCP tool call, use only the parameters defined in the Gate TradFi MCP tool definition. Do not pass parameters that are not documented in the MCP.
  • Extract from user message only those keys that the MCP actually supports. Respect conditions and limits declared in the skill and in the reference.

2. Read sub-module and call tools

  • Load the corresponding reference under references/ and follow its Workflow.
  • Query: Call query tools with extracted/prompted parameters; no confirmation needed.
  • Trading: Build the parameter set per the reference and MCP; output parameters for user confirmation; only after user confirms, call the trading MCP tool; then in the response, explain the parameters used and the outcome.

3. Report

  • Query: Use the sub-module Report Template (tables for orders/positions/tickers, assets).
  • Trading: Use the reference Report Template; include parameter summary (what was sent) and result (success or error).

Domain Knowledge

  • TradFi: Gate’s traditional finance product set (e.g. FX, MT5). Symbols and categories are product-specific.
  • Query: Orders, positions, market, assets — use only MCP-documented parameters.
  • Trading: Place/amend/cancel orders and modify/close positions — use only MCP-documented tools and parameters; declare conditions/limits; require user confirmation before execution; explain parameters and outcome in the response.
  • Order id for cancel/amend: The order id used by gate-cli cex tradfi order cancel and gate-cli cex tradfi order update must come from gate-cli cex tradfi order list. Do not use the id or log_id returned by gate-cli cex tradfi order create for cancel or amend.

Error Handling

SituationAction
Tool not found / 4xx/5xxTell user the TradFi service or tool may be unavailable; suggest retry or check Gate MCP configuration.
Empty listReport "No open orders" / "No positions" / "No symbols" etc., and do not assume error.
Invalid symbol / order not foundReport "Order not found" or "Symbol not found" and suggest checking symbol list.
Auth / permission errorDo not expose credentials; ask user to check API key or MCP auth for TradFi.
Trading error (e.g. insufficient margin, invalid price)Show the error message; in the response, restate the parameters that were sent and suggest correction.

Safety Rules

  • Query: No confirmation required; display data after tool success.
  • Trading: Always output parameters for user confirmation before calling place/amend/cancel/modify/close; never execute a write operation without explicit user confirmation. After execution, always explain in the response the parameters that were used and the outcome.
  • Sensitive data: Do not log or store credentials or balances; display only in the current response.

Report Template

Query — After each query:

  • Orders: Table with columns such as symbol, side, size, price, status, time (from list response).
  • Positions: Table with position fields (e.g. symbol, side, size, entry, margin) or "No open positions."
  • Market: Category list; symbol list; ticker table (symbol, last, 24h change, volume); or symbol kline summary (interval, range, OHLC).
  • Assets: List of assets and balances; or MT5 account/server/balance/equity table; or "Unable to load" on error.

Trading — After each place/amend/cancel/modify/close:

  • Parameters used: List or table of the parameters sent to the MCP (e.g. symbol, side, size, price, order_id).
  • Result: Success (e.g. order id, status) or error (code/message). Suggest next step if error.

平台分布

Codex

34.92%
按下载量换算141

Claude

29%
按下载量换算117

Cursor

17.33%
按下载量换算70

Gemini CLI

9.28%
按下载量换算37

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills