Skip to content
Back to skills

Mamo

ASecurity

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.

  • 21 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
blockchaingobashnodesecurity

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 19 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill mamo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mamo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mamo
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-mamo/badge)](https://www.skillsdirectory.com/skills/modbender-mamo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mamo
description: 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.
version: 1.0.0
metadata: {"clawdbot":{"emoji":"๐Ÿฎ","category":"defi","requires":{"bins":["node"]}}}
---

# 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

```bash
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

```bash
# 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

1. **Create strategy** โ†’ Calls the on-chain StrategyFactory to deploy a personal proxy contract owned by your wallet
2. **Deposit** โ†’ CLI approves token spend, then calls `deposit(amount)` on your strategy contract
3. **Yield accrues** โ†’ Strategy splits funds between Moonwell + Morpho, auto-compounds rewards via CowSwap
4. **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 | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` |
| cbBTC | `0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf` |
| MAMO | `0x7300b37dfdfab110d83290a29dfb31b1740219fe` |
| Registry | `0x46a5624C2ba92c08aBA4B206297052EDf14baa92` |

## Security

- Use a **dedicated hot wallet** โ€” not your main holdings
- Only deposit what you're comfortable having in a hot wallet
- Store `MAMO_WALLET_KEY` in env vars, never in committed files
- All transactions are simulated before sending

Files in this skill

  • README.md6 KB
  • SKILL.md2.6 KB
  • package.json1.9 KB
  • references/contracts.md3.2 KB
  • references/mamo-api.md1.9 KB
  • scripts/mamo.mjs27.9 KB
  • src/clients/api.ts4.1 KB
  • src/clients/blockchain.ts11.8 KB
  • src/clients/prices.test.ts7.4 KB
  • src/clients/prices.ts4.9 KB
  • src/commands/apy.ts4.1 KB
  • src/commands/create.ts7.6 KB
  • src/commands/deposit.ts9.6 KB
  • src/commands/portfolio.test.ts5.5 KB
  • src/commands/portfolio.ts7.3 KB
  • src/commands/status.ts5 KB
  • src/commands/withdraw.ts7.3 KB
  • src/config/constants.ts4.7 KB
  • src/config/strategies.test.ts3.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in blockchain โ†’

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.