Skills mamo
Interact with Mamo DeFi yield strategies on Base (Moonwell). Deposit/withdraw USDC, cbBTC, MAMO, or ETH into automated yield strategies. Check APY rates and account status.
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/anajuliabit/mamo" ~/.claude/skills/clawdbot-skills-mamo && rm -rf "$T"
manifest:
skills/anajuliabit/mamo/SKILL.mdsource content
Mamo — DeFi Yield Aggregator (Moonwell on Base)
Mamo is a DeFi yield aggregator built by Moonwell on Base chain. It deploys per-user smart contracts that split deposits between Moonwell core markets and Morpho vaults for optimized yield, with auto-compounding of rewards.
Chain: Base (8453) Strategies: USDC stablecoin, cbBTC lending, ETH lending, MAMO staking
Setup
cd ~/clawd/skills/mamo/scripts # or wherever this skill lives npm install export MAMO_WALLET_KEY=0x... # wallet private key export MAMO_RPC_URL=https://... # optional, defaults to Base public RPC
Commands
# Create a yield strategy (deploys your personal strategy contract via on-chain factory) node mamo.mjs create usdc_stablecoin node mamo.mjs create cbbtc_lending node mamo.mjs create eth_lending # Deposit tokens (approve + deposit to your strategy contract) node mamo.mjs deposit 100 usdc node mamo.mjs deposit 0.5 cbbtc # Withdraw tokens node mamo.mjs withdraw 50 usdc node mamo.mjs withdraw all cbbtc # Account overview — wallet balances + strategy positions node mamo.mjs status # Current APY rates node mamo.mjs apy node mamo.mjs apy usdc_stablecoin
How It Works
- Create strategy → Calls the on-chain StrategyFactory to deploy a personal proxy contract owned by your wallet
- Deposit → CLI approves token spend, then calls
on your strategy contractdeposit(amount) - Yield accrues → Strategy splits funds between Moonwell + Morpho, auto-compounds rewards via CowSwap
- Withdraw → Only the owner (your wallet) can withdraw. Funds go directly to your wallet
Strategy addresses are stored locally in
~/.config/mamo/strategies.json (the on-chain registry may not be updated for user-created strategies).
Key Addresses
| Token | Address |
|---|---|
| USDC | |
| cbBTC | |
| MAMO | |
| Registry | |
Security
- Use a dedicated hot wallet — not your main holdings
- Only deposit what you're comfortable having in a hot wallet
- Store
in env vars, never in committed filesMAMO_WALLET_KEY - All transactions are simulated before sending