OKX Earn Skill
okx-cex-earn
Query and manage Simple Earn, Flash Earn, and on-chain yield products.
Copy this prompt and send it to any AI coding assistant (Claude Code, Cursor, Windsurf, Codex, OpenClaw, etc.):
Please install okx-cex-earn 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.
- SKILL.md13.2 KB
- references/autoearn-commands.md3.7 KB
- references/dcd-commands.md9.0 KB
- references/flash-earn-commands.md1.8 KB
- references/onchain-commands.md4.6 KB
- references/preflight.md3.5 KB
- references/savings-commands.md12.9 KB
- references/templates.md2.5 KB
- references/workflows.md13.9 KB
- LICENSE1.0 KB
SHA-256
ec8e934ef75de402c756574ace2a12cb7970c360f6b68139a70a30ee7c0f0b6dStarter 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 Earn Skill" (okx-cex-earn), run one safe read-only market or status query to verify connectivity.Read SKILL.md for okx-cex-earn and summarize its core commands, CLI dependencies, and safety checks before live orders.In OKX demo, paper, or testnet mode via okx-cex-earn, 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
- CategoriesStrategy & Bots
- PermissionsAccount Auth
- ClientsClaude Code · Codex · Cursor · OpenCode · Windsurf
- Install Path
~/.claude/skills/okx-cex-earn - 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