defi-optimizer
DeFi yield optimization with AAVE, Compound, Curve, Yearn. Safe stablecoin strategies, risk management, auto-rebalancing. High risk - requires supervisor approval.
Why use this skill?
Optimize your DeFi yield with AAVE, Compound, and Yearn using OpenClaw. Features automated risk management, gas-aware strategies, and secure, auditor-friendly investment flows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/sa9saq/defi-optimizerWhat This Skill Does
The defi-optimizer skill is a robust automation toolkit designed for the OpenClaw agent to manage decentralized finance (DeFi) portfolios. It integrates with industry-leading protocols like AAVE, Compound, Curve, and Yearn to provide yield optimization, automatic rebalancing, and professional-grade risk management. The agent acts as an automated portfolio manager that monitors Health Factors, calculates gas costs, and suggests or executes trades to maximize APY while strictly adhering to user-defined risk profiles. It supports various strategies ranging from stablecoin supply to advanced yield-boosting in liquidity pools.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/sa9saq/defi-optimizer
Use Cases
- Passive Income Generation: Automatically move stablecoin holdings into the highest-yielding verified protocols (AAVE, Compound, MakerDAO).
- Risk-Managed Borrowing: Manage collateralized debt positions with automated Health Factor monitoring to prevent liquidation.
- Yield Compounding: Periodically claim and reinvest protocol rewards to maximize the effects of compound interest over time.
- Portfolio Rebalancing: Execute strategic shifts between Tier 1, Tier 2, and Tier 3 protocols based on market conditions and capital size.
Example Prompts
- "Analyze my current AAVE positions and suggest a rebalance if I can increase my APY by more than 2% without lowering my Health Factor below 1.8."
- "What is the most secure way to earn 5% APY on $2,000 worth of USDC right now using my current wallet?"
- "Summarize my monthly DeFi performance, showing total rewards earned versus gas fees spent across all protocols."
Tips & Limitations
- Safety First: Always start with small amounts. The agent is configured with an 'Approval Level' system; requests over $1,000 or high-risk operations require explicit manual authorization from a supervisor.
- Gas Awareness: The skill calculates potential profit against current gas prices. If the gas cost exceeds monthly expected returns, the agent will warn you against executing the transaction.
- Tiered Security: We categorize protocols by TVL and audit history. Stick to 'Tier 1' protocols for long-term, stable capital preservation. Avoid 'Tier 3' protocols unless you are an advanced user fully aware of smart contract and de-pegging risks.
- Responsibility: DeFi involves inherent smart contract risks. The agent assists with decision-making, but all financial transactions are ultimately the user's responsibility.
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-sa9saq-defi-optimizer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api, code-execution
Related Skills
threat-model
Threat modeling and attack scenario design. Identify risks before they become vulnerabilities. STRIDE, attack trees, risk matrix.
Sns Auto Poster
Schedule and automate social media posts to X/Twitter with cron-based queue management.
security-review
Comprehensive security review for code, configs, and operations. OWASP, prompt injection, crypto security. Auto-triggers on security-related changes.
Process Monitor
Monitor system processes, identify top CPU/memory consumers, and alert on resource thresholds.
Readme Generator
Auto-generate comprehensive README.md files by analyzing project structure and configuration.