Back to Skills

okx-defi-portfolio

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

262stars55forksUpdated 5/18/2026

Security Assessment

Safe(100/100)
Security Score100/100

About okx-defi-portfolio

The okx-defi-portfolio skill is designed to provide users with a comprehensive view of their decentralized finance (DeFi) holdings and positions across multiple blockchain protocols. It addresses the challenge of tracking DeFi investments that are often spread across various platforms and chains without requiring the user to interact with each decentralized application individually. By consolidating this information, the skill enables users to quickly understand the state of their investments and monitor their overall DeFi portfolio in a streamlined manner.

This skill offers key capabilities including an overview of DeFi positions across supported chains such as Ethereum, BSC, Solana, Polygon, and others. Users can obtain both a summary of all holdings and detailed insights into positions for specific protocols using platform IDs returned in the overview. The skill also supports automatic wallet address resolution for EVM, Solana, and XLayer chains, simplifying the user experience when no explicit address is provided. Commands include checking supported chains and platforms, fetching aggregate positions, and retrieving detailed protocol-specific holdings. It is explicitly designed to view positions and holdings only, with other operations like deposits, swaps, or wallet token balances handled by separate skills.

Typical use cases for okx-defi-portfolio include DeFi investors who want a clear, consolidated snapshot of their holdings, portfolio analysis across multiple chains, and monitoring staking or lending positions without logging into each protocol individually. The skill is particularly useful for users who manage multiple wallets or accounts, providing a consistent interface for querying positions and verifying investment status. Its primary audience includes retail and professional crypto investors, portfolio managers, and anyone seeking to maintain an organized view of their DeFi exposure across different ecosystems.

FAQ

Can I use okx-defi-portfolio to deposit or redeem assets?

No, this skill is strictly for viewing DeFi positions and holdings. Deposit, redeem, or claim operations should be performed using the okx-defi-invest skill.

Which blockchain networks are supported for portfolio viewing?

Supported chains include Ethereum, BSC, Polygon, Arbitrum, Base, XLayer, Avalanche, Optimism, Fantom, Sui, Tron, TON, Linea, Scroll, zkSync, and Solana. You can query supported chains using the onchainos defi support-chains command.

Do I need to provide a wallet address to use the skill?

If you do not provide an address, the skill can automatically resolve it from the Agentic Wallet for EVM, Solana, and XLayer addresses. Explicit addresses can be provided to skip the resolution step.

Can this skill show token balances in my wallet?

No, wallet token balances should be viewed using the okx-wallet-portfolio skill. okx-defi-portfolio is only for DeFi positions and protocol-specific holdings.

What if I want to view positions on a specific third-party DApp?

If a specific DApp is mentioned, the skill will not be used. Instead, the okx-dapp-discovery skill should be used to load the corresponding DApp plugin for protocol-native position views.

Install okx-defi-portfolio

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill