मुख्य सामग्री पर जाएँ
Skillpedia
विविध7.0k · #13663

okx-defi

यह क्या करती है

यह स्किल एजेंट को onchainos defi कमांड से DeFi यील्ड उत्पाद खोजने और जमा, निकासी और इनाम संभालने देती है। यह उन क्रिप्टो उपयोगकर्ताओं के लिए है जिन्हें एक ही प्रोटोकॉल से बँधा नहीं, बल्कि DeFi के लिए एक ही प्रवेश बिंदु चाहिए।

कब इस्तेमाल करें

  • ✓जब आप किसी टोकन के लिए सबसे अच्छी यील्ड वाले DeFi उत्पाद ढूंढना चाहते हों।
  • ✓जब आप किसी खास प्रोटोकॉल का नाम लिए बिना जमा, स्टेक, निकासी या इनाम लेना चाहते हों।
  • ✓जब आप अपने DeFi होल्डिंग्स और पोज़िशन का सारांश देखना चाहते हों।

Skill का लिंक

https://github.com/internet-court/internet-court-skill/blob/main/vendored/okx/okx-defi/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/internet-court/internet-court-skill/blob/main/vendored/okx/okx-defi/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“क्या आप मेरे USDC के लिए सबसे अच्छी यील्ड वाला DeFi उत्पाद ढूंढ सकते हैं और मेरी मौजूदा DeFi पोज़िशन दिखा सकते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट एकत्रित उत्पाद सूची खंगालता है, APY और स्वीकृत टोकन जैसे विवरण पढ़ता है, और defi कमांड से जमा या निकासी चलाता है। वह आपकी पोज़िशन और उनका विवरण भी दिखाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

OKX DeFi (experimental merge of okx-defi-invest + okx-defi-portfolio)

Multi-chain, OKX-aggregated DeFi in two capabilities behind one skill. Both wrap the same onchainos defi CLI command group.

Pre-flight Checks

Read ../okx-agentic-wallet/_shared/preflight.md. If that file does not exist, read _shared/preflight.md instead.

Intent Routing

User Intent Reference
Discover / search DeFi products, find best APY invest.md
Product detail (APY, TVL, accepted tokens) invest.md
Deposit / stake / provide liquidity invest.md
Withdraw / redeem a position (full or partial) invest.md
Claim rewards (platform / investment / V3 fee / bonus / unlocked principal) invest.md
APY history, TVL history, V3 depth / price charts invest.md
View DeFi positions / holdings overview (持仓) portfolio.md
Per-protocol position detail (持仓详情) portfolio.md
Exact parameters / return schemas — invest & charts commands invest-cli-reference.md
Exact parameters / return schemas — positions commands portfolio-cli-reference.md
Errors / failed deposits / expired calldata invest-troubleshooting.md
Errors / empty positions / address-format issues portfolio-troubleshooting.md

Typical flow spans both: view positions (Portfolio) → redeem or claim (Invest). Read both reference files when the request chains them.

Skill Routing

  • For DApp-named investing/lending/staking/positions ("on Aave", "my Hyperliquid balance") → use okx-dapp-discovery
  • For token price/chart or token search by name/contract → use okx-dex-market
  • For DEX spot swap execution → use okx-agentic-wallet
  • For wallet token balances → use okx-agentic-wallet
  • For broadcasting signed transactions → use okx-agentic-wallet
  • For Agentic Wallet login, balance, contract-call → use okx-agentic-wallet

Chain Support

CLI resolves chain names automatically (e.g. ethereum → 1, bsc → 56, solana → 501). Full alias table: references/portfolio.md §Chain Support.

Step 0: Address Resolution (shared by both capabilities)

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

1. onchainos wallet status          → check if logged in, get active account
2. onchainos wallet addresses       → get addresses grouped by chain category:
                                       - XLayer addresses
                                       - EVM addresses (Ethereum, BSC, Polygon, etc.)
                                       - Solana addresses
3. Match address to target chain:
   - EVM chains → use EVM address
   - Solana     → use Solana address
   - XLayer     → use XLayer address

Rules:

  • If the user provides an explicit address, use it directly — skip this step
  • If wallet is not logged in, ask the user to log in first (→ okx-agentic-wallet) or provide an address manually
  • If the user says "check all accounts" or "all wallets", use wallet balance --all to get all account IDs, then wallet switch <id> + wallet addresses for each account
  • Always confirm the resolved address with the user before proceeding if the account has multiple addresses of the same type

Address-Chain Compatibility (shared — CRITICAL)

The --address and chain parameters must be compatible. EVM addresses (0x…) can only query EVM chains; Solana addresses (base58) can only query solana. Never mix them — the API will return error 84019 (Address format error).

  • 0x… address → only pass EVM chains: ethereum,bsc,polygon,arbitrum,base,xlayer,avalanche,optimism,fantom,linea,scroll,zksync
  • base58 address → only pass solana
  • Sui address → only pass sui; Tron address (T…) → only pass tron; TON address → only pass ton
  • If the user wants positions across both EVM and Solana, make two separate calls with the respective addresses

Global Notes

  • The wallet address parameter for ALL defi commands is --address
  • defi positions uses --chains (plural, comma-separated); defi position-detail uses --chain (singular)
  • For CLI parameter details, se
अक्सर पूछे जाने वाले सवाल

अगर मैं कोई खास प्रोटोकॉल नाम लूँ तो?

स्किल कहती है कि Aave जैसे नामित प्रोटोकॉल को DApp discovery स्किल की ओर भेजें।

क्या यह पिछला यील्ड इतिहास दिखाता है?

हाँ। यह APY इतिहास, TVL इतिहास और कीमत चार्ट कवर करती है।

त्रुटियों और विफल जमा की जानकारी कहाँ है?

स्किल में त्रुटियों और विफल जमा के लिए समस्या-निवारण संदर्भ है।

जानकारी

लेखक का मूल विवरण

OKX-aggregated DeFi (no specific DApp named) — product discovery, deposit/withdraw/claim execution, AND positions viewing. **If the user names ANY third-party protocol/DApp (Aave, Lido, PancakeSwap, Uniswap, Curve, Compound, Morpho, Pendle, Kamino, Raydium, Hyperliquid, Polymarket, …), route to okx-dapp-discovery — NOT here, even for 'show my Aave positions'.** INVEST triggers: 'invest in DeFi', 'earn yield', 'find best APY', 'deposit/stake for yield', 'search DeFi products', 'redeem/withdraw position', 'claim DeFi rewards', 'borrow against asset', 'repay loan', 'add/remove CLMM liquidity', 'A

repo: internet-court/internet-court-skill

लोकप्रियता

GitHub स्टार
7.0k
रैंकिंग में स्थान
#13663
लाइसेंस
—
अपडेट की गई
26/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

internet-court

7.0k

यह आपके एजेंट को AI एजेंट या पेड सेवा से सुरक्षित तरीके से भुगतान और लेन-देन की शुरुआती दिशा देती है, और सही विशेष गाइड बताती है।

AI और एजेंटएजेंट

genlayer-erc7710-connector

7.0k

यह आपके एजेंट को AI समीक्षा के नतीजे को अनुमति प्रणाली से जोड़ने देती है, ताकि खराब समीक्षा एजेंट की अनुमतियाँ सीमित कर सके।

AI और एजेंटएजेंट

genlayer-intelligent-contracts

7.0k

यह आपके एजेंट को AI जज के नियम, सबूत और नतीजे तय करने में मदद करती है, जो जाँचता है कि दूसरा एजेंट अपने अधिकार के दायरे में रहा या नहीं।

AI और एजेंटएजेंट

x402-erc7710

7.0k

यह आपके एजेंट को हर अनुरोध पर वेब सेवा का भुगतान करने और तय सीमा के भीतर लगातार खर्च करने की व्यवस्था में मदद करती है।

AI और एजेंटएजेंट

मिलती-जुलती skills