OKX CLI Auth Setup
okx-cex-auth
Configure official CLI login profiles and local API credentials safely on your device.
Copy this prompt and send it to any AI coding assistant (Claude Code, Cursor, Windsurf, Codex, OpenClaw, etc.):
Please install okx-cex-auth following https://tradeskill.si/install/skillhub.en.md.Download the ZIP archive, verify its SHA-256 checksum, and extract into your agent skills directory.
Download ZIPOpen 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
- Click "Copy for AI" above and send the prompt to your AI coding assistant (Claude Code, Cursor, Windsurf, Codex, OpenClaw, etc.).
- Your AI assistant reads {doc}, detects the local skills folder, verifies SHA-256, and extracts the package.
- Alternatively switch to "Client CLI" or "ZIP Package" above, then run any starter prompt below once installed.
Package Files
Click a filename to preview inline or open raw in a new tab.
SHA-256
0aaa5a5410d3795b753f613aef7cf730927b67cac81158d8b36e8b6f115d30d9Starter 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 CLI Auth Setup" (okx-cex-auth), run one safe read-only market or status query to verify connectivity.Read SKILL.md for okx-cex-auth and summarize its core commands, CLI dependencies, and safety checks before live orders.In OKX demo, paper, or testnet mode via okx-cex-auth, 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 Setup
- ClientsClaude Code · Codex · Cursor · OpenCode · Windsurf
- Install Path
~/.claude/skills/okx-cex-auth - 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