# Manage OKX DeFi Positions

DeFi users need clear steps for finding yield and managing positions across chains. This skill guides OKX discovery, portfolio review, deposits, withdrawals, rewards, and chart checks.

## Install

```bash
npx skillstore add internet-court/okx-defi
```

## Metadata

- Status: approved
- Slug: internet-court-okx-defi
- Version: 4.2.1
- Author version: 4.2.1
- Skillstore revision: r1
- Version status: valid
- Tree hash: 822172cdc4175857cde028e28363965f15c96af2ebec1ac2e52549168a9cf191
- Author: internet-court
- GitHub username: internet-court
- License: MIT
- Repository: https://github.com/internet-court/internet-court-skill/tree/main/vendored/okx/okx-defi
- Ref: 3f6e026a3363e0954ede7bef0cfe88d4475de137
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: external\_commands, network, filesystem
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/internet-court-okx-defi
- Manifest: https://skillstore.pages.dev/api/skills/internet-court-okx-defi/manifest

## Capabilities

- Resolves the correct wallet address type for EVM, Solana, XLayer, Sui, Tron, and TON chains.
- Lists and searches OKX DeFi products by token, chain, platform, product group, APY, and TVL.
- Retrieves product details, accepted tokens, APY history, TVL history, and V3 pool chart data.
- Guides deposit, redeem, and reward claim flows with balance checks and ordered transaction steps.
- Displays portfolio positions and protocol details with investment IDs, platform IDs, rewards, and V3 token IDs.
- Routes named DApps, swaps, prices, wallet balances, and signing tasks to the correct OKX companion skill.

## Use Cases

- Compare Yield Products: Find DeFi products for a token, compare APY and TVL, and review details before deciding.
- Review Portfolio Positions: Check DeFi holdings across supported chains and inspect protocol-level details and pending rewards.
- Manage DeFi Actions: Prepare deposits, withdrawals, V3 liquidity actions, and reward claims with required IDs and checks.

## Prompt Templates

### Check My Positions

```
Show my OKX DeFi positions on Ethereum and BSC. Use my connected wallet if available, and show platform IDs.
```

### Find Token Yield

```
Find USDC yield products on Ethereum. Compare APY, TVL, platform, chain, and investment ID before suggesting next steps.
```

### Prepare A Withdrawal

```
Review my Aave position on Ethereum, get fresh position detail, and prepare the safest full withdrawal flow.
```

### Analyze V3 Liquidity

```
Find PancakeSwap V3 USDT pools on BSC, review depth and price history, and explain the inputs needed for a deposit.
```

## Limitations

- It depends on the onchainos CLI, OKX services, and supported chains being available.
- It does not provide financial advice or guarantee APY, TVL, liquidity, or protocol safety.
- It does not handle DEX swaps, token prices, or wallet balances directly.
- Transaction signing and broadcasting still require explicit user authorization or a connected wallet workflow.

## Best Practices

- Confirm the wallet address and chain before running position, deposit, withdrawal, or claim workflows.
- Refresh position detail immediately before withdrawals and reward claims to avoid stale transaction data.
- Review APY, TVL, accepted tokens, slippage, and transaction steps before signing anything.

## Anti Patterns

- Do not use this skill for named third-party DApp requests that should route to DApp discovery.
- Do not skip balance checks or position-detail refreshes before generating transaction calldata.
- Do not treat APY or TVL output as investment advice or guaranteed returns.

## Security Audit

- Audited at: 2026-07-21T04:11:02.273\+00:00
- Summary: The 89 static alerts are false positives caused by Markdown code formatting, fixed documentation links, CLI parameters, and safety statements about keys. However, the shared preflight instructions trust remote action text and can download and execute an installer without an independently trusted verification source.

## Stats

- Views: 0
- Downloads: 4
- Favorites: 1
- Popularity score: 0
