# Send Morpho Earn - earn safe yield on your USDC on Base to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "morpho-earn",
    "name": "Morpho Earn - earn safe yield on your USDC on Base",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/lyoungblood/morpho-earn",
    "canonicalUrl": "https://clawhub.ai/lyoungblood/morpho-earn",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/morpho-earn",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=morpho-earn",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "package.json",
      "SKILL.md",
      "CLAUDE.md",
      "scripts/status.ts",
      "scripts/report.ts"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "morpho-earn",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T10:55:39.169Z",
      "expiresAt": "2026-05-07T10:55:39.169Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=morpho-earn",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=morpho-earn",
        "contentDisposition": "attachment; filename=\"morpho-earn-1.2.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "morpho-earn"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/morpho-earn"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/morpho-earn",
    "downloadUrl": "https://openagent3.xyz/downloads/morpho-earn",
    "agentUrl": "https://openagent3.xyz/skills/morpho-earn/agent",
    "manifestUrl": "https://openagent3.xyz/skills/morpho-earn/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/morpho-earn/agent.md"
  }
}
```
## Documentation

### Morpho Earn — Earn safe yield on your USDC

Earn yield on USDC via the Moonwell Flagship USDC vault on Base (Morpho protocol).

Vault: 0xc1256Ae5FF1cf2719D4937adb3bbCCab2E00A2Ca
Chain: Base (8453)
Asset: USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)

### Why This Vault?

The Moonwell Flagship USDC vault is one of the safest places to earn yield on Base:

Powers Coinbase — Provides $20M+ liquidity to Coinbase's BTC/ETH borrow products
Blue-chip collateral only — Loans backed by ETH, cbETH, wstETH, cbBTC
Conservative LTV ratios — Healthy collateral requirements
Isolated markets — Risk is compartmentalized
No rehypothecation — Your USDC isn't lent recursively
Battle-tested — Morpho's codebase is <650 lines, immutable, extensively audited
Multi-layer governance — Moonwell DAO + Block Analitica/B.Protocol curators + Security Council

### Current APY (~4.5-5%)

ComponentAPYSourceBase yield~4%Borrower interestRewards~0.5-1%WELL + MORPHO via MerklTotal~4.5-5%Sustainable, from real demand

Yields come from real borrowing demand, not unsustainable emissions. Check current APY with npx tsx status.ts.

### Quick Start

cd ~/clawd/skills/morpho-yield/scripts
npm install
npx tsx setup.ts

The setup wizard will:

Configure your wallet (private key file, env var, or 1Password)
Ask your notification preferences (daily/weekly reports)
Set compound threshold and auto-compound preference
Add monitoring to HEARTBEAT.md automatically

### Interactive Setup

npx tsx setup.ts

Guides you through wallet configuration and preferences.

### Check Position & APY

npx tsx status.ts

Returns: current deposit, vault shares, APY, wallet balances.

### Generate Report

# 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.

### Deposit USDC

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

# Withdraw specific amount of USDC
npx tsx withdraw.ts <amount>

# Withdraw all (redeem all shares)
npx tsx withdraw.ts all

### Check Rewards

npx tsx rewards.ts

Returns: claimable MORPHO, WELL, and other reward tokens from Merkl.

### Claim Rewards

npx tsx rewards.ts claim

Claims all pending rewards from Merkl distributor to your wallet.

### Auto-Compound

npx tsx compound.ts

All-in-one command that:

Claims any pending rewards from Merkl
Swaps reward tokens (MORPHO, WELL) to USDC via Odos aggregator
Deposits the USDC back into the vault

### Heartbeat Integration

After setup, your agent monitors the position based on deposit size:

Deposit SizeCompound CheckRationale$10,000+DailyLarge positions accumulate meaningful rewards quickly$1,000-$10,000Every 3 daysBalance between gas costs and reward accumulation$100-$1,000WeeklySmall rewards need time to exceed gas costs<$100Bi-weeklyMinimal positions, compound only when worthwhile

The agent will:

Check reward balances at the appropriate frequency
Compound when rewards exceed your threshold (default: $0.50)
Send position reports (daily/weekly based on preference)
Alert you if gas is running low

### Configuration

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
}

### Security

⚠️ This skill manages real funds. Review carefully:

Private keys loaded at runtime from your chosen source
Keys never logged or written to disk by scripts
All transactions simulated before execution
Contract addresses verified on each run
Scripts show transaction preview before sending

### Recommended Setup

Dedicated wallet — Create a hot wallet just for this skill
Limited funds — Only deposit what you're comfortable having in a hot wallet
Secure key storage — Use encrypted file or 1Password
Monitor activity — Periodically check wallet transactions
Keep gas funded — Maintain small ETH balance on Base for transactions

### Rewards

The vault earns rewards beyond base APY via Merkl:

WELL — Moonwell governance token incentives
MORPHO — Morpho protocol incentives

Rewards update approximately every 8 hours. The compound.ts script handles:

Claiming rewards from Merkl distributor
Swapping tokens to USDC via Odos aggregator
Depositing USDC back into the vault

### Error Handling

ErrorCauseFixInsufficient USDCNot enough USDC in walletBridge/transfer more USDC to BaseInsufficient gasNot enough ETH for txAdd ETH to wallet on BaseWallet not configuredMissing configRun npx tsx setup.tsRPC errorNetwork issuesCheck RPC URL or try againSwap revertedGas underestimateScript auto-adds 50% buffer

### Dependencies

Scripts require Node.js 18+. Install deps before first run:

cd scripts && npm install

Packages used:

viem — Ethereum interaction
tsx — TypeScript execution
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: lyoungblood
- Version: 1.2.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T10:55:39.169Z
- Expires at: 2026-05-07T10:55:39.169Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/morpho-earn)
- [Send to Agent page](https://openagent3.xyz/skills/morpho-earn/agent)
- [JSON manifest](https://openagent3.xyz/skills/morpho-earn/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/morpho-earn/agent.md)
- [Download page](https://openagent3.xyz/downloads/morpho-earn)