Read-only OKX Outcomes driver. Use whenever the user wants to: browse prediction events (list / filter / trending), fetch event or market detail, search events by keyword, look up tickers / candles (K-line / OHLC), query CLOB midpoint / spread / multi-level book, watch live public WebSocket streams (prices / books / trades / tickers / event-status settlement / candles). Triggers include: '列事件', '热门事件', '事件详情', '市场详情', '行情快照', 'K线', '蜡烛图', '盘口', '订单簿', '中价', '价差', '实时价', '盯盘', '搜事件', 'browse prediction events', 'trending', 'event detail', 'market detail', 'ticker', 'candles', 'OHLC', 'order book', 'depth', 'midpoint', 'spread', 'live prices', 'live order book', 'WS prices', 'WS books', 'WS trades', 'search events'.
First-time onboarding / configuration for the OKX Outcomes `okx-outcomes` CLI, designed for IM / chat clients. Use whenever the account is not fully configured and the user wants to get set up, sign in, or connect their account. The skill detects which of the THREE setup pieces is still missing and walks the user through exactly that one, in dependency order: (1) region (US or Global), (2) OAuth sign-in, (3) EOA wallet binding. Region MUST be set first — OAuth sign-in and wallet binding both depend on it. Triggers include: 'set up', 'setup', 'onboard', 'onboarding', 'configure', 'sign in', 'log in', 'connect my account', 'connect wallet', 'bind wallet', 'bind address', 'set region', 'US or Global', 'get me set up', 'finish setup', 'why am I not configured', '首次配置', '配置', '登录', '登陆', '绑定地址', '绑定钱包', '设置地区', '开通'. Does NOT place orders or fetch market data — route trading to okx-outcomes-trade and market data to okx-outcomes-market.
Account state + signed trading on OKX Outcomes via the Rust `okx-outcomes` CLI. Use whenever the user wants to: check account balance / open orders / closed orders / positions / trade history (OAuth-authenticated reads); place orders (limit or market, base or quote size, GTC/GTD/IOC/FOK/ALO); cancel orders (by server OID, cancel-all, or dead-man heartbeat); split / merge / redeem CTF tokens; subscribe to private WebSocket channels (orders / positions / balance / user-trades / pnl); run a status health check or the TUI trading terminal; show the derived wallet address. (First-time onboarding / sign-in / wallet binding is owned by the `okx-outcomes-setup` skill.) Triggers include: '我的余额', 'my balance', '我的委托', 'open orders', '历史委托', 'closed orders', '我的持仓', 'my positions', '成交记录', 'trade history', '下单', 'place order', '限价单', '市价单', '买 YES', '卖 NO', 'cancel', '撤单', '一键撤单', 'cancel-all', 'heartbeat', '拆分', 'split CTF', '合并', 'merge CTF', '赎回', 'redeem winners', '私有频道', 'private channel', 'live pnl', 'TUI terminal', 'trade terminal', '健康检查', 'status check', '钱包地址', 'wallet show'.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A command-line client for OKX Outcomes. Browse events and markets, place CLOB orders, subscribe to real-time WebSocket streams, and run a full-screen trading terminal, all from your shell.
Distributed via GitHub.
Pre-built binary (macOS / Linux):
curl -fsSL https://raw.githubusercontent.com/okx/outcomes-cli/main/install.sh | sh
This pulls the latest binary from the GitHub Releases page and puts it on your $PATH. On Windows, download the .zip from the Releases page directly.
Build from source (needs a Rust toolchain):
git clone https://github.com/okx/outcomes-cli
cd outcomes-cli
cargo install --path .
okx-outcomes --help
Two things must be in place before the CLI is useful:
cargo install / build from source). The pre-built binary download needs no Rust toolchain.Run the wizard from a terminal in the directory where you want to keep your config:
okx-outcomes setup
The wizard:
okx-auth token broker. This is the only account-authentication step — there's no separate API key prompt. If sign-in fails (offline, broker missing, cancelled) the wizard continues and you can run okx-outcomes auth login later.alloy-signer-local. The 64-hex private key is not displayed — it's stored only in the OS keyring. The derived EOA address (the value you'll bind to your OKX account) is shown.okx://exchange/miniapp?…&eoa=… deeplink. Scan with the OKX app to bind the generated address to your account. The deeplink is also printed in plain text for headless / SSH use.~/.okx-outcomes/keyring.enc. Non-secret config (region / mode / base URLs / locale) lands in ~/.okx-outcomes/config.json. okx-outcomes logout wipes everything.⚠️ About the signing key — read this once. The generated key has exactly one purpose: signing your trade authorizations (EIP-712). It is not a funding wallet.
- Never share or expose the private key. Anyone who has it can sign orders as you. The CLI never displays it and never needs you to type it back — if a tool, page, or person asks you to paste it, that's a scam.
- Never send crypto or tokens to the derived EOA address. Your trading balance lives in your OKX account, not at this on-chain address. Funds sent to the EOA sit there unused and are likely unrecoverable. To add balance, top up your OKX account through the app — not this address.
- The address is only an identity bound to your OKX account so the backend can verify your signatures. Sharing the address (not the key) is harmless — it's public, like an account number.
- Binding is one-to-one. Each OKX account binds exactly one wallet, and each wallet (EOA address) binds to exactly one OKX account — you cannot bind one wallet to multiple accounts, nor multiple wallets to one account. Binding a new wallet to an account replaces the previous binding (which is why re-running
setupinvalidates the old one).
Re-running setup replaces the wallet. Every run generates a fresh signing key; if one is already stored the wizard prints a yellow warning with the current address before overwriting. The old EOA binding becomes invalid, and you need to scan the new QR to re-bind. There is no menu, no [k]eep, no import path, no private-key backup export — the signing key lives only in the OS keyring (encrypted-file fallback at ~/.okx-outcomes/keyring.enc).
This repository also ships two skills that let an AI coding assistant drive the CLI for you in plain language:
okx-outcomes-market — read-only: events, market data, candles, CLOB quotes / book, public WebSocket streams. No signing key.okx-outcomes-trade — account state (OAuth reads), EIP-712 signed writes (orders / cancels / heartbeat / CTF split / merge / redeem), private WebSocket channels, setup wizard, TUI terminal.Both shell out to the okx-outcomes binary, so install the CLI (see Installation) and run okx-outcomes setup (see First-time setup) first — those are prerequisites for the skills to work.
npx claudepluginhub okx/outcomes-cli --plugin okxoutcomesNo description provided.
Access staking and yield farming opportunities for cryptocurrency holdings on OKX.
Frontend design taste skills including brutalist, minimalist, soft, redesign, stitch, and more
Unified capability management center for Skills, Agents, and Commands.
Ultra-compressed communication mode. Cuts 65% of output tokens (measured) while keeping full technical accuracy by speaking like a caveman.
Frontend design skill for UI/UX implementation
Memory compression system for Claude Code - persist context across sessions
Marketing skills for AI agents — conversion optimization, copywriting, SEO, paid ads, ad creative, and growth