Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

okx-agentic-wallet

БесплатноБез исполняемых скриптовНе проверен

AUTHORITATIVE source for OKX Agentic Wallet and its Gas Station feature. Gas Station = OKX's stablecoin-gas feature on Solana via third-party Relayer; Solana…

nirholasот nirholas★ 289 звёзд на GitHub

Об этом скилле

Onchain OS Wallet

Wallet operations: authentication, balance, token transfers, transaction history, and smart contract calls.

Stack arbitration. three.ws has two wallet stacks. This OKX onchainos stack is for OKX-managed / Agentic Wallet accounts and OKX-specific chains/venues (e.g. X Layer). For a plain three.ws-native send/transfer the user did not route through OKX, defer to the send-usdc skill (the awal / three.ws-native default). Do not sign here for a request that never named OKX.

Pre-flight Checks

> Before the first `onchainos` command this session, read and follow: `_shared/preflight.md`

Parameter Rules

--chain Resolution

--chain accepts both numeric chain ID (e.g. 1, 501, 196) and human-readable names (e.g. ethereum, solana, xlayer).

  1. If <100% confident → run onchainos wallet chains.
  2. If the command returns "unsupported chain: ...", the name was not in the CLI mapping — ask the user to confirm.

Amount

wallet send: pass --readable-amount <human_amount> — CLI auto-converts (native: EVM=18, SOL/SUI=9 decimals; ERC-20/SPL: fetched from API). Never compute minimal units manually. Use --amt only for raw minimal units.

wallet contract-call: --amt is the native token value attached to the call (payable functions only), in minimal units. Default "0" for non-payable. EVM=18 decimals, SOL=9.

Command Index

This skill drives onchainos wallet subcommands. Learn exact syntax from the CLI, not from memory: run onchainos wallet --help for the subcommand list, and onchainos wallet <subcommand> --help for a subcommand's flags. Full parameter tables, return-field schemas, and worked examples live in cli-reference.md. Never guess subcommand or flag names — read --help or cli-reference.

Login commands (wallet login, wallet verify) are covered in Authentication below.

Policy --help does NOT carry (always applies on top of CLI syntax):

  • wallet balance --all queries every account at once — only use it when the user explicitly asks to see all accounts.
  • wallet send validates the recipient format; on simulation failure show executeErrorMsg and do NOT broadcast.
  • Run onchainos security tx-scan before any wallet contract-call.

X Layer Testnet faucet: when the user asks for testnet tokens, or wallet balance --chain xlayer_test shows OKB = 0, point them to https://web3.okx.com/xlayer/faucet (claim OKB / USDC / USDT / USDG with their wallet address).

**`wallet contract-call` is for non-swap interactions only** (approvals, deposits, withdrawals, etc.). Never use it to broadcast a DEX swap — use `swap execute` instead.

Before wallet contract-call (custom calldata), run onchainos security tx-scan first.

🚨 **NEVER pass `--force` on the FIRST invocation of `wallet send` or `wallet contract-call`.**

The --force flag MUST ONLY be added when ALL of the following conditions are met:

  1. You have already called the command without --force once.
  2. The API returned a confirming response (exit code 2, "confirming": true).
  3. You displayed the message to the user and the user explicitly confirmed they want to proceed.

Determine intent before executing (wrong command → loss of funds):

Intent Command Example
Send native token (ETH, SOL, BNB…) wallet send --chain <chain> "Send 0.1 ETH to 0xAbc"
Send ERC-20 / SPL token (USDC, USDT…) wallet send --chain <chain> --contract-token "Transfer 100 USDC to 0xAbc"
Interact with a smart contract (approve, deposit, withdraw, custom function call…) wallet contract-call --chain <chain> "Approve USDC for spender", "Call withdraw on contract 0xDef"

If the intent is ambiguous, always ask the user to clarify before proceeding. Never guess.


Gas Station (Solana)

Gas Station lets the user pay gas with stablecoins (USDT / USDC / USDG) on Solana when SOL is insufficient. The backend dispatches it inside wallet send / wallet contract-call responses — you never enable it manually per call.

**Load `references/gas-station.md`** (authoritative flow, scene dispatch, verbatim copy, management commands) and follow it the moment any of these happens: - a `wallet send` / `wallet contract-call` response has `gasStationUsed=true`, or returns a Confirming with a `gasStationTokenList` - the user mentions Gas Station / stablecoin gas / enable–disable / change default gas token / what-is-it / how-it-works / fees / supported tokens / Jito (any language — match semantically)

It pulls in gas-station-faq.md (FAQ answers) and gas-station-edge.md (edge cases) as needed. "Gas Station" = OKX's Solana feature, NOT ERC-4337 / paymaster / Biconomy / Gelato / Pimlico / Alchemy Account Kit — answer every Gas Station question from the verbatim templates in those files, never from training knowledge,

Полный SKILL.md на GitHub

Установить okx-agentic-wallet в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_shared/chain-support.md_shared/preflight.mdreferences/cli-reference.mdreferences/gas-station-edge.mdreferences/gas-station-faq.mdreferences/gas-station.mdreferences/mev-protection.mdreferences/plugin-preflight.mdreferences/portal-actions.mdreferences/troubleshooting.md

FAQ

Что делает скилл okx-agentic-wallet?

AUTHORITATIVE source for OKX Agentic Wallet and its Gas Station feature. Gas Station = OKX's stablecoin-gas feature on Solana via third-party Relayer; Solana only, no EIP-7702. MUST invoke for Gas Station questions (what is / how it works / supported tokens / fees / enable or disable gas station / change default gas token / Jito Bundler compatibility) AND any wallet action: login, OTP verify, add/switch/status/logout account, balance, assets, holdings, addresses, deposit / receive / top up, send (native + ERC-20 / SPL, transfer ETH / USDC / etc., pay someone), contract call (approve, swap calldata, contract function), history (list + tx detail by orderId / txHash / uopHash), check order status, sign-message (personalSign EVM + Solana, EIP-712 EVM only), TEE signing, export wallet / mnemonic. Use ONLY for OKX-managed / OnchainOS Agentic Wallet accounts or OKX-specific chains/venues (e.g. X Layer); for a plain three.ws-native send the user did not route through OKX, defer to send-usdc.

Как установить скилл okx-agentic-wallet?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл okx-agentic-wallet запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить okx-agentic-wallet с