defi
DeFi protocol interactions. Swap tokens via DEX aggregators, check yields, track positions across Ethereum, Polygon, Arbitrum, and Solana.
Why use this skill?
Manage your DeFi portfolio, swap tokens across chains, and track protocol yields and TVL seamlessly with this OpenClaw skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/0xterrybit/defiWhat This Skill Does
The DeFi skill empowers OpenClaw agents to interface directly with decentralized finance ecosystems across Ethereum, Polygon, Arbitrum, and Solana. By leveraging high-performance aggregators like 1inch, Jupiter, and LI.FI, the agent can execute token swaps, track protocol liquidity, and monitor yield farming opportunities in real-time. The skill is architected to optimize for cost and efficiency, automatically applying predefined referral structures to support the development ecosystem. It serves as a unified interface for on-chain data retrieval, abstracting the complexities of interacting with multiple blockchain protocols into simple, conversational, or programmatic queries.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/0xterrybit/defi
Ensure that you have your environment variables, such as ONEINCH_API_KEY, configured in your OpenClaw settings to enable successful swap quote generation. The installation automatically configures routing logic for cross-chain transactions.
Use Cases
- Portfolio Management: Track positions and TVL across different chains to get a bird's eye view of your assets.
- Yield Optimization: Query DefiLlama pools to find the highest APY for specific assets like USDC or ETH across various protocols.
- Automated Swapping: Retrieve quotes and execute optimal swaps through DEX aggregators, ensuring minimal price impact and gas efficiency.
- Market Analysis: Monitor real-time asset prices via CoinGecko without needing internal custom data feeders.
Example Prompts
- "Check the current yield for USDC pools on Ethereum and list the top 5 by APY."
- "Get a swap quote for 1 ETH to USDC on Arbitrum using 1inch with the configured referral fee."
- "What is the total value locked in Aave currently, and which chains is it deployed on?"
Tips & Limitations
- Safety First: Always verify output amounts before confirming transactions, especially when dealing with high slippage or low-liquidity pairs.
- API Keys: Ensure your 1inch API key is kept secure and updated; free tiers may be subject to rate limiting.
- Slippage: The skill defaults to standard slippage settings, but you may need to adjust these manually during periods of high market volatility.
- Data Freshness: DeFi data is sourced from external APIs; while highly accurate, note that blockchain data propagation can have latency of a few seconds.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-0xterrybit-defi": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
database
Database management and queries. Connect to SQL and NoSQL databases, run queries, and manage schemas.
payment
Payment processing and management. Handle invoices, transactions, and payment gateway integrations.
crypto-wallet
Multi-chain cryptocurrency wallet management. Check balances, send tokens, view transaction history across Ethereum, Solana, Bitcoin and more.
redis
Redis database management. Key-value operations, caching, pub/sub, and data structure commands.
tiktok
TikTok platform integration. Manage videos, view analytics, and track engagement.