Okx official agentic wallet

From jiayaoqijia/cryptoskill · View interactive version

Okx official agentic wallet is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Operate OKX Onchain OS wallets and execute or inspect on-chain transactions. Use for wallet login/status/accounts/addresses/balances/holdings; receive/send/transfer; swaps, bridges, limit orders, contract calls, gas estimation, simulation, broadcast, and tracking; Bitcoin UTXO/BRC-20/inscriptions; s

How to use this skill

Skill file

OKX Agentic Wallet

Module Description

Use this Skill for wallet and on-chain execution requests. Route marketplace and

subscription requests to okx-ai; route third-party DApp-specific operations to

the applicable DApp Skill.

Intent Routing

Match the user intent to its owning module Reference.

| User intent | Reference |

| --- | --- |

| Sign in / connect / social login (Google / Apple / Email) / logout; add / switch account; login status | wallet |

| Deposit / top up / receive a token; my receive address or QR code | funding |

| Check my (logged-in) balance / holdings, including BTC or a BRC-20 ticker | wallet |

| Bitcoin UTXO-specific queries, management, or FAQ / definitions | utxo-cli-reference |

| Send / transfer native, ERC-20, SPL, BTC, BRC-20, or SUI tokens | wallet |

| Call a contract (approve / deposit / withdraw / custom function), including a SUI PTB | wallet |

| Transaction history / tx detail / order status; sign a message (personalSign / EIP-712) | wallet |

| Policy / spending limit / whitelist; export wallet / mnemonic; MEV protection for a contract-call; third-party Solana plugin write pre-flight | wallet |

| A token approval paused for email verification (scene=approval_code_sent or an approval_* error); the user gives, resends, or cancels an approval verification code | approval-verification |

| Apple-login wallet differs from the OKX Wallet App / "missing" balance; rename a wallet or account; how transaction signing works (TEE) | account-faq |

| Pay gas with a stablecoin on Solana; enable / disable / change default gas token / status; a send / contract-call returns gasStationUsed or a Gas Station Confirming; Gas Station FAQ / "check order" | gas-station |

| Swap / trade / buy / sell / convert tokens; quote; best route; calldata-only swap; liquidity sources; ERC-20 approval for a DEX | swap |

| Bridge / cross-chain swap / move tokens between chains; bridge quote / fee comparison; supported bridges; track cross-chain arrival | bridge |

| Limit order: buy dip / take profit / stop loss / buy above; cancel / list / resume limit (strategy) orders | strategy |

| Broadcast a signed / raw tx; estimate gas price / gas-limit; simulate a tx; track a broadcast order | gateway |

| A given public address's balance / holdings / total value (0xAbc… / a Solana address) | portfolio |

| Token / honeypot safety; DApp / URL phishing; tx or signature pre-check; check / list / revoke token approvals (ERC-20 / Permit2) | security |

| Export / locate audit log, view command history | audit-log |


Preflight

Preflight checks: At the start of each thread, complete the checks in _shared/preflight.md.

CLI Reference Access

  1. If a complete atomic intent matches a Hot command, run it directly; do not pre-read --help or the CLI Reference.
  2. Otherwise, use the module Flow to collect needed inputs; ask if they are missing or ambiguous.
  3. Read the module's CLI Reference to choose the exact command. It is authoritative for syntax, defaults, and validation.
  4. Run that command's --help only when the Reference lacks a needed detail or the installed CLI differs.

Chain Name Support

--chain accepts numeric chain IDs and human-readable names. Resolution rules and the supported-chain matrix live in _shared/chain-support.md. If <100% confident of a chain name, run onchainos wallet chains.

Render Rules

Amounts and Prices

Timestamps and Holdings

Security

Confirmation

Before any state-changing operation, display the relevant action and obtain the user's explicit affirmative confirmation. Do not broadcast, send, approve, revoke, swap, bridge, or otherwise change on-chain state from an implicit or ambiguous request.

Some state-changing commands return confirming (exit code 2) when the backend needs user confirmation. The response carries message (prompt to show) and next (what to do after they confirm).

  1. Display message and ask for confirmation.
  2. Confirms → immediately follow next (usually: re-run the same command with --force appended). For wallet send, do not query wallet balance between confirmation and the re-run; the server validates balances and gas.
  3. Declines → do NOT proceed; tell the user it was cancelled.

Exception: scene=approval_code_sent asks for an email code, not for --force. Follow approval-verification.

Never pass --force on the FIRST invocation of a state-changing command. Add --force only after all of: (1) you ran the command once without it, (2) the CLI returned a Confirming response (exit code 2, "confirming": true), (3) you displayed message and the user explicitly confirmed.

Trust Boundary

Risk and Stop Conditions

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.