Gate welfare center and new-user task skill. Use when the user asks about welfare rewards, tasks, or how to claim benefits. Triggers on 'welfare center', 'new user tasks', 'claim reward'...
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).
β οΈ 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
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.Query Operations
gate-cli cex welfare identitygate-cli cex welfare beginner-tasksExecution Operations
cex_welfare_claim_task (no gate-cli mapping in gate-cli/cmd/cex; see MCP_LEGACY_TOOL_RESOLUTION.md Β§δΊ)cex_welfare_claim_reward (no gate-cli mapping in gate-cli/cmd/cex; see MCP_LEGACY_TOOL_RESOLUTION.md Β§δΊ)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).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.gate-cli (run sh ./setup.sh from this skill directory if missing; optional GATE_CLI_SETUP_MODE=release).$HOME/.openclaw/skills/bin to PATH if you invoke gate-cli by name (or the directory where setup.sh installs it).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).gate-cli --version or a read-only gate-cli cex ... command from this skill); confirm credentials resolve before mutating operations.Read and strictly follow references/gate-cli.md, then execute this skill's welfare workflow.
SKILL.md keeps routing, business intent mapping, and safety rules.references/gate-cli.md is the authoritative gate-cli execution contract for identity gating, task lookup, task claim, reward claim, and degraded handling.Welfare center newcomer skill, phase 2. When users ask about welfare, newcomer rewards, task claiming, task completion, or reward claiming, first determine user eligibility. Then either guide restricted/existing users, show real newcomer tasks, claim a single task, guide task completion, or claim all currently claimable newcomer rewards.
Trigger Scenarios: Execute this skill when users mention welfare benefits, newcomer rewards, task lists, claiming a task, completing a welfare task, or claiming newcomer rewards.
code=0: Eligible newcomercode=1001: Existing usercode=1002: Risk-control usercode=1003: Sub-accountcode=1004: Agent usercode=1005: Market makercode=1006: Enterprise usercode=1008: Not logged ingate-cli cex welfare beginner-tasks.task_type=23 and status=0.task_desc may contain simple HTML such as <span>; present the text content only, not raw tags.task_type=10: Registration tasktask_type=23: Download task1: KYC / identity verification2: Spot trading3: Futures trading8: First deposit| Status | Meaning | Handling |
|---|---|---|
0 |
Unclaimed / task can be claimed | Candidate for cex_welfare_claim_task (no gate-cli mapping in gate-cli/cmd/cex; see MCP_LEGACY_TOOL_RESOLUTION.md Β§δΊ) |
1 |
Claimed / in progress | User should complete the task action |
2 |
Completed, reward claimable | Candidate for cex_welfare_claim_reward (no gate-cli mapping in gate-cli/cmd/cex; see MCP_LEGACY_TOOL_RESOLUTION.md Β§δΊ) |
3 |
Reward distributing | Inform user reward is being processed |
4 |
Completed / settled | Inform user task is already finished |
5 |
Expired | Inform user task has expired |
https://www.gate.com/zh/rewards_hub| User Intent | Keywords / Patterns | Routing |
|---|---|---|
| Query welfare / rewards / task list | "what welfare", "what tasks can I do", "new user tasks", "welfare rewards" | Execute this skill β identity gate first |
| Claim a task | "claim task", "claim download task", "receive task" | Execute this skill β identity β list tasks β claim one status=0 task |
| Complete KYC task | "complete identity verification task", "complete KYC task" | Execute this skill β respond with generic KYC guidance |
| Complete first deposit task | "complete first deposit task", "how do I finish deposit task" | Execute this skill β respond with generic deposit guidance |
| Complete first trade task | "complete first trade task", "I want to do my first trade" | Execute this skill β hand off to gate-exchange-trading |
| Complete task (ambiguous) | "complete task", "finish my welfare task" | Execute this skill β identity β list actionable tasks β resolve task |
| Claim reward / claim all rewards | "claim reward", "claim all rewards", "receive newcomer rewards" | Execute this skill β identity β list tasks β claim all status=2 tasks |
| Asset query | "check my balance", "how much USDT do I have" | Route to gate-exchange-assets |
Call gate-cli cex welfare identity first for every welfare intent.
Branch by code:
0 β newcomer flow1001 β existing-user guidance1002/1003/1004/1005/1006/1008 β mapped restriction guidanceTrigger: The user asks what newcomer welfare/tasks/rewards are available.
Required flow:
gate-cli cex welfare identity.code=0, call gate-cli cex welfare beginner-tasks.code=1007 or the task list is empty, return the no-task fallback.task_nametask_desc with HTML tags removedreward_numreward_unitstatusstatus:0: can be claimed1: complete the task action2: reward can be claimed3: reward is distributing4: already completed5: expiredTrigger: The user asks to claim a task, usually a download task.
Required flow:
gate-cli cex welfare identity.gate-cli cex welfare beginner-tasks.status=0.task_name.cex_welfare_claim_task (no gate-cli mapping in gate-cli/cmd/cex; see MCP_LEGACY_TOOL_RESOLUTION.md Β§δΊ) with the selected welfare_task_id.Do not call cex_welfare_claim_task (no gate-cli mapping in gate-cli/cmd/cex; see MCP_LEGACY_TOOL_RESOLUTION.md Β§δΊ) for tasks whose status is not 0.
Trigger: The user asks to complete a KYC / identity verification newcomer task.
Required behavior:
Please complete identity verification in Gate web or the Gate App first. After the verification is approved and the newcomer task becomes claimable, come back to the welfare center to claim the reward.
Trigger: The user asks to complete a first-deposit newcomer task.
Required behavior:
Please complete your first deposit in Gate web or the Gate App using the deposit flow shown there. Deposit requirements, supported assets, and any threshold conditions follow the Rewards Hub display. After the deposit is credited and the task becomes claimable, come back to claim the reward.
Trigger: The user asks to complete a first-trade newcomer task.
β Read gate-exchange-trading/references/execution-and-guardrails.md
Required behavior:
gate-exchange-trading.Trigger: The user only says "complete task" or equivalent.
Required flow:
gate-cli cex welfare identity.gate-cli cex welfare beginner-tasks.0 and 1.status=0 β use Case 1task_type indicates KYC β use Case 2task_type indicates first deposit β use Case 3task_type indicates trading β use Case 4Trigger: The user asks to claim reward / claim all rewards.
Required flow:
gate-cli cex welfare identity.gate-cli cex welfare beginner-tasks.status=2.2 tasks and call cex_welfare_claim_reward (no gate-cli mapping in gate-cli/cmd/cex; see MCP_LEGACY_TOOL_RESOLUTION.md Β§δΊ) one by one.coupon_full_name from the claim response.coupon_full_name is empty, fall back to the task's reward_num + reward_unit.has_m_n_task=true, do not complete reward distribution for that task. Instead guide the user to Gate web/App rewards hub for manual claiming.Please visit Gate web at https://www.gate.com/zh/rewards_hub or open the Gate App to view welfare activities, exclusive benefits, and reward redemption items.
Your newcomer welfare tasks:
- {task_name}
Description: {task_desc_without_html}
Reward: {reward_num} {reward_unit}
Status: {mapped_status}
Next step: {claim task / complete task / claim reward / distributing / completed / expired}
Successfully claimed {task_name}. Complete the task first, then you can claim {reward_num} {reward_unit}.
You have claimed these newcomer rewards:
- {task_name}: {coupon_full_name_or_reward_num_reward_unit}
- {task_name}: {coupon_full_name_or_reward_num_reward_unit}
This reward must be claimed from Gate web at https://www.gate.com/zh/rewards_hub or from the Gate App welfare center.
| Exception Type | Handling Method |
|---|---|
Existing user (code=1001) |
Show rewards-hub guidance |
Risk-control user (code=1002) |
"Your account is temporarily unable to participate in welfare activities. Please contact customer service for details." |
Sub-account (code=1003) |
"Sub-accounts cannot participate in this welfare activity. Please log in with your main account." |
Agent user (code=1004) |
"Agent users cannot participate in this welfare activity." |
Market maker (code=1005) |
"Market maker users cannot participate in this welfare activity." |
Enterprise user (code=1006) |
"Enterprise users cannot participate in this welfare activity." |
No task data (code=1007) |
"There are currently no active newcomer welfare tasks. Please check the Rewards Hub for more activities." |
Not logged in (code=1008) |
"Please log in to your Gate account first." |
| Identity/list timeout or MCP unavailable | "Welfare information is temporarily unavailable. Please try again later or visit https://www.gate.com/zh/rewards_hub directly." |
Claim task: invalid activity (51501009) |
Tell the user the task is no longer valid or available |
Claim task: already claimed / condition not met (51501010) |
Tell the user the task cannot be claimed again or conditions are not met yet |
Claim task or reward: risk rejected (51501026) |
Tell the user the account is temporarily not eligible for the welfare center |
Claim reward: refresh again (51501027) |
Ask the user to refresh/recheck the task list, then retry |
Claim reward: task expired (51501034) |
Tell the user the reward claim window has expired |
Claim reward: record not exist (51501004) |
Tell the user the reward record is no longer available and suggest refreshing the task list |
HTTP 4xx with standard label + message |
Surface the gateway error briefly and stop; do not treat HTTP 200 alone as success |
| User Follow-up Intent | Routing Target |
|---|---|
| User wants to perform the first trade | gate-exchange-trading |
| User narrows to a spot-only trading action | gate-exchange-spot |
| User asks about general asset balances | gate-exchange-assets |
| User asks general KYC status/details outside welfare completion guidance | gate-exchange-kyc |
gate-cli cex welfare identity before showing newcomer task details, claiming a task, or claiming a reward.code, not by HTTP 200 alone.task_desc before presenting the text to the user.cex_welfare_claim_task (no gate-cli mapping in gate-cli/cmd/cex; see MCP_LEGACY_TOOL_RESOLUTION.md Β§δΊ) for a task selected from the current task list with status=0.cex_welfare_claim_reward (no gate-cli mapping in gate-cli/cmd/cex; see MCP_LEGACY_TOOL_RESOLUTION.md Β§δΊ) for tasks currently shown as status=2.has_m_n_task=true, do not report the reward as claimed. Redirect the user to the official rewards hub/App.https://www.gate.com/zh/rewards_hub instead of guessing.