DeFi Yield Optimizer for Openclaw

A sophisticated DeFi tool for comparing cross-protocol yields and automating rebalancing strategies to maximize crypto APY.

mosonchan2023
v1.0.1
Mar 7, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install defi-yield-optimizer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install defi-yield-optimizer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is DeFi Yield Optimizer?

The DeFi Yield Optimizer is a specialized tool designed for high-efficiency capital management within the decentralized finance ecosystem. By integrating with Openclaw Skills, this agent provides real-time monitoring and comparison of yields across major protocols like Aave, Compound, Curve, and Yearn. It empowers users to move beyond manual searching, offering data-driven insights to identify the best yield farming opportunities while considering risk-adjusted returns and liquidity constraints.

This skill bridges the gap between complex blockchain data and actionable financial intelligence. Whether you are managing stablecoins or volatile assets, the optimizer ensures your capital is working at its highest potential by continuously scanning for the most lucrative liquidity and staking opportunities available in the market.

DeFi Yield Optimizer Use Cases

  • Monitoring real-time APY for stablecoins like USDC, USDT, and DAI across multiple lending platforms.
  • Comparing risk-adjusted returns between various liquidity pools and yield aggregators.
  • Automating the calculation of projected returns over specific timeframes, such as 30 or 90-day estimates.
  • Identifying gas-optimized entry points for yield farming and liquidity provision.
  • Developing a passive income strategy through automated protocol switching.

How DeFi Yield Optimizer Works

  1. The skill is triggered when a user requests yield data, farming strategies, or APY comparisons.
  2. It connects to live data feeds from major DeFi protocols including Aave, Compound, Curve, and Yearn.
  3. The engine performs a cross-protocol analysis to rank the best-performing pools based on current APY and risk factors.
  4. It calculates potential earnings based on the user's principal amount and desired investment duration.
  5. The tool provides a structured output of the best protocol recommendations and alternative options for diversification.
  6. Each execution is handled via SkillPay, ensuring a low-cost, pay-per-use model for the user.

DeFi Yield Optimizer Setup

To deploy this tool within the framework of Openclaw Skills, you must configure your environment with the required payment credentials. Use the following command to set up your API key:

export SKILLPAY_API_KEY="your_skillpay_api_key_here"

Ensure that your agent environment has access to this variable to process the 0.001 USDT fee per call.

DeFi Yield Optimizer Data Schema & Taxonomy

The optimizer returns data in a structured format to help agents and users make informed decisions. Below is the metadata taxonomy for responses:

Attribute Description
success Indicates if the yield comparison was successful.
bestProtocol The name of the protocol offering the highest current yield.
apy The specific annual percentage yield for the top-ranked protocol.
alternatives A list of other protocols, their APYs, and secondary options.
risk_level (Advanced) An assessment of the smart contract and liquidity risk.

DeFi Yield Optimizer Advanced Features

  • Multi-protocol yield monitoring across Aave, Compound, Curve, and Yearn simultaneously.
  • Real-time APY leaderboard for quick comparison of the most profitable assets.
  • Automated rebalancing recommendations to shift funds to higher-yielding protocols.
  • Gas cost optimization to ensure that moving funds doesn't negate the yield gains.
  • Seamless integration with SkillPay for micro-transaction based access to high-tier financial data.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*