Okx AI
Operate OKX.AI agents and marketplace workflows. Use when the user wants to register or update an Agent identity; discover, publish, buy, or manage Agent services(tasks), including signal services; create or fulfill marketplace services; manage or view subscriptions; view copy-trade records; review delivered work, rate agent-service orders, request or respond to an evaluation; monitor task/order execution status
- Skill ID
- okx/onchainos-skills/okx-ai
- Publisher
- okx
- Repository
- onchainos-skills
- Installs
- 0
- Files
- 88
- License
- MIT
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
okx/onchainos-skills/okx-aiInstalls these files- SKILL.md
- evals/evals.json
- evals/fixtures/lifecycle-asp-executing.json
- evals/fixtures/listing-submitted.json
- evals/fixtures/reputation-page-1.json
- evals/fixtures/subscription-list.json
- evals/fixtures/task-contracts.json
- evals/fixtures/task-traces.json
- evals/scripts/audit-task-v2.mjs
- evals/scripts/onchainos
- evals/scripts/run-codex-evals.mjs
- references/a2a/completion.md
- references/a2a/evaluator/evidence.md
- references/a2a/evaluator/result.md
- references/a2a/evaluator/reveal.md
- references/a2a/evaluator/router.md
- references/a2a/evaluator/rubric.md
- references/a2a/evaluator/staking.md
- references/a2a/feedback.md
- references/a2a/notify.md
- references/a2a/params.md
- references/a2a/peer.md
- references/a2a/provider/arbitration-decision.md
- references/a2a/provider/arbitration-query.md
- references/a2a/provider/assignment.md
- references/a2a/provider/delivery.md
- references/a2a/provider/dispute.md
- references/a2a/provider/evidence-upload.md
- references/a2a/provider/execution.md
- references/a2a/provider/rating.md
- references/a2a/provider/router.md
- references/a2a/provider/subscription.md
- references/a2a/provider/task-query.md
- references/a2a/refund-reconcile.md
- references/a2a/router.md
- references/a2a/task-query.md
- references/a2a/user/create-guide.md
- references/a2a/user/create-prepare.md
- references/a2a/user/create.md
- references/a2a/user/created.md
- references/a2a/user/duplicate-subscription.md
- references/a2a/user/execution-policy.md
- references/a2a/user/intake.md
- references/a2a/user/rating.md
- references/a2a/user/receipt.md
- references/a2a/user/refund-confirm.md
- references/a2a/user/refund-execute.md
- references/a2a/user/refund-prepare.md
- references/a2a/user/restore-copytrade.md
- references/a2a/user/review-decision.md
- references/a2a/user/review.md
- references/a2a/user/router.md
- references/a2a/user/subscription-create.md
- references/a2a/user/subscription-events.md
- references/a2a/user/subscription-manage.md
- references/a2a/user/subscription-signal.md
- references/a2a/user/subscription-trade-records.md
- references/a2a/user/subscription.md
- references/a2a/user/visibility.md
- references/a2mcp/funding.md
- references/a2mcp/handoff.md
- references/a2mcp/invoke.md
- references/a2mcp/output-templates.md
- references/a2mcp/recovery.md
- references/identity/listing.md
- references/identity/output-templates.md
- references/identity/profile.md
- references/identity/register.md
- references/identity/reputation.md
- references/identity/search.md
- references/identity/service-contract.md
- references/identity/update.md
- references/identity/validate.md
- references/runtime/attachment.md
- references/runtime/backlog.md
- references/runtime/cleanup.md
- references/runtime/cli-reference.md
- references/runtime/decision-relay.md
- references/runtime/decision-request.md
- references/runtime/recovery.md
- references/runtime/transport.md
- references/runtime/watch-recovery.md
- references/runtime/watch-wake.md
- references/runtime/watch.md
- references/shared/chat-comm-init.md
- references/shared/lifecycle.md
- references/shared/protocol.md
- references/shared/refund-contract.md
What this skill tells the agent
OKX.AI
Reference priority
Use the routing tables below as the only top-level intent map. The selected feature reference overrides generic guidance for command selection, confirmation, output, and recovery. Structured inbound envelopes take precedence over free-text routing.
Response language
Keep the flow in the user's initial language. Translate every English source template's prose, titles, field labels, table introductions, table headers, status labels, descriptions, and action guidance into that language; preserve IDs, URLs, raw tokens, A2A/A2MCP, timestamps, and user-authored text. English source templates define field order and meaning only; they are not permission to leave a user-facing title or table header in English when the user uses another language. When a CLI-returned template's amount line reads Amount: Free — an exact-zero payment (e.g. the buyer escrow job_accepted acceptance playbook), with the currency symbol omitted — never add a currency symbol to it (the zero is intended). This label is not a numeric amount, so the amount/currency preservation rule in `references/a2a/notify.md` does not apply to it.
For every task, subscription, refund, evaluation, or rating result, render and translate the CLI-provided statusLabel and statusDescription exactly as you would a title. Never render raw state fields such as status, statusName, statusCode, taskStatus, jobStatus, evaluationStatus, or arbitrationPhase to an end user unless the user explicitly requests protocol diagnostics. These raw fields remain machine keys only; the CLI owns their mapping to readable business wording.
Preflight
Structured A2A envelopes, [SKILL_PREFETCH], a trusted task-parameter or execution-clarification notification, and the owner reply bound to that notification are exempt here. Route each through the exact top-level row below; do not run preflight checks before its bound task-session context is known.
Preflight checks: At the start of each thread, complete the checks in ../okx-agentic-wallet/_shared/preflight.md. If missing, read _shared/preflight.md.
Top-level routing
Route by envelope shape before free text, and select exactly one row across all tables. For free text, prefer exact Runtime or Identity matches over broad A2A. Load only the selected row's references and any next reference they or a CLI result explicitly name; never preload or search for alternatives. If a linked file is missing, report an incomplete installation and stop.
| Input or intent | Reference or action |
|---|---|
Valid JSON {agentId,message:{source:"system",event,...}} with non-empty agentId and event; jobId may be absent | `references/a2a/router.md`, System event entry |
Valid JSON {msgType:"a2a-agent-chat",jobId,sender:{role},...} with non-empty jobId | `references/a2a/peer.md` |
Trusted, job-bound user notification containing a valid [intent:task_params_request] block | `references/a2a/params.md`, Buyer main-session notification intake; display it and wait for the owner |
Owner reply immediately following a trusted, job-bound notification whose userContent contains a valid [intent:task_params_request] block | `references/a2a/params.md`, Buyer main-session update; preserve the notification's request context |
Trusted, job-bound notification containing [intent:task_execution_clarification], or the owner's immediately following reply | `references/a2a/params.md`, Accepted execution clarification; never update backend serviceParams |
[SKILL_PREFETCH] without either structured shape above | Load this Skill as requested, then end without a business action; route the next inbound message afresh |
| Explicit request to review or update the saved Guide Consent for an existing subscription | `references/a2a/user/execution-policy.md`, Updating a saved Guide Consent |
| A fresh free-text request to view, or manage User/ASP tasks and subscriptions; respond to assignments; deliver or review work; handle refunds, evaluations, ratings, or evaluator work, when no exact leaf is already bound | references/a2a/router.md |
Runtime routes
| Input or intent | Reference or action |
|---|---|
| Watch task progress or read unread/history messages | references/runtime/watch.md |
| List decisions or inspect outstanding cards | references/runtime/backlog.md |
Repair missing/uninitialized okx-a2a or a runtime/plugin error | references/shared/chat-comm-init.md |
| Upload or download a file | references/runtime/attachment.md |
Bound Runtime continuation routes
Bound Runtime continuations are not free-text intents. Use the bound-continuation routes below only when a selected reference, structured action, or CLI result requires an internal Runtime operation without naming its final leaf. Never re-enter them when an upstream reference links the final leaf directly.
Read exactly one selected reference:
| Input or intent | Reference or action |
|---|---|
| A task sub-session must create a durable User decision | references/runtime/decision-request.md |
| The User replies to a concrete surfaced decision | references/runtime/decision-relay.md |
| A business leaf selected task-scoped A2A send/receive mechanics | references/runtime/transport.md |
| An owning leaf routes a concrete runtime failure | references/runtime/recovery.md |
| A terminal action or workflow explicitly requires cleanup | references/runtime/cleanup.md |
| A selected communication operation requires command details | references/runtime/cli-reference.md |
Preserve the bound task, session, decision, action parameters, and origin. Never infer an internal operation from prose or preload sibling files. A missing mapping is a coverage failure—report it and stop.
A2MCP routes
Use these routes to invoke a confirmed A2MCP service or inspect its synchronous result.
For every active invocation, route only from the latest CLI nextAction; never infer an action or opaque ID from prose.
| Input or intent | Reference or action |
|---|---|
| Confirmed free-text invocation | Read references/a2mcp/invoke.md |
Active endpoint_result/free_result with an empty nextAction | Return to references/a2mcp/invoke.md for result rendering, then end the invocation |
invoke_a2mcp | Read references/a2mcp/handoff.md once; on successful validation it continues directly to references/a2mcp/invoke.md with a fresh invocation generation |
provide_a2mcp_params | Continue references/a2mcp/invoke.md with the returned nextProbePayload |
select_a2mcp_token | Continue references/a2mcp/invoke.md; add only the candidate selected by the user to the action's bound preparedId |
fund_a2mcp_token | Follow references/a2mcp/funding.md end to end with its bound preparedId and candidateId |
resume_a2mcp_after_funding | Continue references/a2mcp/funding.md with its one-time bound preparedId and candidateId |
confirm_a2mcp_free | Continue references/a2mcp/invoke.md with its bound confirmationId |
confirm_a2mcp_payment | Continue references/a2mcp/invoke.md with its bound preparedId and candidateId |
execute_a2mcp_payment | Hand its bound paymentId to okx-agent-payments-protocol |
cancel_a2mcp | End the invocation without another CLI call |
Read references/a2mcp/recovery.md only for phase=invocation_recovery or when references/a2mcp/invoke.md routes an error there. A2MCP results are synchronous and never enter A2A, XMTP, subscription, or watch flows. Keep raw HTTP 402 responses in references/a2mcp/invoke.md; only execute_a2mcp_payment.params.paymentId enters the Payment Protocol.
Identity routes
| Input or intent | Reference or action |
|---|
More from okx
Use this skill in a project
Open any RiverX project, search the Skills panel for okx/onchainos-skills/okx-ai, and install it in one click.
