okx-growth-competition

作者: okx

列出OKX Agentic Wallet专属交易竞赛,为用户注册参赛,追踪参与情况和排行榜排名,并领取赢得的奖励。当用户想要列出可用的交易竞赛或交易杯、查看竞赛规则/奖池/总奖金、注册或报名或加入竞赛、查看排行榜(谁在领先)或自己的排名(我是否在获奖区、我的名次是多少)、询问我是否赢了或查询参与/领取状态、领取赢得的奖励时使用。

npx skills add https://github.com/okx/onchainos-skills --skill okx-growth-competition

OKX Growth Competition — Trading Competition

Agentic Wallet exclusive trading competitions. Full lifecycle split across focused references:

  • Participation (discover / register / trade / registered wallet / export guard) — references/participation.md
  • Details (rules / prize pool / four reward sections) — references/details.md
  • Rank (leaderboard / my own rank with CASE 1/2/3 templates) — references/rank.md
  • Claim (reward status check / atomic claim / contact collection) — references/claim.md
  • CLI reference (commands, parameters, return schemas) — references/cli-reference.md

This SKILL.md holds the global rules (facts, identity invariants, routing, output rules, time formatting, status codes, error handling) that ALL references depend on. Always read this file first; then jump into the matching reference for the user's intent.

Facts about every Agentic Wallet competition

Treat the following as factual ground truth when the user asks about how a competition works. The two chain-related fields play distinct, non-overlapping roles — never conflate them:

  • chainId — single id. The claim / reward chain ONLY (rewards are paid on this chain; its contract address lives here). It is NOT a trading chain unless it also appears in participateChainIds.
  • participateChainIds — array of ids returned by both list and detail endpoints. The trading chain set. Trades on any chain in this list count toward the same competition standing.

Trading-chain set = participateChainIds. Claim chain = chainId. These are two separate concepts; the display rules below NEVER union them.

  1. Chain id → display name mapping. Currently supported competition chains: 1 → Ethereum, 196 → X Layer, 501 → Solana.
  2. Never tell a user "your chain doesn't count" without first checking participateChainIds.
  3. myRankInfo.userTotal = 0 means the user has not yet hit the qualifying threshold or the backend metric pipeline has not picked up their trades yet — it does NOT mean the user's chain is unsupported.
  4. competition_rank takes a single optional wallet. Omit it for self-rank — the tool sends your accountId (covers every chain in participateChainIds in one call; no chain pick). Pass an explicit address ONLY when querying someone else's rank; the address chain family (EVM 0x... else Solana) must match the activity's primary chain or the tool rejects the call (no silent wrong-chain queries).

Identity resolution invariant

The query identity for competition_rank and competition_user_status is mutually exclusive: backend accepts EITHER accountId (self) OR walletAddress (cross-user) — never both. The answer to "which identity did you use?" is deterministic from the call shape.

Call shapeIdentity sent
competition_user_status (any)accountId — covers every chain in participateChainIds in one call
competition_rank without walletaccountId
competition_rank with wallet=<addr>walletAddress — tool validates addr's chain family (EVM 0x... else Solana) matches activity's chainId; mismatch → rejected
competition_claim (pre-check)accountId

For multi-activity competition_user_status (no activity_name), the same accountId is reused across all activities — backend joins by accountId.

Mandatory reading order

Before producing ANY user-facing message about a competition, you MUST first locate the matching section in the right reference file below and follow its fixed template structure. Do NOT improvise the format. Do NOT shorten the templates. Do NOT drop sections or merge them. Templates are product-mandated copy (Participation / Skill Quality wording, disclaimer) and must not be paraphrased.

The template structure is fixed; the language follows the user — see the ## Output Language rule below. When the user writes Chinese, translate the template strings to natural Chinese. When the user writes English, use English as written. Placeholders (including chain display names from {supportedChains}) stay as-is.

Quick router (user intent → reference file + section):

User intentReference fileSection
"list competitions / show available competitions"references/participation.mdStep 1 — Discover
"show details / show rules / show prize pool"references/details.mdStep 2 — View Details
"register / join"references/participation.mdStep 3 — Join
"trade for me"references/participation.mdStep 4 — Trade (delegates to okx-dex-swap)
"leaderboard / full board / who is winning"references/rank.mdCheck leaderboard (full board)
"my rank / what's my ranking / am I in the prize zone"references/rank.mdCheck user's own rank (across ALL leaderboards)
"show registered wallet"references/participation.mdQuery Registered Wallet
"export wallet"references/participation.mdWallet Export Guard
"check my status / did I win"references/claim.mdCheck Participation Status
"claim reward / claim my prize"references/claim.mdStep 6 — Claim Reward
Top-tier winner contact follow-up (needContact: true after claim)references/claim.mdContact collection (top-tier winners only)

If the user's intent does not clearly map to one of the above, ask which they meant before responding — do not invent a freeform format.

Pre-flight

Read ../okx-agentic-wallet/_shared/preflight.md. If missing, read _shared/preflight.md.

Cross-skill routing on common errors:

  • not logged in → walk the user through the okx-agentic-wallet login flow (email → OTP), then retry the original action.
  • Backend status codes (--status filter / status / joinStatus / rewardStatus) and error code messages (11002 / 11003 / 11008 / 1860402 / address limit reached / Sui-chain / region-blocked / not eligible): see references/cli-reference.md.

Command Index

All MCP tools mirror the CLI; MCP variants accept activity_name (server-resolves the id) and auto-resolve accountId / wallet addresses from the active session. Full flag tables and return shapes: references/cli-reference.md.

#CommandAuthDescription
1onchainos competition list [--status 0|1|2] [--page-size N] [--page-num N]NoneList competitions (default status=0, active only)
2onchainos competition detail --activity-id <id>NoneRules, prize pool, chain, timeline
3onchainos competition rank --activity-id <id> [--wallet <addr>] --sort-type <type> [--limit N]NoneLeaderboard + user rank. See references/rank.md for self/cross-user semantics and sort-type discovery.
4onchainos competition user-status [--activity-id <id>]Wallet loginParticipation & reward status (omit --activity-id for all activities)
5onchainos competition join --activity-id <id> --evm-wallet <addr> --sol-wallet <addr> --chain-index <chain_id>Wallet loginRegister the active account for the competition
6onchainos competition claim --activity-id <id> --evm-wallet <addr> --sol-wallet <addr>Wallet loginAtomic claim — signs + broadcasts inside the call. See references/claim.md.
7onchainos competition submit-contact --activity-id <id> --contact-type <Telegram|WeChat|Email|Twitter> --contact-value <text>Wallet loginRecord contact for a top-tier winner; only after a claim with needContact: true. See references/claim.md.

--status (request filter): 0=active, 1=ended, 2=all activityStatus (response field): 3=active, 4=ended — different from the request filter

Output Rules

Internal-only IDs vs user-facing display. Internal numeric IDs (activityId, chainIndex, accountId) are returned in tool responses on purpose — they are needed to chain calls between tools (e.g. after competition_join, you may need to call competition_detail with the activity id to fill the success template). Keep them in the data layer; never render them in user-visible messages.

Never include any internal id in a message produced for the user — under ANY circumstance, in ANY format. Identify activities to the user EXCLUSIVELY by activityName (or shortName if name is unavailable).

Forbidden user-visible patterns (do NOT produce output like this):

  • Agentic Trading Contest (#107)
  • #106 (agenticwallettest1)
  • Any column, row, or inline reference exposing an activity ID (e.g. competition 107, an ID column, a labeled Activity ID row) — same rule, regardless of label, shape, or language.

Correct user-visible pattern:

  • Agentic Trading Contest
  • When disambiguating two activities with the same name, append chainName (e.g. Agentic Trading Contest (Solana)), never the ID.

Behind the scenes (allowed and expected):

  • Reading activityId from a competition_user_status / competition_join response and passing it to competition_detail to fetch the data needed by a fixed template.
  • Any tool-to-tool chaining via numeric ids — as long as the final user-facing message omits them.

When the user asks to act on a specific activity (e.g. "claim Agentic Trading Contest"), the MCP tools competition_claim / competition_join accept activity_name and resolve the id server-side, so you can also use names directly without doing your own lookup.

Output Language

Render every fixed template in the user's conversation language. The template structure (sections, ordering, numbered items, table column count, placeholder positions, the {supportedChains} placeholder, and the [Disclaimer: ...] block) is fixed and must NOT change. Only the natural-language text inside is translated to the user's language naturally.

Placeholders are never translated. {supportedChains}, {chainName}, {rewardUnit}, {txHash}, {accountName}, etc. are filled with API values verbatim — do not localize them. Chain display names (e.g. Solana, X Layer, Base) come from the canonical id → name mapping and stay as-is in every language.

Pre-Delivery Checklist

Final check before sending — covers the reference-file MUSTs that are easy to skip after a long response. (Rules already covered in earlier sections — internal IDs, participateChainIds, *Formatted, language/template fidelity — are not repeated here; verify them by following the rules at their home sections.)

  • On a successful registration response → the [Disclaimer: Digital asset trading involves risk. ...] line is present on its own line at the end. (→ participation.md → Successful registration)
  • On a claim runtime failure (signing / broadcast / network) → the 3-bullet failure-suggestion block is appended. On a pre-check rejection (rewardStatus 0/2/3/4, code 11002, code 11008) → the suggestion block is OMITTED. (→ claim.md → Fixed failure-suggestion block)
  • Before invoking competition_claim → the pre-claim preview line (You are about to claim {rewardAmount} {rewardUnit} on {chainName}. Reply "confirm" to proceed.) was rendered and the user replied with an explicit confirmation. (→ claim.md → Pre-claim preview)

来自 okx 的更多技能

okx-agent-identity
okx
ERC-8004 在XLayer上的链上Agent身份:注册/创建/更新/激活/停用/搜索agent;查看评分;列出agent服务;设置头像。角色:user(User / User Agent / Buyer / Client / 用户 / 买家 / 买方),asp(ASP / Provider / Provider Agent / Seller / Merchant / 提供者 / 商家 / 服务提供商 / 卖家 / 卖方),evaluator(Evaluator / Evaluator Agent / 仲裁者 / 评估者)。用于:注册agent / 注册ASP / 注册User / 注册用户 / 注册买家 / 注册卖家 / 注册服务提供商 / 注册仲裁者 / 创建用户 / 创建买家 / 创建卖家 / 我的agent / 我的ASP / 改agent / 更新agent...
developmentapi
okx-ai-guide
okx
OKX.AI(Agent经济系统)简介与入门指引。当用户询问OKX.AI是什么、能做什么、如何使用或开始使用、需要OKX.AI教程/快速入门/帮助,或输入该产品名称的任何拼写/空格/大小写/错别字变体(如OKXAI、okx ai、okx-ai、小写okx.ai、中文误拼如啥是okxai)时使用——例如what is OKX.AI / OKX.AI是什么 / 怎么用OKX.AI / OKX.AI快速开始,以及任何语言的同义表述。检测运行时平台,介绍...
researchapidocument
okx-agentic-wallet
okx
OKX Agentic Wallet 及其 Gas Station 功能的权威来源。Gas Station = OKX 在 Solana 上通过第三方 Relayer 实现的稳定币 Gas 功能;仅限 Solana,不支持 EIP-7702。必须调用以回答 Gas Station 相关问题(什么是 Gas Station / 如何运作 / 支持的代币 / 费用 / 启用或禁用 Gas Station / 更改默认 Gas 代币 / Jito Bundler 兼容性
apiweb-scrapingdevelopment
okx-agent-chat
okx
Routing stub — any a2a-agent-chat envelope / agent-task system message is handled by `okx-agent-task`. For missing or uninitialized OKX A2A communication runtime/plugin, read `skills/okx-agent-chat/ensure-okx-a2a-communication-ready.md`.
developmentapicommunication
okx-agent-task
okx
我们要求翻译一段文本,目标语言是简体中文。需要保留产品名、协议名、URL、数字、技术术语。不要添加声明、解释、Markdown、项目符号、链接、标签、前缀或额外评论。只翻译<text>内的内容,不包括名称除非在源文本中出现。不要添加"description"等标签。 源文本是英文,包含一些中文词汇(如"发布任务"等)。需要整体翻译成简体中文,但保留技术术语和产品名如"okx-agent-task"、"agentId"、"msgType"等。注意保持格式和括号等。 翻译时注意:MUST ACTIVATE on inbound envelopes: 应该翻译为"必须在入站信封上激活:"。后面的列表用分号分隔。注意保留大括号、引号等。最后的关键词列表也要翻译,但保留英文关键词如"publish task"等,因为它们是技术术语?但指令说保留技术术语,但中文关键词如"发布任务"已经是中文,不需要翻译。英文关键词如"publish task
developmentapicommunication
okx-agent-payments-protocol
okx
当代理遇到HTTP 402 / 需要支付,或用户提及x402、x402Version、X-PAYMENT、PAYMENT-REQUIRED、PAYMENT-SIGNATURE、WWW-Authenticate: Payment、permit2、upto、计量计费、支付通道/凭证/会话、channelId/channel_id、开通/关闭/充值/结算/退款通道、paymentId或a2a_链接、创建/检查支付链接、A2MCP/A2MCP端点,或向代理端点发送请求/调用代理端点时使用...
okx-security
okx
使用此技能进行安全扫描:检查交易安全性、此交易是否安全、预执行检查、安全扫描、代币风险扫描、蜜罐检测、DApp/URL钓鱼检测、消息签名安全性、恶意交易检测、授权安全检查、代币授权管理。触发词:'此代币是否安全'、'检查代币安全性'、'蜜罐检测'、'扫描此交易'、'扫描此兑换交易'、'交易风险检查'、'此URL是否为诈骗'、'检查此dapp是否安全'、'钓鱼...
okx-task-watch
okx
监听任务进展 / 帮我盯着任务 / 任务有动静告诉我 / 历史消息 / 未读消息 / 未决策 / 待决策 / 继续监听 / task watch / user watch / 监控任务进度 / 向我汇报任务情况 / 待处理决策 —
developmentapiproductivity