gate-exchange-referral

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Resolving
gate-cli
(binary path)

解析
gate-cli
(二进制文件路径)

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-cli
(1)** 执行**
command -v gate-cli
gate-cli --version
运行成功;(2)** 若**
${HOME}/.local/bin/gate-cli
可执行则使用该路径;(3)** 若**
${HOME}/.openclaw/skills/bin/gate-cli
**可执行则使用该路径。标准规则参考:
exchange-runtime-rules.md
第4节(或
gate-runtime-rules.md
第4节)。

Gate Invite Friends Activity Recommendation & Rule Interpretation

Gate邀请好友活动推荐与规则解读

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.
⚠️ 注意——在继续操作前,您必须阅读并严格遵循共享运行时规则。在未阅读所有规则前,请勿选择或调用任何工具。这些规则具有最高优先级。 → 阅读gate-runtime-rules.md
  • 仅使用本Skill中明确列出的
    gate-cli
    命令
    。对于这些工作流程,即使其他接口提供了未在此处记录的命令,也不得运行它们。

Skill Dependencies

Skill依赖项

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.
  • API Key Required: May be required, depending on runtime and whether account-specific referral data is needed
  • Note: The main workflow in this skill is read-only guidance and rule interpretation. Account-scoped rebate or referral-detail queries may require authenticated Exchange MCP access in some deployments.
  • 交互式文件设置:当主机上未同时设置**
    GATE_API_KEY
    GATE_API_SECRET
    时,运行
    gate-cli config init
    **完成API密钥、密钥、配置文件及默认设置的向导流程(详见gate-cli)。
  • 环境变量/参数:当凭证已提供时,无需运行**
    gate-cli config init
    ——例如主机上已同时设置
    GATE_API_KEY
    GATE_API_SECRET
    ,或在支持的情况下使用
    --api-key
    ** / **
    --api-secret
    **参数——切勿要求用户在聊天中粘贴密钥。
  • API密钥要求:根据运行环境及是否需要特定账户的推荐数据,可能需要API密钥
  • 注意:本Skill的主要工作流程是只读引导和规则解读。在某些部署场景中,查询特定账户的返佣或推荐详情可能需要经过身份验证的Exchange MCP访问权限。

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 and authenticated referral data is needed, 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: Confirm the CLI works for this setup (e.g.
    gate-cli --version
    or a documented read in this skill) before relying on authenticated referral queries.
  • 必需组件
    gate-cli
    (若缺失,从本Skill目录运行
    sh ./setup.sh
    ;可选择设置
    GATE_CLI_SETUP_MODE=release
    )。
  • 若直接通过名称调用
    gate-cli
    ,请将
    $HOME/.openclaw/skills/bin
    添加到**
    PATH
    **环境变量中(或添加
    setup.sh
    安装
    gate-cli
    的目录)。
  • 凭证说明:当主机上的**
    GATE_API_KEY
    GATE_API_SECRET
    均已设置(非空)时,无需要求运行
    gate-cli config init
    ——这等同于
    gate-cli
    的有效配置。当两者均未设置或为空,且需要经过身份验证的推荐数据时,请
    提醒操作人员运行
    gate-cli config init
    ,或在Skill库的匹配Skill中配置
    GATE_API_KEY
    ** /
    GATE_API_SECRET
    ——切勿要求用户在聊天中粘贴密钥。
  • 完整性检查:在依赖经过身份验证的推荐查询之前,确认CLI在此设置下可正常工作(例如执行**
    gate-cli --version
    **或本Skill中记录的只读命令)。

Execution mode

执行模式

Read and strictly follow
references/gate-cli.md
, then execute this skill's recommendation/interpretation flow.
  • SKILL.md
    keeps referral policy logic and decision tables.
  • references/gate-cli.md
    is the authoritative
    gate-cli
    execution contract for capability boundaries, fallback behavior, and output constraints.
阅读并严格遵循
references/gate-cli.md
,然后执行本Skill的推荐/解读流程。
  • SKILL.md
    保存推荐政策逻辑和决策表。
  • references/gate-cli.md
    gate-cli
    执行的权威约定,定义了能力边界、回退行为和输出约束。

Domain Knowledge

领域知识

Page Entry Points

页面入口

PageURL
Invite Friends (Activity Hub)https://www.gate.com/referral
When recommending activities, guiding users to check details, or mentioning the "Invite Friends page", always include the above URL so the user can navigate directly.
页面URL
邀请好友(活动中心)https://www.gate.com/referral
在推荐活动、引导用户查看详情或提及“邀请好友页面”时,请始终包含上述URL,以便用户直接访问。

Product Definitions

产品定义

1. Earn Together

1. 一起赚

  • Definition: A limited-time invitation campaign (viral mechanism) where the inviter (M1) shares an exclusive link, the invitee (M2) registers via the link and completes tasks, and both parties receive random token rewards
  • Activity Characteristics:
  • Time-limited: Each campaign has a clear start and end date
  • Exclusive: Only one Earn Together campaign runs at a time
  • Random rewards: Reward amounts are randomly generated within a configured range
  • How to Participate:
  1. Inviter (M1) shares an exclusive link
  2. Invitee (M2) registers via the link
  3. M2 completes designated tasks (KYC, deposit, trading)
  4. Both parties receive random cash vouchers
  • Important Notes:
  • Specific task requirements (deposit amount, trading volume) vary by region; please check the activity page for details
  • Rewards are subject to risk-control review and are typically distributed within 14 business days after claiming
  • 定义:限时邀请活动(病毒式传播机制),邀请人(M1)分享专属链接,被邀请人(M2)通过链接注册并完成任务,双方均可获得随机代币奖励
  • 活动特点:
  • 限时性:每个活动都有明确的开始和结束日期
  • 唯一性:同一时间仅运行一个“一起赚”活动
  • 奖励随机:奖励金额在配置范围内随机生成
  • 参与方式:
  1. 邀请人(M1)分享专属链接
  2. 被邀请人(M2)通过链接注册
  3. M2完成指定任务(KYC认证、充值、交易)
  4. 双方获得随机现金券奖励
  • 重要说明:
  • 具体任务要求(充值金额、交易量)因地区而异,请查看活动页面了解详情
  • 奖励需经过风控审核,通常在申领后14个工作日内发放

2. Help & Get Coupons

2. 助力得优惠券

  • Definition: Invite 2 friends to complete tasks and receive platform coupon rewards; suitable for users who want trial vouchers or discount coupons
  • How to Participate:
  1. Share your exclusive invitation link
  2. Invite 2 new users to register
  3. New users complete the following tasks: deposit task, trading task
  4. Receive coupon rewards (e.g., 200 USDT position trial voucher; rewards may be adjusted based on actual conditions)
  • Important Notes:
  • Assistance rewards are distributed to the Coupon Center with a 5-day validity period
  • Coupons have usage rules and expiration restrictions
  • Please check the activity page for detailed task requirements
  • 定义:邀请2位好友完成任务即可获得平台优惠券奖励;适合想要试用券或折扣券的用户
  • 参与方式:
  1. 分享你的专属邀请链接
  2. 邀请2名新用户注册
  3. 新用户完成以下任务:充值任务、交易任务
  4. 获得优惠券奖励(例如200 USDT持仓试用券;奖励可能根据实际情况调整)
  • 重要说明:
  • 助力奖励将发放至优惠券中心,有效期为5天
  • 优惠券有使用规则和期限限制
  • 请查看活动页面了解详细任务要求

3. Super Commission

3. 超级返佣

  • Definition: A permanent invitation system that provides commission rebates based on friends' trading fees, generating continuous passive income
  • How to Participate:
  1. Share your exclusive invitation link
  2. Friends register via the link
  3. Friends trade (Spot, Alpha, Futures, TradFi, etc.)
  4. Both you and your friends receive trading fee rebates
  • Important Notes:
  • Commission rates vary by trading type; please check the activity page for detailed rebate rules
  • 定义:永久邀请体系,根据好友的交易手续费提供返佣,持续产生被动收入
  • 参与方式:
  1. 分享你的专属邀请链接
  2. 好友通过链接注册
  3. 好友进行交易(现货、Alpha、期货、TradFi等)
  4. 你和好友均可获得交易手续费返佣
  • 重要说明:
  • 返佣比例因交易类型而异,请查看活动页面了解详细返佣规则

Activity Constraints

活动约束

  • All three activities can be joined simultaneously; Earn Together is a time-limited event that opens irregularly
  • Each invitee can only be invited through one invitation mode
  • Referral relationships created through Super Commission cannot earn rewards from other activities; users invited through other activities cannot earn commission rebates
  • 三个活动可同时参与;“一起赚”是不定期开启的限时活动
  • 每位被邀请人只能通过一种邀请方式被邀请
  • 通过超级返佣建立的推荐关系无法获得其他活动的奖励;通过其他活动邀请的用户无法获得返佣

Common Misconceptions

常见误区

User QuestionCorrect Answer
"Why did my friend and I receive different amounts?"Rewards are randomly generated; the amount may differ for each invitation
"Are rewards credited immediately?"Rewards are subject to risk-control review and are typically reviewed and distributed within 14 business days after the activity ends
"What are the specific task requirements? How much to deposit? How much to trade?"Specific deposit amounts and trading volume requirements vary by regional policy; please check the activity page for details
用户问题正确答案
“为什么我和好友获得的奖励金额不同?”奖励为随机生成,每次邀请的金额可能不同
“奖励会立即到账吗?”奖励需经过风控审核,通常在活动结束后14个工作日内完成审核并发放
“具体任务要求是什么?需要充值多少?交易多少?”具体充值金额和交易量要求因地区政策而异,请查看活动页面了解详情

Feature Keywords

功能关键词

KeywordsCorresponding Product/Feature
invite friends, referral, referral reward, invitation campaign, invite, referral, how to inviteInvite Friends Activity Recommendation
earn together, random reward, limited-time eventEarn Together
help, coupon, trial voucher, discount couponHelp & Get Coupons
commission, rebate, passive incomeSuper Commission
how to earn, extra income, invitation rewardActivity Recommendation (General)
关键词对应产品/功能
invite friends, referral, referral reward, invitation campaign, invite, referral, how to invite邀请好友活动推荐
earn together, random reward, limited-time event一起赚
help, coupon, trial voucher, discount coupon助力得优惠券
commission, rebate, passive income超级返佣
how to earn, extra income, invitation reward活动推荐(通用)

Workflow

工作流程

When the user asks any question related to inviting friends, follow this sequence.
当用户询问任何与邀请好友相关的问题时,请遵循以下步骤。

Step 1: Identify Intent Type

步骤1:识别意图类型

Classify the request into one of the following categories:
  1. Activity recommendation (user wants to know what referral activities are available)
  2. Rule interpretation (user wants to understand a specific activity's rules/mechanics)
  3. Activity selection advice (user has a specific need and wants the best-matching activity recommended)
  4. FAQ (reward arrival time, amount differences, task requirements, etc.)
  5. Data query (user wants to view activity data or reward progress)
  6. Multi-activity participation rules (user wants to join multiple activities simultaneously)
将请求归类为以下类别之一:
  1. 活动推荐(用户想了解有哪些推荐活动)
  2. 规则解读(用户想了解特定活动的规则/机制)
  3. 活动选择建议(用户有特定需求,想要推荐最匹配的活动)
  4. 常见问题(奖励到账时间、金额差异、任务要求等)
  5. 数据查询(用户想查看活动数据或奖励进度)
  6. 多活动参与规则(用户想同时参与多个活动)

Step 2: Check Activity Status

步骤2:检查活动状态

For activity recommendation requests:
  • Check whether there is an active Earn Together campaign
  • If yes → Prioritize recommending Earn Together (1 activity)
  • If no → Recommend Help & Get Coupons + Super Commission
对于活动推荐请求:
  • 检查是否有正在进行的“一起赚”活动
  • 若是 → 优先推荐“一起赚”(1个活动)
  • 若否 → 推荐“助力得优惠券”+“超级返佣”

Step 3: Respond by Scenario

步骤3:按场景响应

Select the corresponding response strategy based on the Case Routing Map.
根据案例路由图选择对应的响应策略。

Step 4: Return Result

步骤4:返回结果

The response must include:
  • Activity name and brief description
  • Core participation steps (simplified version)
  • Key notes and caveats
  • Guide the user to the activity page with the direct URL (https://www.gate.com/referral) for details (if applicable)
响应必须包含:

Case Routing Map (1-14)

案例路由图(1-14)

A. Activity Recommendation (1-3)

A. 活动推荐(1-3)

CaseUser IntentCore DecisionResponse Strategy
1Asks about referral activities (Earn Together is active)Check if Earn Together is currently running → YesIntroduce and recommend Earn Together with activity card entry
2Asks about referral activities (Earn Together is not active)Check if Earn Together is currently running → NoIntroduce and recommend Help & Get Coupons + Super Commission
3Asks how to invite friends / get referral linkGuide user through the operation flowExplain: go to Invite Friends page → copy exclusive link or QR code
案例用户意图核心决策响应策略
1询问推荐活动(“一起赚”正在进行)检查“一起赚”是否正在运行 → 是介绍并推荐“一起赚”,提供活动入口
2询问推荐活动(“一起赚”未进行)检查“一起赚”是否正在运行 → 否介绍并推荐“助力得优惠券”+“超级返佣”
3询问如何邀请好友/获取推荐链接引导用户操作流程说明:进入邀请好友页面 → 复制专属链接或二维码

B. Rule Interpretation (4-7)

B. 规则解读(4-7)

CaseUser IntentCore DecisionResponse Strategy
4Asks how Earn Together worksInterpret activity rules; do not recommend activity cardsExplain Earn Together participation steps, reward mechanism, and notes in detail
5Asks how Help & Get Coupons worksInterpret activity rules; do not recommend activity cardsExplain Help & Get Coupons participation steps, reward mechanism, and notes in detail
6Asks how Super Commission worksInterpret activity rules; do not recommend activity cardsExplain Super Commission participation steps, rebate mechanism, and notes in detail
7Asks whether all three activities can be joined simultaneouslyInterpret multi-activity participation rulesExplain simultaneous participation is allowed but referral relationship exclusivity constraints apply
案例用户意图核心决策响应策略
4询问“一起赚”的运作方式解读活动规则;不推荐活动入口详细说明“一起赚”的参与步骤、奖励机制和注意事项
5询问“助力得优惠券”的运作方式解读活动规则;不推荐活动入口详细说明“助力得优惠券”的参与步骤、奖励机制和注意事项
6询问“超级返佣”的运作方式解读活动规则;不推荐活动入口详细说明“超级返佣”的参与步骤、返佣机制和注意事项
7询问是否可同时参与三个活动解读多活动参与规则说明可同时参与,但需注意推荐关系的排他性约束

C. Personalized Recommendation (8-10)

C. 个性化推荐(8-10)

CaseUser IntentCore DecisionResponse Strategy
8Wants quick cash rewardsMatch user need to the best-fitting activityRecommend Earn Together → random cash vouchers
9Wants trial vouchers / discount couponsMatch user need to the best-fitting activityRecommend Help & Get Coupons → platform coupon rewards
10Wants long-term passive incomeMatch user need to the best-fitting activityRecommend Super Commission → ongoing trading fee rebates
案例用户意图核心决策响应策略
8想要快速现金奖励匹配用户需求与最适合的活动推荐“一起赚”→ 随机现金券
9想要试用券/折扣券匹配用户需求与最适合的活动推荐“助力得优惠券”→ 平台优惠券奖励
10想要长期被动收入匹配用户需求与最适合的活动推荐“超级返佣”→ 持续交易手续费返佣

D. FAQ and Boundaries (11-14)

D. 常见问题与能力边界(11-14)

CaseUser IntentCore DecisionResponse Strategy
11Asks why reward amounts differAddress common misconceptionExplain random reward generation mechanism
12Asks when rewards will arriveAddress common misconceptionExplain risk-control review process and 14-business-day timeline
13Asks about specific task requirements (deposit/trading volume)Guide to activity pageExplain that requirements vary by regional policy; check activity page
14Queries activity data / reward progressCommunicate capability boundaryInform that conversational data queries are not currently supported; redirect to Invite Friends page
案例用户意图核心决策响应策略
11询问奖励金额为何不同解答常见误区说明奖励随机生成机制
12询问奖励何时到账解答常见误区说明风控审核流程及14个工作日的时间线
13询问具体任务要求(充值/交易量)引导至活动页面说明要求因地区政策而异,请查看活动页面
14查询活动数据/奖励进度告知能力边界说明当前不支持对话式数据查询,引导至邀请好友页面

Judgment Logic Summary

判断逻辑总结

ConditionAction
User broadly asks "What referral activities are available?"Check Earn Together status first; if active recommend Earn Together, otherwise recommend Help & Get Coupons + Super Commission
User asks about a specific activity's rulesInterpret the corresponding activity rules; do not recommend activity cards
User expresses a specific need (quick cash / coupons / long-term income)Match and recommend the best-fitting activity
User asks reward-related FAQUse the standard answers from the Common Misconceptions table
User asks about activity data or progressInform that conversational queries are not supported; redirect to activity page
User asks about agent/institutional accountsClearly state that referral activities do not apply; redirect to business partnership contacts
User asks about specific deposit/trading volume requirementsExplain that requirements vary by region; redirect to activity page
User asks whether multiple activities can be joined simultaneouslyConfirm yes, but note the referral relationship exclusivity rule
条件操作
用户宽泛询问“有哪些推荐活动?”先检查“一起赚”状态;若正在进行则推荐“一起赚”,否则推荐“助力得优惠券”+“超级返佣”
用户询问特定活动规则解读对应活动规则;不推荐活动入口
用户表达特定需求(快速现金/优惠券/长期收入)匹配并推荐最适合的活动
用户询问奖励相关常见问题使用常见误区表中的标准答案
用户询问活动数据或进度告知不支持对话式查询,引导至活动页面
用户询问代理/机构账户明确说明推荐活动不适用,引导至商务合作联系人
用户询问具体充值/交易量要求说明要求因地区而异,引导至活动页面
用户询问是否可同时参与多个活动确认可以,但需注意推荐关系排他性规则

Report Template

报告模板

markdown
undefined
markdown
undefined

Invite Friends Activity Recommendation

邀请好友活动推荐

ItemDetails
Activity Name{activity_name}
Activity Type{activity_type}
How to Participate{participation_steps}
Reward Description{reward_description}
Activity Pagehttps://www.gate.com/referral
{additional_notes}
undefined
项目详情
活动名称{activity_name}
活动类型{activity_type}
参与方式{participation_steps}
奖励说明{reward_description}
活动页面https://www.gate.com/referral
{additional_notes}
undefined

Capability Boundaries

能力边界

Supported

支持的功能

  • Activity recommendation and introduction: Recommend suitable referral activities based on user needs
  • Activity comparison: Explain the differences and characteristics of the three activities
  • Rule interpretation: Explain participation steps for each activity (do not recommend activity cards when interpreting rules)
  • Task description: Describe task requirements (simplified version)
  • FAQ answering
  • Activity selection advice: Recommend the best-fitting activity based on user needs
  • 活动推荐与介绍:根据用户需求推荐合适的推荐活动
  • 活动对比:说明三个活动的差异和特点
  • 规则解读:解释每个活动的参与步骤(解读规则时不推荐活动入口)
  • 任务描述:描述任务要求(简化版)
  • 常见问题解答
  • 活动选择建议:根据用户需求推荐最适合的活动

Not Supported

不支持的功能

  • Activity data queries (number of invitees, reward amounts, etc.) → Redirect to Invite Friends page
  • Reward progress queries → Redirect to Invite Friends page
  • Agent/institutional account applications → Redirect to business partnership contacts
  • 活动数据查询(邀请人数、奖励金额等)→ 引导至邀请好友页面
  • 奖励进度查询 → 引导至邀请好友页面
  • 代理/机构账户申请 → 引导至商务合作联系人

Error Handling

错误处理

Error TypeTypical CauseHandling Strategy
Earn Together status unknownUnable to determine if an Earn Together campaign is activeRecommend Help & Get Coupons + Super Commission as fallback; inform user to check the Invite Friends page (https://www.gate.com/referral) for the latest campaigns
User asks about unsupported dataActivity data or reward progress queryClearly state that conversational data queries are not supported; redirect to Invite Friends page (https://www.gate.com/referral)
Agent/institutional user detectedUser is an agent or institutional account holderClearly inform that referral activities do not apply to agents/institutions; redirect to business partnership contacts
Region-restricted userUser IP or KYC region is on the restricted listInform the user that participation is not available in their region
Ambiguous user intentCannot determine which activity the user is asking aboutAsk a clarifying question to narrow down intent before recommending
错误类型典型原因处理策略
“一起赚”状态未知无法确定“一起赚”活动是否正在进行回退推荐“助力得优惠券”+“超级返佣”;告知用户查看邀请好友页面(https://www.gate.com/referral)获取最新活动信息
用户询问不支持的数据查询活动数据或奖励进度明确说明不支持对话式数据查询,引导至邀请好友页面(https://www.gate.com/referral)
检测到代理/机构用户用户为代理或机构账户持有者明确告知推荐活动不适用于代理/机构用户,引导至商务合作联系人
区域受限用户用户IP或KYC地区在受限列表中告知用户其所在地区无法参与活动
用户意图模糊无法确定用户询问的是哪个活动提出澄清问题以缩小意图范围后再进行推荐

Safety Rules

安全规则

  • Disclaimer: Fake accounts, fraudulent transactions, and similar abuse are strictly prohibited; violators will be disqualified from receiving rewards
  • Identity restriction: Agents and institutional users are not eligible for referral activities
  • Regional restriction: Identify user IP or KYC region; if on the restricted list, inform the user that participation is not available
  • Do not promise specific reward amounts (rewards are randomly generated)
  • Do not bypass guidance by providing specific deposit/trading volume requirements (vary by region)
  • All activity data query requests must be redirected to the Invite Friends page
  • 免责声明:严禁虚假账户、欺诈交易及类似滥用行为;违规者将失去获奖资格
  • 身份限制:代理和机构用户无资格参与推荐活动
  • 区域限制:识别用户IP或KYC地区;若在受限列表中,告知用户无法参与活动
  • 不得承诺具体奖励金额(奖励为随机生成)
  • 不得绕过引导提供具体充值/交易量要求(因地区而异)
  • 所有活动数据查询请求必须引导至邀请好友页面