Xpersona
O

Okx Defi Portfolio

CLAWHUB · Unverified

Use this skill to 'check my DeFi positions', 'view DeFi holdings', 'show my DeFi portfolio', 'what DeFi am I invested in', 'show my staking positions', 'show... Skill: Okx Defi Portfolio Owner: ok-james-01 Summary: Use this skill to 'check my DeFi positions', 'view DeFi holdings', 'show my DeFi portfolio', 'what DeFi am I invested in', 'show my staking positions', 'show... Tags: latest:3.1.3 Version history: v3.1.3 | 2026-05-09T07:20:52.922Z | user okx-defi-portfolio 3.1.3 - Version bump to 3.1.3 (no code or documentation changes except version update). - No functional chang

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1757epwxjymcnx07m517yj80584g6p9:okx-defi-portfolio
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ok-james-01-okx-defi-portfolio/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

52,879 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: okx-defi-portfolio
description: "Use this skill to 'check my DeFi positions', 'view DeFi holdings', 'show my DeFi portfolio', 'what DeFi am I invested in', 'show my staking positions', 'show my lending positions', 'DeFi balance', 'DeFi 持仓', '查看DeFi持仓', '我的DeFi资产', '持仓详情', '持仓列表', or mentions viewing DeFi holdings, positions, portfolio across protocols — when the user does NOT name a specific DApp. Covers positions overview and per-protocol position detail. Do NOT use for deposit/redeem/claim operations — use okx-defi-invest. Do NOT use for wallet token balances — use okx-wallet-portfolio. Do NOT use for DEX spot swaps — use okx-dex-swap. Do NOT use when the user names a specific third-party DApp by name (e.g. 'show my Aave positions', 'my Hyperliquid balance', 'check my Polymarket holdings') — route to okx-dapp-discovery instead, which loads the DApp's plugin for protocol-native position views."
license: MIT
metadata:
  author: okx
  version: "3.1.3"
  homepage: "https://web3.okx.com"
---

# OKX DeFi Portfolio

2 commands for viewing DeFi positions and holdings across protocols and chains.

## Skill Routing

- For DeFi deposit/redeem/claim → use `okx-defi-invest`
- For token price/chart → use `okx-dex-market`
- For wallet token balances → use `okx-wallet-portfolio`
- For DEX spot swap → use `okx-dex-swap`

## Quickstart

```bash
# Get DeFi holdings overview across chains
onchainos defi positions \
  --address 0xYourWallet \
  --chains ethereum,bsc,solana

# Get detailed holdings for a specific protocol (analysisPlatformId from positions output)
onchainos defi position-detail \
  --address 0xYourWallet \
  --chain ethereum \
  --platform-id 67890
```

## Command Index

| # | Command | Description |
|---|---------|-------------|
| 1 | `onchainos defi support-chains` | Get supported chains for DeFi |
| 2 | `onchainos defi support-platforms` | Get supported platforms for DeFi |
| 3 | `onchainos defi positions --address <addr> --chains <chains>` | Get user DeFi holdings overview |
| 4 | `onchainos defi position-detail --address <addr> --chain <chain> --platform-id <id>` | Get detailed holdings for a protocol |

## Chain Support

| Chain | Name / Aliases | chainIndex |
|-------|----------------|-----------|
| Ethereum | `ethereum`, `eth` | `1` |
| BSC | `bsc`, `bnb` | `56` |
| Polygon | `polygon`, `matic` | `137` |
| Arbitrum | `arbitrum`, `arb` | `42161` |
| Base | `base` | `8453` |
| X Layer | `xlayer`, `okb` | `196` |
| Avalanche | `avalanche`, `avax` | `43114` |
| Optimism | `optimism`, `op` | `10` |
| Fantom | `fantom`, `ftm` | `250` |
| Sui | `sui` | `784` |
| Tron | `tron`, `trx` | `195` |
| TON | `ton` | `607` |
| Linea | `linea` | `59144` |
| Scroll | `scroll` | `534352` |
| zkSync | `zksync` | `324` |
| Solana | `solana`, `sol` | `501` |

## Operation Flow

### Step 0: Address Resolution

When the user does NOT provide a wallet address, resolve it automatically from the Agentic Wallet **before** running any defi command:

```
1. onc

_meta.json

{
  "ownerId": "kn78y61n2w8yxhz17m6kyf9t558268ba",
  "slug": "okx-defi-portfolio",
  "version": "3.1.3",
  "publishedAt": 1778311252922
}

skill-card.md

## Description:

Helps agents view OKX DeFi portfolio positions, holdings, and per-protocol position details across supported chains without performing deposit, redeem, claim, wallet-balance, or swap operations.

This skill is ready for commercial/non-commercial use.

## Publisher:

[ok-james-01](https://clawhub.ai/user/ok-james-01)

### License/Terms of Use:

MIT-0

## Use Case:

External users and agents use this skill to inspect DeFi holdings, summarize positions by protocol and chain, and retrieve identifiers needed for later detail or portfolio-management workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill may query OKX Agentic Wallet addresses and DeFi position data when the user asks for portfolio views.

Mitigation: Use it only for requested portfolio inspection, confirm automatically resolved addresses when needed, and review displayed results before relying on them.

Risk: Position identifiers shown by this read-only skill can be used by separate invest, redeem, or claim workflows.

Mitigation: Treat identifiers as references only and require explicit user intent before invoking any separate skill that changes positions.

Risk: Mixing incompatible wallet address formats and chains can produce failed or misleading portfolio queries.

Mitigation: Query compatible chain and address groups separately, such as EVM chains with EVM addresses and Solana with Solana addresses.

## Reference(s):

- [OKX Web3](https://web3.okx.com)
- [ClawHub Skill Page](https://clawhub.ai/ok-james-01/skills/okx-defi-portfolio)

## Skill Output:

**Output Type(s):** [Markdown, Shell commands, Guidance]

**Output Format:** [Markdown tables with inline shell commands and concise guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Read-only portfolio views; position-detail output includes identifiers that may be used by separate invest, redeem, or claim workflows.]

## Skill Version(s):

3.1.3 (source: release evidence and frontmatter)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Okx Defi Portfolio and adjacent AI workflows.