Token导航 LogoToken导航

Agent Skill · 运维

gate-exchange-unified(统一门交换)

gate-exchange-unified 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

gate-exchange-unified 是运维类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在运维类的 954 个 Skill 里排第 418。

总安装 8,715周安装 356GitHub Stars 公开资料未说明下载 2,820核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install gate-exchange-unified

这个 Skill 是做什么的

运维类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

统一账户系统技能整合多币种净值与杠杆模式管理。适用于跨平台资产汇总计算与全局风险敞口监控。gate-exchange-unified 属于运维类 Skill,可作为该场景下的辅助能力补充。在 OpenClaw 中查询“统一账户净值”时自动聚合各模块数据。采用保证金共享机制,任一仓位强平时将影响整体负债结构。

建议设置全局止盈止损线以防范连锁爆仓风险蔓延。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install gate-exchange-unified;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

gate-exchange-unified 怎么安装?

在终端执行 openclaw skills install gate-exchange-unified。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

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

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

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

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

gate-exchange-unified 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

gate-exchange-unified 用的人多吗?

公开数据是累计安装 8,715 次,近一周安装 356 次,下载 2,820 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

gate-exchange-unified 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理运维类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

运维类 Skill 对比

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

Docker 基础 · OpenClaw

1,005,15130接触敏感数据MIT-0通过
playwright-scraper-skill

Playwright scraper 技能 · OpenClaw

923,55754接触敏感数据MIT-0有提醒
moltguard

moltguard 搜索 · OpenClaw

825,096110接触敏感数据MIT-0通过
finance-news

财经新闻 · OpenClaw

275,51210需要联网MIT-0有提醒
security-monitor

安全监视器 · OpenClaw

224,1695需要联网MIT-0有提醒
gate-exchange-unified

统一门交换 · 本页

8,715—接触敏感数据MIT-0通过

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

SKILL.md 原文

name
gate-exchange-unified
version
2026.4.3-1
updated
2026-04-03
description
Gate unified account operations skill. Use when the user asks about unified account equity, margin borrowing, or leverage modes. Triggers on 'unified account', 'borrow limit', 'repay loan', 'switch margin mode'.
required_credentials
required_env_vars
required_permissions
metadata
openclaw
requires
env
primaryEnv
GATE_API_KEY
homepage
https://github.com/gate/gate-skills

Gate Unified Account 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 ./references/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 ServerStatus
Gate (main)✅ Required

Authentication

  • Credentials Source: Local Gate MCP deployment (GATE_API_KEY, GATE_API_SECRET)
  • API Key Required: Yes
  • Permissions: Unified:Read, Unified:Write
  • Never ask the user to paste secrets into chat; rely on the configured MCP session only.
  • API Key Provisioning Reference: https://www.gate.com/myaccount/profile/api-key/manage (create or rotate keys outside the chat when the local MCP setup requires them).

Installation Check

  • Required: Gate (main)
  • Install: Use the local Gate MCP installation flow for the current host IDE before continuing.
  • Continue only after the Gate MCP session is configured with the credentials listed above; do not switch to browser auth or ask the user to paste secrets into chat.

MCP Mode

Read and strictly follow references/mcp.md, then execute this skill's unified-account routing.

  • SKILL.md keeps scenario routing and confirmation policy.
  • references/mcp.md is the authoritative MCP execution layer for limits checks, mutation drafts, and post-state verification.

Domain Knowledge

Tool Mapping by Domain

GroupTool Calls (jsonrpc: call.method)
Account and modeget_unified_accounts, get_unified_mode, set_unified_mode
Borrowing and repaymentget_unified_borrowable, create_unified_loan, list_unified_loan_records, list_unified_loan_interest_records
Borrow rates and currency universeget_unified_estimate_rate, list_unified_currencies
Transferabilityget_unified_transferable
Leverage and collateral settingsget_user_leverage_currency_setting, set_user_leverage_currency_setting, set_unified_collateral
Risk tiers and collateral discountlist_currency_discount_tiers

Capability Notes and API Coverage

  • Batch borrowable and batch transferable endpoints may not be exposed as dedicated tools; for multi-currency requests, iterate single-currency queries and aggregate results.
  • Loan repayment uses create_unified_loan with type=repay; full repayment uses repaid_all=true.
  • Unified mode switching is high-impact and may fail if account risk constraints are not satisfied.
  • Per-currency leverage settings should be validated against current account mode and platform limits.
  • Collateral configuration changes can alter borrow power and liquidation risk.

Response Rendering Rules (Mandatory)

  • Do not round API numeric strings for equity, borrowable, transferable, rates, or leverage values unless the user explicitly asks for formatted rounding.
  • Do not trim, shorten, or normalize decimal strings. If API returns trailing zeros or long decimals, display the exact raw value string as returned.
  • When API returns timestamps, show both raw timestamp and human-readable time (local timezone).
  • For account-overview replies, always include account-level IMR/MMR using API fields:

- IMR: totalInitialMarginRate - MMR: totalMaintenanceMarginRate

  • When per-currency risk fields are present in balances, include imr and mmr for each reported currency (preserve original API numeric strings).
  • Unified mode display labels must use this mapping:

- classic -> 经典现货模式 - single_currency -> 单币种保证金模式 - multi_currency -> 跨币种保证金模式 - portfolio -> 组合保证金模式

  • If unified account is not enabled/opened, place this warning at the top of the response: ⚠️ 当前账户未开通统一账户功能。

Risk-Sensitive Action Rules

Mutating unified actions are treated as high risk:

  • create_unified_loan (borrow/repay)
  • set_unified_mode
  • set_user_leverage_currency_setting
  • set_unified_collateral

For each of the actions above, always require explicit user confirmation immediately before execution.

Workflow

When the user asks for any unified account operation, follow this sequence.

Step 1: Identify Task Type

Classify the request into one of these six categories:

  1. Account overview and mode query
  2. Borrowable/transferable limit query
  3. Borrow/repay execution
  4. Loan/interest history query
  5. Leverage/collateral configuration
  6. Mixed risk-and-funding actions (for example check limit, then borrow)

Step 2: Extract Parameters and Run Pre-checks

Extract key fields:

  • currency or currency list
  • operation type (borrow/repay, query vs mutation)
  • amount and repaid_all intent
  • target mode (classic / single_currency / multi_currency / portfolio)
  • leverage value and collateral enable/disable lists

Pre-check order:

  1. Required parameters completeness
  2. Limit sufficiency (borrowable / transferable) for requested amount
  3. Account mode and risk compatibility
  4. User intent clarity for high-risk configuration changes

Step 3: Final User Confirmation Before Any Mutation (Mandatory)

Before every mutating call, provide an Action Draft first, then wait for explicit confirmation.

Required execution flow:

  1. Send draft summary (no mutation call yet)
  2. Wait for explicit user approval
  3. Submit real mutation call only after approval
  4. Treat confirmation as single-use
  5. If parameters change, invalidate old confirmation and re-confirm

Required confirmation fields:

  • operation type (borrow/repay/mode switch/leverage/collateral)
  • target object (currency, mode, leverage, enable/disable lists)
  • amount or config value
  • key risk note

Recommended draft wording:

  • Action Draft: borrow 100 USDT in unified account. Pre-check: max borrowable 250 USDT. Risk: interest accrues hourly. Reply "Confirm action" to proceed.

Hard blocking rules (non-bypassable):

  • NEVER call mutation tools without explicit confirmation from the immediately previous user turn.
  • If request scope changes (currency, amount, mode, leverage, collateral set), request fresh confirmation.
  • For multi-step actions, require confirmation per mutation step.

Step 4: Call Tools by Scenario

Use only the minimal tool set required for the task:

  • Account overview: get_unified_accounts
  • Mode query/switch: get_unified_mode / set_unified_mode
  • Borrowable checks: get_unified_borrowable
  • Transferable checks: get_unified_transferable
  • Borrow/repay: create_unified_loan
  • Loan and interest records: list_unified_loan_records, list_unified_loan_interest_records
  • Currency support and rates: list_unified_currencies, get_unified_estimate_rate
  • Leverage settings: get_user_leverage_currency_setting, set_user_leverage_currency_setting
  • Collateral settings: set_unified_collateral
  • Risk tiers: list_currency_discount_tiers

Step 5: Return Actionable Result and Status

The response must include:

  • Whether execution succeeded (or why it did not execute)
  • Core numbers (amount, limit, rate, leverage, mode, key risk fields)
  • For overview queries: explicitly include IMR/MMR (totalInitialMarginRate / totalMaintenanceMarginRate) and include per-currency imr/mmr when present
  • For all money/rate outputs: preserve exact API string precision; do not trim or format decimals automatically
  • For record queries: provide readable time alongside timestamps
  • If condition not met, clearly explain gap and next option

Case Routing Map (1-18)

A. Account and Mode (1-3)

CaseUser IntentCore DecisionTool Sequence
1Unified account overviewReturn total equity and margin indicators (including IMR/MMR when available)get_unified_accounts
2Query current unified modeReturn current mode with readable labelget_unified_mode
3Switch unified modeValidate target mode, then switch after confirmationget_unified_mode -> set_unified_mode

B. Borrow Limits and Borrowing (4-8)

CaseUser IntentCore DecisionTool Sequence
4Single-currency borrowableReturn max borrowable for one currencyget_unified_borrowable
5Multi-currency borrowableIterate per currency and aggregateget_unified_borrowable(loop)
6Borrow specific amountCheck max borrowable then submit borrow after confirmationget_unified_borrowable -> create_unified_loan
7List borrowable currenciesReturn supported currency listlist_unified_currencies
8Query estimated borrow rateReturn estimated rate with disclaimerget_unified_estimate_rate

C. Repayment and Records (9-12)

CaseUser IntentCore DecisionTool Sequence
9Partial repayValidate repay amount and submit after confirmationcreate_unified_loan
10Full repaySubmit repaid_all=true after confirmationcreate_unified_loan
11Query loan recordsReturn borrow/repay history by filterlist_unified_loan_records
12Query interest recordsReturn charged-interest history with time/ratelist_unified_loan_interest_records

D. Transferability and Risk Config (13-18)

CaseUser IntentCore DecisionTool Sequence
13Single-currency transferableReturn max transferable amountget_unified_transferable
14Multi-currency transferableIterate per currency and aggregateget_unified_transferable(loop)
15Query leverage settingReturn leverage by currency (single/all)get_user_leverage_currency_setting
16Set leverage settingUpdate leverage after confirmationset_user_leverage_currency_setting
17Set collateral currenciesEnable/disable collateral list after confirmationset_unified_collateral
18Query collateral discount tiersReturn risk-tier/discount referencelist_currency_discount_tiers

Judgment Logic Summary

ConditionAction
User asks "how much can I borrow" for one coinUse get_unified_borrowable with that currency
User asks borrowable for several coinsIterate get_unified_borrowable per coin and aggregate
User requests borrow executionPre-check limit first, then require confirmation before create_unified_loan
User requests repay executionClarify partial vs full repay and confirm before mutation
User asks "all repay" but currency unclearAsk user to specify currency or propose per-currency execution
User asks transferable for several coinsIterate get_unified_transferable per coin and aggregate
User asks to switch modeQuery current mode first, show impact, then confirm and execute
User asks to set leverageQuery/validate currency and target leverage, then confirm mutation
User asks to set collateralConfirm enable/disable list and risk note before mutation
User confirmation missing/ambiguous/staleKeep task pending and do not execute mutation
Requested amount exceeds borrowable/transferableReturn max available and ask user whether to adjust
Query-only requestNever perform mutation calls

Report Template

## Execution Result

| Item | Value |
|------|-----|
| Scenario | {case_name} |
| Scope | {currency_or_mode_scope} |
| Action | {action} |
| Status | {status} |
| Key Metrics | {key_metrics} |

{decision_text}

Example decision_text:

  • ✅ Action completed successfully.
  • 📝 Action draft ready. Reply "Confirm action" to proceed.
  • ⏸️ Not executed: requested amount exceeds current limit.
  • ❌ Not executed: required parameter is missing.

Error Handling

Error TypeTypical CauseHandling Strategy
Missing required parameterCurrency/amount/mode omittedAsk for the missing field before tool call
Limit exceededRequested amount > borrowable/transferableReturn current max and suggest adjusted amount
Unsupported/hidden batch endpointBatch method not exposed as toolIterate single-currency calls and merge result
Mode switch rejectedPosition/risk constraints prevent switchReturn rejection reason and suggest cleanup checks
Invalid leverage settingOut-of-range leverage valueReturn valid range and ask for revised value
Collateral config riskEnable/disable list changes borrowing powerShow risk note and require explicit confirmation
Collateral mutation API error (500)Backend-side failure even with valid payloadReturn non-user-fault message, keep params for retry, and ask whether to retry later
Missing final confirmationUser has not approved draftKeep pending and request explicit confirmation
Stale confirmationDraft no longer matches user intentInvalidate and re-draft for reconfirmation

Cross-Skill Workflows

Workflow A: Unified Borrow Then Spot Buy

  1. Use gate-exchange-unified to borrow quote currency (Case 6)
  2. Use gate-exchange-spot to execute buy order with borrowed funds

Workflow B: Spot Sell Then Unified Repay

  1. Use gate-exchange-spot to liquidate target asset into quote currency
  2. Use gate-exchange-unified to repay outstanding loan (Case 9/10)

Safety Rules

  • Before any mutation, restate target currency/mode/value and key risk.
  • For borrowing, explicitly disclose that interest accrues and rates may vary.
  • For mode or leverage changes, mention potential impact on margin and liquidation risk.
  • For collateral changes, show both enable and disable sets before execution.
  • Without explicit confirmation, stay in read-only mode.
  • Do not reuse stale confirmations; re-confirm if any parameter changes.
  • If constraints are not met, do not force execution; provide alternatives.

平台分布

OpenClaw

71.98%
按下载量换算2,030

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills