okx-defi-invest

Generate multi-step DeFi calldata for invest, withdraw, or claim actions.

Updated May 10, 2026
One-click install
npx skills add https://github.com/Tsin418/crypto-research-agent --skill okx-defi-invest-tsin418
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-defi-invest
Source: https://github.com/Tsin418/crypto-research-agent/tree/main/.agents/skills/okx-defi-invest
Command: npx skills add https://github.com/Tsin418/crypto-research-agent --skill okx-defi-invest-tsin418

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you find the best aggregated DeFi yield options on OKX and execute the correct multi-step on-chain actions safely, without requiring you to already know a specific protocol.

Core Features & Use Cases

  • DApp-agnostic DeFi discovery & execution: Searches across chains and platforms for products when the venue is unspecified or aggregated (e.g., “best APY”, “highest yield”), then routes the right flow internally.
  • End-to-end invest/withdraw/claim orchestration: Builds the correct calldata steps (approve/deposit/withdraw/swap when needed) and enforces required prechecks before generating transactions.
  • Safety guardrails for DeFi operations: Performs wallet/address resolution, requires fresh position-detail before withdraw/collect, enforces balance checks before invest, and includes explicit warnings (e.g., high-APY risk, Solana expiry).

Quick Start

Ask the agent: "Find the best APY for USDC on Ethereum, then prepare an invest transaction for my wallet."

Frequently Asked Questions about okx-defi-invest

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the best DeFi yield farming opportunities without knowing a specific protocol?

DeFi yield discovery searches aggregated opportunities across supported chains when no specific DApp is named, finding the highest APY options for your assets. It evaluates yield farming, lending, staking, and liquidity pool products to identify optimal returns.

How do I prepare an invest transaction for a liquidity pool on Ethereum?

To prepare an invest transaction, the system resolves your wallet address, enforces mandatory balance checks, and generates ordered multi-step on-chain calldata including approve and deposit actions. You need to specify your asset, target chain, and wallet address to receive executable transaction steps.

Can I withdraw or claim staking rewards from a DApp using aggregated calldata generation?

Yes, you can withdraw funds or claim rewards, but the system requires fresh position-detail retrieval before generating withdraw or collect calldata. It builds the correct multi-step execution sequence to safely exit positions or collect accumulated yield rewards.

Does the DeFi investment discovery tool apply DApp re-routing rules for lending and borrowing?

Yes, the investment discovery tool enforces DApp re-routing rules internally to direct your lending, borrowing, or staking flow to the correct protocol. This ensures platform- and chain-correct parameters are applied even when you query aggregated yield options generically.

What are the limitations and safety guardrails when generating on-chain withdraw calldata?

Limitations include requiring fresh position details before withdrawals and explicit warnings for high-APY risks or Solana transaction expiry. The system enforces wallet validation and mandatory pre-investment balance checks to prevent failed multi-step on-chain execution.