home / skills / openclaw / skills / defi
This skill manages DeFi protocol interactions across chains, swapping tokens, checking yields, and tracking positions with safety checks.
npx playbooks add skill openclaw/skills --skill defiReview the files below or copy the command above to add this skill to your agents.
No content availableThis skill manages DeFi protocol interactions across Ethereum, Polygon, Arbitrum, Optimism, Base, and Solana. It provides token price lookups, yield discovery, cross-chain bridging quotes, swap routing via DEX aggregators with referral support, and wallet balance checks. It is focused on producing quotes and transaction data; it never executes transactions without explicit user approval.
The skill queries public APIs (CoinGecko, DefiLlama, 1inch, Jupiter, LI.FI) to fetch prices, yields, TVL, and swap/bridge quotes. For EVM swaps it prepares 1inch quotes including a configurable referral fee; for Solana it uses Jupiter quotes and platform fee parameters. It aggregates balances using RPC calls and applies safety checks like price impact and slippage thresholds before returning transaction payloads for user signing.
Does the skill execute transactions automatically?
No. It prepares quotes and transaction data but never signs or broadcasts transactions without explicit user action.
Which chains and aggregators are supported?
Supported chains include Ethereum, Arbitrum, Polygon, Optimism, Base, and Solana. Aggregators: 1inch for EVM, Jupiter for Solana, and LI.FI for cross-chain routing.
What safety checks are applied to swaps and bridges?
The skill warns on price impact > 1%, slippage > 3%, checks EVM token allowances, and prompts verification of bridge security before cross-chain transfers.