morpho-earn
Earn yield on USDC by supplying to the Moonwell Flagship USDC vault on Morpho (Base). Use when depositing USDC, withdrawing from the vault, checking position/APY, or setting up wallet credentials for DeFi yield.
Why use this skill?
Earn yield on USDC with the Moonwell Flagship vault on Base. Automate deposits, withdrawals, and compounding with the Morpho-Earn skill for OpenClaw agents.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lyoungblood/morpho-earnWhat This Skill Does
The morpho-earn skill provides an automated interface for interacting with the Moonwell Flagship USDC vault on the Morpho protocol (Base network). It is designed for users who want to earn sustainable, high-quality yield on their USDC holdings without needing to manually monitor complex DeFi platforms. By leveraging the security of the Moonwell Flagship vault—which powers Coinbase's liquidity and utilizes rigorous, audited smart contracts—this skill allows for seamless deposits, withdrawals, and reward management. It handles the technical complexities of interacting with the Morpho protocol, including reward claiming, token swapping via the Odos aggregator, and re-depositing earnings to maximize compounding returns.
Installation
To install this skill, use the Clawhub CLI within your terminal:
clawhub install openclaw/skills/skills/lyoungblood/morpho-earn
Once installed, navigate to the skill directory located at ~/clawd/skills/morpho-yield/scripts and execute the setup script:
cd ~/clawd/skills/morpho-yield/scripts
npm install
npx tsx setup.ts
The wizard will prompt you to link your wallet (private key or 1Password), define your notification preferences for daily or weekly status reports, and configure your automated compounding thresholds. The installation automatically updates your HEARTBEAT.md file to ensure the OpenClaw agent tracks your position monitoring requirements.
Use Cases
- Yield Farming: Earning passive income on USDC by supplying liquidity to a secure, battle-tested vault.
- Portfolio Monitoring: Frequently checking vault APY, current deposit amounts, and pending reward accruals without manual dashboard navigation.
- Automated Reinvestment: Using the auto-compound feature to periodically claim MORPHO and WELL rewards, swap them for USDC, and reinvest into the vault to achieve a higher effective APY.
- Treasury Management: Withdrawing liquid assets on demand for other investment opportunities or cash flow needs.
Example Prompts
- "OpenClaw, how much USDC do I currently have in the Moonwell vault, and what is my total current APY?"
- "Please deposit 500 USDC into the Morpho vault and show me the confirmation status."
- "Run the compound script now to claim my pending rewards and reinvest them into the vault."
Tips & Limitations
- Gas Costs: Remember that all on-chain transactions require ETH on the Base network for gas fees. Ensure your wallet has sufficient native ETH to cover these costs.
- Security: While the Moonwell vault is highly regarded for its security, always practice caution with wallet keys. Use the built-in configuration for 1Password to avoid storing plain-text private keys.
- Volatility: Rewards (MORPHO and WELL) depend on Merkl distributions, which can fluctuate. The reported APY is an estimate; monitor the dashboard frequently.
- Compounding: Running the auto-compound command frequently is not always gas-efficient; set your compound threshold based on your total accrued rewards to ensure the transaction cost does not outweigh the deposit value.
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-lyoungblood-morpho-earn": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, code-execution