DeFi Yield Optimizer for Openclaw

An advanced AI skill for optimizing DeFi yields across major protocols like AAVE, Compound, and Curve with integrated risk management and auto-rebalancing.

sa9saq
v1.0.1
Feb 11, 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-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-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 professional-grade technical skill designed for Openclaw Skills users to automate decentralized finance investment strategies. It specializes in maximizing risk-adjusted APY by navigating ecosystems like AAVE, Compound, MakerDAO, and Yearn. The skill prioritizes principal protection through rigorous health factor monitoring and gas fee efficiency, ensuring that monthly profits consistently outweigh operational costs.

Built for both stability and growth, this skill synthesizes market data to execute safe stablecoin strategies and complex yield farming workflows. It operates with a sophisticated permission system, ranging from autonomous monitoring to supervisor-required approvals for high-value transactions, making it an essential tool for developers and investors managing on-chain assets.

DeFi Yield Optimizer Use Cases

  • Automating passive income generation through stablecoin lending on Tier 1 protocols like AAVE.
  • Managing liquid staking positions using stETH and leveraging collateral to optimize ETH-based returns.
  • Executing automated portfolio rebalancing when protocol APY spreads deviate by more than 2%.
  • Protecting assets from liquidation by monitoring Health Factors and triggering emergency alerts during market volatility.

How DeFi Yield Optimizer Works

  1. The skill initiates a mandatory balance and safety check before any operation to ensure sufficient funds and gas.
  2. It analyzes real-time protocol data across Tiers 1, 2, and 3 to identify the best yield opportunities based on the user's risk profile.
  3. A strategy plan is generated, detailing expected APY, asset allocation, and potential smart contract risks.
  4. For operations exceeding specific thresholds (e.g., $100+), the skill requests supervisor approval through the integrated Openclaw Skills workflow.
  5. Upon approval, it executes transactions via connected wallet skills and monitors the transaction until confirmation.
  6. Post-execution, it provides a detailed report including the new position status and updated portfolio analytics.

DeFi Yield Optimizer Setup

To deploy the DeFi Yield Optimizer, ensure you have a compatible wallet skill configured. Install and initialize the skill using the following steps:

# Install the defi-optimizer skill
openclaw install defi-optimizer

# Configure your risk tolerance and target protocols
openclaw config defi-optimizer --strategy stablecoin-conservative --min-hf 1.5

You must also authorize the supervisor role for transactions exceeding your set safety limits.

DeFi Yield Optimizer Data Schema & Taxonomy

The skill organizes its operational data and performance tracking using a structured schema to ensure transparency in yield reporting:

Data Component Description Metadata Tracked
Position Tracker Real-time status of all locked assets Protocol, APY, Principal, Rewards
Risk Metrics Safety indicators for lending Health Factor, Liquidation Price, LTV
Performance Logs Historical gain/loss data Gas Fees, Net Profit, Cumulative APY
Strategy Registry Configured investment templates Low/Med/High Risk parameters

DeFi Yield Optimizer Advanced Features

  • Intelligent gas fee optimization that delays non-urgent rebalancing until network costs drop below $10.
  • Multi-tier protocol classification that restricts capital flow into un-audited or low-TVL platforms without explicit double-confirmation.
  • Automated batch processing for claiming rewards across multiple protocols in a single transaction to minimize overhead.
  • Real-time de-peg detection for stablecoins, triggering immediate diversification to preserve capital value.
  • Cross-skill integration with deep research agents to analyze new DeFi protocols before proposing allocations.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*