Professional DeFi yield farming optimizer for tracking and optimizing yields across multiple chains and protocols. Use when user needs to discover high-yield...
--- name: defi-yield-optimizer description: Professional DeFi yield farming optimizer for tracking and optimizing yields across multiple chains and protocols. Use when user needs to discover high-yield DeFi opportunities, track portfolio performance, calculate ROI, and manage yield farming strategies across Ethereum, Polygon, BSC, Arbitrum, Optimism, and other EVM chains. --- # DeFi Yield Farming Optimizer ## Quick Start Professional-grade DeFi yield farming tool for discovering, tracking, and optimizing yields across multiple chains and protocols with automated ROI calculations, risk assessment, and portfolio management. ## When to Use This Skill Use this skill when you need to: - Discover high-yield DeFi opportunities across chains - Track yield farming portfolio performance in real-time - Calculate accurate ROI and APY metrics - Compare protocols and identify best yields - Manage yield farming strategies with risk assessment - Monitor impermanent loss exposure - Optimize gas fees and transaction timing ## Core Features ### Yield Discovery - **Multi-chain scanning** across Ethereum, Polygon, BSC, Arbitrum, Optimism, Avalanche, and more - **Protocol coverage** including Aave, Compound, Curve, Yearn, Lido, Uniswap, PancakeSwap, and 100+ others - **Real-time yield updates** with live APY/APR data - **Risk categorization** by protocol, chain, and liquidity depth - **Impermanent loss calculation** for liquidity pools ### Portfolio Tracking - **Multi-position portfolio management** across chains and protocols - **Real-time value tracking** with current prices and yields - **Performance analytics** with historical returns and growth charts - **Gas optimization** suggestions for optimal transaction timing - **Yield history** with daily, weekly, monthly metrics ### Risk Management - **Protocol risk scoring** based on TVL, age, audits, and governance - **Chain risk assessment** for network congestion and bridge issues - **Smart contract analysis** for audit status and exploit history - **Liquidity depth evaluation** for entry/exit capacity - **Impermanent loss tracking** and warnings ### Analytics & Reporting - **Daily yield reports** with portfolio performance - **ROI calculations** including gas fees, rewards, and compounding - **Yield optimization suggestions** based on market conditions - **Historical performance** tracking and trend analysis - **Export capabilities** to CSV, JSON, or spreadsheet formats ## Usage ### Basic Discovery ``` Find best DeFi yields for stablecoins on Ethereum mainnet ``` ### Portfolio Management ``` Track my yield farming portfolio across all chains Generate performance report for last 30 days ``` ### Risk Analysis ``` Analyze risk for Aave USDC pool on Ethereum Calculate impermanent loss exposure for my Curve positions ``` ### Yield Comparison ``` Compare yields for ETH staking across all available protocols Find best yield for my risk tolerance and investment amount ``` ## Supported Chains - **Ethereum** - Mainnet with full DeFi ecosystem - **Polygon** - Low gas fees, high yields - **Binance Smart Chain (BSC)** - Asian markets, BEP20 tokens - **Arbitrum** - Ethereum L2, low costs - **Optimism** - Ethereum L2, major protocols - **Avalanche** - Fast finality, unique protocols - **Fantom** - Ultra-low gas fees - **Solana** - High speed, different yield mechanics - **L2 Networks** - zkSync, StarkNet, Polygon zkEVM ## Supported Protocols ### Lending & Borrowing - Aave, Compound, dYdX, Benqi, Fortress, Fulcru, Venus ### Yield Aggregators - Yearn, Beefy Finance, AutoFarm, Harvest Finance ### DEX & AMM - Uniswap, Curve, PancakeSwap, SushiSwap, QuickSwap, TraderJoe ### Liquidity Staking - Convex, Staked AAVE, SushiSwap LP, Curve LP, PancakeSwap LP ### Bridges & Cross-Chain - AnySwap, Hop Protocol, Synapse, Multichain, Stargate ## Setup & Prerequisites ### Account Requirements - Crypto wallet (MetaMask, Trust Wallet, Rabby, or hardware wallet) - Small ETH/BSC/POL gas reserve for transactions - Connection to yield data APIs (free tier available) ### Initial Setup ``` Connect to my DeFi portfolio and scan current positions Set risk tolerance preferences and minimum yield thresholds Configure chain access for each network I use ``` ## Advanced Features ### Yield Optimization - **Auto-compound detection** for protocols offering auto-compound - **Yield farming alerts** when better opportunities emerge - **Gas timing optimization** suggesting optimal transaction windows - **Portfolio rebalancing** recommendations based on yield changes ### Security Features - **Protocol audit tracking** - shows last audit date and findings - **Smart contract monitoring** for exploit alerts and warnings - **TVL threshold alerts** when liquidity drops significantly - **Governance proposal tracking** for protocol changes ### Portfolio Analytics - **Win/loss tracking** by protocol, chain, and timeframe - **Gas cost analysis** to calculate net ROI - **Yield stability scoring** to identify volatile vs stable yields - **Diversification analysis** showing portfolio concentration risk ## Output Formats ### Daily Yield Report ``` Portfolio Value: $45,231.23 Daily Change: +$342.45 (+0.76%) Best Yield: Curve 3CRV LP @ 12.4% APY Worst Yield: Venus USDC @ 3.1% APY Gas Fees Today: $23.45 ``` ### Risk Assessment ``` Protocol Risk Score: 3.2/10 (Moderate) TVL Coverage: $1.2B (High liquidity) Audit Status: Passed (Last audit: 14 days ago) Impermanent Loss Risk: Low (0.8% historical) Chain Risk: Low (Ethereum mainnet) ``` ## Risk Management ### Yield vs Risk Categories | Risk Level | APY Range | Protocols | Liquidity | |------------|-------------|------------|-------------| | **Conservative** | 2-8% | Aave, Compound, Lido | $10B+ TVL | | **Moderate** | 8-20% | Yearn, Curve, Uniswap LP | $1-10B TVL | | **Aggressive** | 20-50% | New protocols, new chains | $100M-1B TVL | | **DeFi Native** | 50-200% | New liquidity, farming | <$100M TVL | ### Security Best Practices - **Never invest more than you can lose** - DeFi is high risk - **Verify protocol audits** before investing - **Check TVL depth** - ensure you can exit position - **Monitor gas fees** - high gas kills profits - **Track impermanent loss** - understand LP risks - **Diversify across protocols** - concentration risk ## Getting Started ### 1. Connect Wallet ``` Connect my DeFi wallet for yield discovery ``` ### 2. Discover Opportunities ``` Show me best DeFi yields for my investment amount Filter by risk tolerance and preferred chains ``` ### 3. Analyze & Compare ``` Compare Aave vs Compound yields for stablecoins Calculate expected ROI including gas fees ``` ### 4. Track Portfolio ``` Track my current yield farming positions Generate performance report and optimization suggestions ``` ## Troubleshooting ### Low Yield Discovery 1. Verify wallet is connected correctly 2. Check that chains are accessible 3. Ensure sufficient gas for queries 4. Try different timeframes (current yields vs 7-day average) ### Gas Fee Issues 1. Use L2 chains for lower costs 2. Time transactions during low gas periods 3. Check gas price trackers for optimal windows 4. Consider transaction batching ### TVL Concerns 1. Never invest in pools under $100K TVL 2. Check liquidity depth for your position size 3. Look for rug pull indicators in new protocols 4. Verify protocol age and team reputation ## Pricing & Features ### Premium Tiers (via ClawHub subscription) | Feature | Basic | Professional | Enterprise | |---------|--------|-------------|-------------| | Chains Supported | 3 chains | All 8+ chains | Custom chain support | | Protocols Tracked | 50+ | 100+ | Custom protocols | | Real-time Updates | 15-minute delay | 1-minute updates | Live data | | Risk Scoring | Basic | Advanced | Custom risk models | | Portfolio Size | $10K max | $100K max | Unlimited | | Alerts | Email | Email + SMS | Custom webhooks | | Support | Community | Priority | Dedicated | ## Data Sources & APIs - **DeFi Llama API** - Comprehensive yield data - **Defi Pulse** - TVL and protocol metrics - **Etherscan & Explorers** - Gas prices and transaction data - **Protocol APIs** - Direct protocol yield rates - **Chain APIs** - Network status and fees ## Quality & Reliability - **Multi-source validation** - cross-check yield data - **Risk-adjusted returns** - account for protocol risk - **Real-time error handling** - handle API failures gracefully - **Portfolio reconciliation** - verify on-chain positions - **Historical accuracy** - track yield performance over time ## Getting Help For advanced features and customization: - [DeFi Yield Strategy Guide](references/yield-strategies.md) - [Risk Assessment Framework](references/risk-scoring.md) - [Chain Gas Optimization](references/gas-optimization.md) - [Portfolio Rebalancing](references/rebalancing.md)
don't have the plugin yet? install it then click "run inline in claude" again.