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.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install morpho-earn或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install morpho-earn⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/morpho-earn/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: morpho-earn description: 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. version: 1.2.0 metadata: {"clawdbot":{"emoji":"🌜🌛","category":"defi","requires":{"bins":["node"]}}} ---
Earn yield on USDC via the Moonwell Flagship USDC vault on Base (Morpho protocol).
Vault: 0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca Chain: Base (8453) Asset: USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)
The Moonwell Flagship USDC vault is one of the safest places to earn yield on Base:
| Component | APY | Source | |-----------|-----|--------| | Base yield | ~4% | Borrower interest | | Rewards | ~0.5-1% | WELL + MORPHO via Merkl | | Total | ~4.5-5% | Sustainable, from real demand |
Yields come from real borrowing demand, not unsustainable emissions. Check current APY with npx tsx status.ts.
cd ~/clawd/skills/morpho-yield/scripts
npm install
npx tsx setup.ts
The setup wizard will:
npx tsx setup.ts
Guides you through wallet configuration and preferences.
npx tsx status.ts
Returns: current deposit, vault shares, APY, wallet balances.
# Telegram/Discord format (default)
npx tsx report.ts
# JSON format (for automation)
npx tsx report.ts --json
# Plain text
npx tsx report.ts --plain
Beautiful formatted report showing position, rewards, and estimated earnings.
npx tsx deposit.ts <amount>
# Example: deposit 100 USDC
npx tsx deposit.ts 100
Deposits USDC into the Moonwell vault. Requires sufficient USDC balance and gas (ETH on Base).
# Withdraw specific amount of USDC
npx tsx withdraw.ts <amount>
# Withdraw all (redeem all shares)
npx tsx withdraw.ts all
npx tsx rewards.ts
Returns: claimable MORPHO, WELL, and other reward tokens from Merkl.
npx tsx rewards.ts claim
Claims all pending rewards from Merkl distributor to your wallet.
npx tsx compound.ts
All-in-one command that:
After setup, your agent monitors the position based on deposit size:
| Deposit Size | Compound Check | Rationale | |--------------|----------------|-----------| | $10,000+ | Daily | Large positions accumulate meaningful rewards quickly | | $1,000-$10,000 | Every 3 days | Balance between gas costs and reward accumulation | | $100-$1,000 | Weekly | Small rewards need time to exceed gas costs | | <$100 | Bi-weekly | Minimal positions, compound only when worthwhile |
The agent will:
Config location: ~/.config/morpho-yield/config.json
{
"wallet": {
"source": "file",
"path": "~/.clawd/vault/morpho.key"
},
"rpc": "https://rpc.moonwell.fi/main/evm/8453"
}
Preferences: ~/.config/morpho-yield/preferences.json
{
"reportFrequency": "weekly",
"compoundThreshold": 0.50,
"autoCompound": true
}
⚠️ This skill manages real funds. Review carefully:
The vault earns rewards beyond base APY via Merkl:
Rewards update approximately every 8 hours. The compound.ts script handles:
| Error | Cause | Fix | |-------|-------|-----| | Insufficient USDC | Not enough USDC in wallet | Bridge/transfer more USDC to Base | | Insufficient gas | Not enough ETH for tx | Add ETH to wallet on Base | | Wallet not configured | Missing config | Run npx tsx setup.ts | | RPC error | Network issues | Check RPC URL or try again | | Swap reverted | Gas underestimate | Script auto-adds 50% buffer |
Scripts require Node.js 18+. Install deps before first run:
cd scripts && npm install
Packages used:
viem — Ethereum interactiontsx — TypeScript execution安装 Morpho Earn - earn safe yield on your USDC on Base 后,可以对 AI 说这些话来触发它
Help me get started with Morpho Earn - earn safe yield on your USDC on Base
Explains what Morpho Earn - earn safe yield on your USDC on Base does, walks through the setup, and runs a quick demo based on your current project
Use Morpho Earn - earn safe yield on your USDC on Base to earn yield on USDC by supplying to the Moonwell Flagship USDC vault...
Invokes Morpho Earn - earn safe yield on your USDC on Base with the right parameters and returns the result directly in the conversation
What can I do with Morpho Earn - earn safe yield on your USDC on Base in my finance & investment workflow?
将技能文件夹放到 ~/.claude/skills/morpho-earn/ 目录(个人级,所有项目可用),或 .claude/skills/morpho-earn/(项目级)。重启 AI 客户端后,用 /morpho-earn 主动调用,或让 AI 根据上下文自动发现并使用。
Morpho Earn - earn safe yield on your USDC on Base 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Morpho Earn - earn safe yield on your USDC on Base 可免费安装使用。请查阅仓库了解许可证信息。
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.
Lists the top use cases for Morpho Earn - earn safe yield on your USDC on Base, with example commands for each scenario
Automate my finance & investment tasks using Morpho Earn - earn safe yield on your USDC on Base
Identifies repetitive steps in your workflow and sets up Morpho Earn - earn safe yield on your USDC on Base to handle them automatically
Morpho Earn - earn safe yield on your USDC on Base 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。