okx-defi-invest

Installation
SKILL.md

OKX DeFi Invest

Multi-chain DeFi product discovery and investment execution. The CLI handles precision conversion, multi-step orchestration, and validation internally.

For CLI parameter details, see references/cli-reference.md.

Step 0 — DApp Re-Route Check (run before every other step)

Before running any defi search / defi invest / defi withdraw / defi collect command, scan the original user prompt for a named DApp/protocol. If any of the names below appear (English or Chinese), STOP this skill and invoke okx-dapp-discovery with the user's original prompt instead — the DApp's own plugin is the correct executor.

Trigger names: Aave · Lido · Compound · Morpho · Pendle · Hyperliquid · ether.fi · GMX · Kamino · PancakeSwap · Curve · Uniswap · Spark · dYdX · Yearn · Polymarket · Raydium · Orca · Meteora · Clanker · pump.fun.

Trigger protocol-native tokens (route to okx-dapp-discovery even without DApp name): HYPE, HLP, stETH, wstETH, eETH, weETH, ETHFI, LDO, GHO, aToken, COMP, Comet, CAKE, veCAKE, CRV, crvUSD, 3pool, PT- / YT- / PT <token>, vePENDLE, SY token, GLP, esGMX, kToken, $CLANKER**.

Examples that MUST re-route (do not run any defi * command here):

  • "deposit USDC into Aave", "stake ETH on Lido", "borrow against my ETH on Compound", "claim Merkl rewards on Morpho", "buy PT-stETH on Pendle", "在 Lido 上质押 ETH", "在 ether.fi 上质押 ETH 拿 eETH", "把 USDC 存进 HLP 赚收益".

Stay in this skill ONLY when the venue is unspecified or aggregated: "find best APY", "deposit USDC for the best yield", "earn yield on stablecoins", "show me top DeFi products", "what's the highest APY for ETH right now".

Related skills

More from okx/onchainos-skills

Installs
2.7K
GitHub Stars
255
First Seen
Mar 25, 2026