OKX Onchain DeFi Hub
okx-defi
Discover and manage multi-chain staking, lending, LP pools, and APY/TVL analytics via OKX OnchainOS.
Copy this prompt and send it to any AI coding assistant (Claude Code, Cursor, Windsurf, Codex, OpenClaw, etc.):
Please install okx-defi 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.md5.3 KB
- _shared/preflight.md744 B
- references/invest-cli-reference.md27.3 KB
- references/invest-troubleshooting.md2.3 KB
- references/invest.md13.6 KB
- references/portfolio-cli-reference.md2.9 KB
- references/portfolio-troubleshooting.md1.4 KB
- references/portfolio.md6.6 KB
- LICENSE1.0 KB
SHA-256
320e8e7aebb8bfd351c4374cc6ec057470c842754b4bb9d7a7fdab8bce148e72Starter 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 Onchain DeFi Hub" (okx-defi), run one safe read-only market or status query to verify connectivity.Read SKILL.md for okx-defi and summarize its core commands, CLI dependencies, and safety checks before live orders.In OKX demo, paper, or testnet mode via okx-defi, 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 · Account · Market
- PermissionsPublic Quotes / Wallet Sign
- ClientsClaude Code · Codex · Cursor · OpenCode · Windsurf
- Install Path
~/.claude/skills/okx-defi - 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