OKX OnchainOS Setup & Guide
okx-onchain-guide
Install, upgrade, and configure OKX OnchainOS CLI and role routing workflows.
Copy this prompt and send it to any AI coding assistant (Claude Code, Cursor, Windsurf, Codex, OpenClaw, etc.):
Please install okx-onchain-guide following https://tradeskill.si/install/skillhub.en.md.Open an isolated OKX API sub-account for AI bots to segregate risk and lock in a permanent 20% fee rebate. Existing accounts run all skills directly too.
How to Install
Maintained and distributed directly from the official upstream repository. See the upstream docs and script folder.
OKX Trade CLI 1.5.1 for CEX skills; onchainos CLI for OnchainOS skills (public quotes need no key).
Starter Prompts After Install (Click to Copy)
Send any prompt below to Claude Code, Cursor, Codex, OpenCode, or Windsurf — start with read-only or testnet checks:
Using OKX skill "OKX OnchainOS Setup & Guide" (okx-onchain-guide), run one safe read-only market or status query to verify connectivity.Read SKILL.md for okx-onchain-guide and summarize its core commands, CLI dependencies, and safety checks before live orders.In OKX demo, paper, or testnet mode via okx-onchain-guide, walk me through one simulated workflow and confirm the expected output.Download & Attribution Notice
The OKX Trade and OKX Bot packages carry order attribution; eligible fills may generate commission for the hub operator at zero extra fee. Click "Official Source" on the skill page for the unattributed upstream version.
Referral Invite Fee Rebate 20%
48039151Verify the referral details on the registration page before submitting.Existing accounts work with all skills directly.
Prerequisites & Specs
- CategoriesTools
- PermissionsLocal Installer
- ClientsClaude Code · Codex · Cursor · OpenCode · Windsurf
- Install Path
Generate or configure per upstream official guide - RuntimeOKX Trade CLI 1.5.1 for CEX skills; onchainos CLI for OnchainOS skills (public quotes need no key).
- LicenseMIT
npm install -g @okx_ai/okx-trade-cli@1.5.1
okx market ticker BTC-USDT --jsonMore OKX Skills
- OKX Order ExecutionTrading
- OKX Trading BotsStrategy & Bots · Trading
- OKX Market OverviewMarket
- OKX Portfolio & PositionsAccount
- OKX Smart MoneyMarket · Account
- OKX Sentiment TrackerMarket