Summary
For Everyone
Lend and borrow through Morpho Blue isolated markets and MetaMorpho vaults on Ethereum and Base — your agent manages positions and monitors health factors.
- Deposit to MetaMorpho ERC-4626 vaults to earn optimized yield
- Supply collateral and borrow from isolated Morpho Blue markets with independent risk
- Monitor positions and health factors — the agent warns when approaching liquidation
- Claim Merkl-distributed rewards directly in Onchain OS
SKILL.md
Morpho Blue
Lend and borrow through Morpho Blue's isolated markets and MetaMorpho vaults on Ethereum and Base.
Prerequisites
- OKX Onchain OS and OKX Agentic Wallet connected to Ethereum or Base.
- Hold assets to lend (USDC, DAI, USDT, ETH, etc.) plus ETH for gas fees.
When to Use This Skill
- You want to earn yield by depositing into a managed MetaMorpho vault.
- You want to borrow assets from an isolated market against supplied collateral.
- You want each lending position to carry independent risk — a problem in one market cannot affect another.
- You want to claim accumulated Merkl rewards.
How It Works
Morpho operates in two layers. MetaMorpho vaults are managed ERC-4626 vaults — deposit a single asset and the vault allocates across Morpho Blue markets for you. Your deposit is tracked as vault shares that grow with accrued interest.
Morpho Blue is the base layer of isolated lending markets. Each market has a specific loan token, collateral token, oracle, and liquidation threshold. You supply collateral to a market and borrow against it. The agent monitors your health factor and warns when your position approaches liquidation.
Full repayment uses share-based accounting to avoid dust from interest rounding. Rewards are distributed through Merkl and can be claimed directly.