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 快速开始, 및 모든 언어의 유사 표현. 런타임 플랫폼을 감지하고, 다음을 소개합니다...

npx skills add https://github.com/okx/onchainos-skills --skill okx-ai-guide

OKX.AI Guide

The OKX.AI onboarding entry. Introduces OKX.AI (the Agent economic system), detects whether the current runtime can run OKX.AI, and routes the user into one of the three identity-registration flows — or, on an incompatible platform, tells them how to get a compatible one.

Instruction Priority

Tagged blocks indicate rule severity (higher wins on conflict):

  1. <NEVER> — Absolute prohibition.
  2. <MUST> — Mandatory step.
  3. <SHOULD> — Best practice.

Scope & Boundary

This skill owns: OKX.AI intro + platform detection + login & identity detection (new vs returning user) + routing into registration. It does NOT:

  • own the Onchain OS welcome banner — that is okx-how-to-play.
  • implement registration — delegated to okx-agent-identity (see §Step 5).
  • own the wallet-login flow — Step 1 only checks login via wallet status and hands off to okx-agentic-wallet's existing login flow when needed; the registration playbooks also run their own preflight.
Do NOT call `onchainos agent create` (or any registration / staking CLI) from this skill. Registration is always delegated to `okx-agent-identity`. (Read-only `onchainos wallet status` and `onchainos agent get-my-agents` in Step 1 are allowed — they create nothing.)

Step 0 — Platform detection

Run the detection function below and read its single-line output. `compatible` = output is NOT `unknown`.
detect_harness() {
  if [ "${CLAUDECODE:-}" = "1" ]; then
    echo "Claude Code"
  elif [ -n "${HERMES_INTERACTIVE:-}" ] || [ -n "${HERMES_SESSION_SOURCE:-}" ] \
    || [ -n "${HERMES_YOLO_MODE:-}" ] || [ -n "${HERMES_QUIET:-}" ]; then
    echo "Hermes"
  elif [ -n "${OPENCLAW_CLI:-}" ] || [ -n "${OPENCLAW_SHELL:-}" ]; then
    echo "OpenClaw"
  elif [ -n "${CODEX_THREAD_ID:-}" ] || [ -n "${CODEX_CI:-}" ]; then
    echo "Codex"
  else
    echo "unknown"
  fi
}
detect_harness
  • Output ∈ {Claude Code, Hermes, OpenClaw, Codex} → compatible → Step 1.
  • Output = unknownincompatible → Step 3.

Step 1 — Compatible: login + identity detection (routing gate)

Reached only when Step 0 is compatible. This step decides which page to show — by checking login first, identity second. The order is mandatory: agent get-my-agents requires a logged-in session, so never query identity before login is confirmed.

1. **Login check** — run `onchainos wallet status` and read `loggedIn`. - `loggedIn: false` → user is not logged in. Do **not** query identity. Hand off to the existing wallet-login flow ([`../okx-agentic-wallet/SKILL.md`](../okx-agentic-wallet/SKILL.md) §login): prompt login, and on success resume here (re-run `wallet status`, then do the identity check). - `loggedIn: true` → continue to the identity check. 2. **Identity check** — run `onchainos agent get-my-agents`. It returns the logged-in user's own OKX.AI agents on XLayer (identified via JWT). - **Empty** (no agents) → user has no OKX.AI identity → **Step 2** (role selection page). - **≥1 agent** → user already has an identity → **Step 4** (registered user home).

The branch is decided solely by whether agent get-my-agents returns any agent — never show the role page (Step 2) to a user who already has an identity, nor the registered home (Step 4) to a user with none.

Step 2 — Compatible & unregistered: role selection page

Reached from Step 1 when the user is logged in but has no OKX.AI identity. Render the role-selection page (Variant A) and route the 1/2/3 reply per references/unregistered-role-selection.md (contains Step 2 page + Step 5 routing). Load it when this branch is hit.

Step 3 — Incompatible: intro + install guide

Reached from Step 0 when the platform is incompatible (unknown). No login / identity check applies — OKX.AI cannot run here.

Free zone (1–5 sentences): answer the user's OKX.AI question, then segue.

Fixed zone: render Variant B from references/intro.md in the user's language; substitute {install_doc_url}. Do not offer numbered picks; end the turn.

Step 4 — Compatible & registered: user home

Reached from Step 1 when the user is logged in and already has ≥1 OKX.AI identity. Render the registered-user home (Variant C, filled field-exact from the agent get-my-agents result) and handle its menu replies (Step 6: 1 + Agent ID → that Agent's current tasks; 2 → top ASPs; Register a <role> → register a missing role) per references/registered-home.md. Load it when this branch is hit.

Step 5 — Routing after role pick

Handled in references/unregistered-role-selection.md alongside Step 2 (the 1/2/3 reply → wait-state line + registration playbook).

Step 6 — Registered-home menu routing (from Step 4)

Handled in references/registered-home.md — covers 1 + Agent ID → agent task-in-progress with status mapping, 2 → top ASPs by sales via agent search --query '按销量从高到低排序', and "Register a <role> identity" reroutes.

Acceptance Criteria

  1. detect_harness returns the right platform for each marker set; everything else → unknown → incompatible branch (Step 3).
  2. Compatible branch (Step 1) checks login (wallet status) before identity (agent get-my-agents) — identity is never queried while logged out.
    • Not logged in → hand off to the existing wallet-login flow, then resume the check.
    • Logged in + no identity → role selection page (Step 2); replying 1 / 2 / 3 renders the right wait-state and loads the right registration playbook (Step 5).
    • Logged in + ≥1 identity → registered user home (Step 4), filled from the agent get-my-agents result; the home menu (Step 6) routes 1 + an Agent ID → that Agent's current tasks via agent task-in-progress, mapping each task's status to a label (e.g. 2 submitted = delivered/awaiting acceptance) rather than blanket-labeling everything "in progress" (with code=3001 → "not your Agent, re-enter"), 2 → top ASPs by sales via agent search --query '按销量从高到低排序' (backend semantic sort-by-sales).
  3. Incompatible branch (Step 3) shows the three-role intro (no picks) + install heads-up + {install_doc_url}; ends the turn.
  4. OKX.AI 快速开始 / OKX.AI quick start triggers this skill.
  5. Fixed-zone copy renders in the user's language; emojis / numbers / URLs / placeholders stay literal.
  6. Zero onchainos agent create calls in this skill (only read-only wallet status / agent get-my-agents); zero Rust changes.

okx의 다른 스킬

okx-agent-identity
okx
We need to translate the given text into Korean while preserving the name "okx-agent-identity" (but it's not in the text, so ignore). The text is a description of an agent skill. We must not add any extra commentary, labels, or formatting. Just translate the content inside <text> to Korean. The text includes technical terms like ERC-8004, XLayer, agent, ASP, evaluator, etc. Also includes Chinese characters and English terms. We need to translate the English and Chinese parts appropriately into Korean, but preserve the technical terms and numbers. Let's break it down: "ERC-8004 on-chain Agent identity on XLayer: register / create / update / activate / deactivate / search agents; view ratings; list agent services; set avatar." Translate: "XLayer에서의 ERC-8004 온체인 에이전트 신원: 에이전트 등록/생성/업데이트/활성화/비활성화/검색; 평점 보기; 에이전트 서
developmentapi
okx-agentic-wallet
okx
OKX Agentic Wallet 및 Gas Station 기능에 대한 권위 있는 출처입니다. Gas Station은 타사 Relayer를 통해 Solana에서 OKX의 스테이블코인 가스 기능입니다. Solana 전용이며 EIP-7702는 지원하지 않습니다. Gas Station 관련 질문(정의, 작동 방식, 지원 토큰, 수수료, 활성화/비활성화, 기본 가스 토큰 변경, Jito Bundler 호환성) 및 모든 지갑 작업(로그인, OTP 인증, 계정 추가/전환/상태 확인/로그아웃, 잔액, 자산, 보유 내역, 주소, 입금/수신/충전 등)에 반드시 호출해야 합니다.
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
인바운드 봉투에서 반드시 활성화: (1) {agentId, message:{source:"system", event, jobId, ...}} — 시스템 이벤트; (2) {msgType:"a2
developmentapicommunication
okx-agent-payments-protocol
okx
We need to translate the given text from English to Korean. The text describes when to use an agent skill related to HTTP 402 and various payment-related terms. We must preserve the name "okx-agent-payments-protocol" but it's not in the text, so we don't include it. We translate only the text inside <text>. No extra commentary, labels, etc. The text: "Use when an agent hits HTTP 402 / payment-required, or the user mentions x402, x402Version, X-PAYMENT, PAYMENT-REQUIRED, PAYMENT-SIGNATURE, WWW-Authenticate: Payment, permit2, upto, metered billing, a payment channel / voucher / session, channelId / channel_id, opening / closing / topping up / settling / refunding a channel, a paymentId or a2a_ link, creating / checking a payment link, A2MCP / an A2MCP endpoint, or sending a request to / calling an Agent's endpoint with a concrete endpoint..." Translate carefully. Keep
okx-security
okx
이 스킬을 보안 스캔에 사용하세요: 거래 안전성 확인, 이 거래가 안전한지 확인, 사전 실행 점검, 보안 스캔, 토큰 리스크 스캔, 허니팟 탐지, DApp/URL 피싱 탐지, 메시지 서명 안전성, 악성 거래 탐지, 승인 안전성 점검, 토큰 승인 관리. 트리거: '이 토큰 안전한가요', '토큰 보안 확인', '허니팟 확인', '이 tx 스캔', '이 스왑 tx 스캔', 'tx 리스크 확인', '이 URL 사기인가요', '이 dapp 안전한지 확인', '피싱...
okx-task-watch
okx
监听任务进展 / 帮我盯着任务 / 任务有动静告诉我 / 历史消息 / 未读消息 / 未决策 / 待决策 / 继续监听 / task watch / user watch / monitor task progress / catch me up on tasks / outstanding decisions — OKX A2A user-session task-notification monitor: live long-poll via `okx-a2a user watch` (also drains backlog of past/missed/unread events on entry) plus un-replied decision_request lister via `okx-a2a user outdated-list`. Not for wallet / gas / task-list / status queries.
developmentapiproductivity
okx-defi-portfolio
okx
Use this skill to 'check my DeFi positions', 'view DeFi holdings', 'show my DeFi portfolio', 'what DeFi am I invested in', 'show my staking positions', 'show my lending positions', 'DeFi balance', 'DeFi 持仓', '查看DeFi持仓', '我的DeFi资产', '持仓详情', '持仓列表', or mentions viewing DeFi holdings, positions, portfolio across protocols — when the user does NOT name a specific DApp. Covers positions overview and per-protocol position detail. Do NOT use for deposit/redeem/claim operations — use...