← Back to Skills Marketplace
lyoungblood

Morpho Earn - earn safe yield on your USDC on Base

by lyoungblood · GitHub ↗ · v1.2.0
cross-platform ⚠ suspicious
1815
Downloads
1
Stars
3
Active Installs
1
Versions
Install in OpenClaw
/install 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.
Usage Guidance
This skill appears to implement the described Morpho/Moonwell automation, but it operates on real funds and relies on external services to construct and sign transactions. Before installing: - Review the code (especially scripts/config.ts, simulateAndWrite/verifyContracts, and the Odos assemble usage) to ensure they do exactly what you expect. - Use a dedicated hot wallet with only a small amount of USDC/ETH for testing — never your main wallet. - Test read-only commands first (status.ts, report.ts) before running any claim/compound operations. - If you plan to use 1Password integration, ensure the 'op' CLI is available (the skill doesn’t declare it). - Understand that the Odos assemble/quote endpoints return transaction payloads your wallet will sign — if Odos or the network between you and Odos is compromised it could return malicious tx data. Consider replacing or verifying aggregator responses locally where possible. - Verify the RPC endpoints (default is moonwell's RPC) and prefer your own trusted RPC provider. - If you want lower risk, disable autoCompound and require manual approval for claim/swap/deposit actions. If you want, I can: (1) point to the exact lines/functions to audit (simulateAndWrite, assembleOdosTransaction, verifyContracts), (2) summarize where private keys are read and stored, or (3) produce a short checklist to harden usage (file perms, environment variables, manual approval).
Capability Analysis
Type: OpenClaw Skill Name: morpho-earn Version: 1.2.0 The skill is designed for managing DeFi yield on the Morpho protocol. It handles private keys securely (supporting file, environment variable, and 1Password with `op read`), performs on-chain transactions (deposit, withdraw, compound, claim rewards), and interacts with legitimate DeFi APIs (Merkl, Odos, Morpho API, Coingecko). Key security features include transaction simulation, contract address verification, input sanitization in `setup.ts`, and local transaction logging. Markdown files (`SKILL.md`, `CLAUDE.md`, `README.md`) provide clear instructions for the AI agent and users, without any evidence of prompt injection attempts to deviate from the stated purpose or exfiltrate sensitive data. All network and file system access is directly related to the skill's functionality.
Capability Assessment
Purpose & Capability
The skill's code and instructions align with the stated purpose: it reads wallet balances, claims Merkl-distributed rewards, swaps them via Odos, and deposits into the Moonwell/Morpho vault on Base. There's no request for unrelated cloud credentials or services. Minor mismatch: SKILL metadata only lists 'node' as a required binary, yet the README and setup mention optional 1Password integration (which requires the 'op' CLI) and environment-variable wallet sources.
Instruction Scope
Runtime instructions and scripts will load private keys (from a file, env var, or 1Password), write config/preferences to ~/.config/morpho-yield/, and optionally append a HEARTBEAT.md entry under ~/clawd/HEARTBEAT.md. The scripts call external HTTP APIs (Merkl, Odos, CoinGecko, and an RPC) and will assemble and submit transactions returned or suggested by those services. Executing transactions created or assembled by remote services (Odos 'assemble' endpoint) means a compromised remote service or manipulated response could cause undesired on-chain transactions — this is expected behavior for an auto‑compound script but is a noteworthy operational risk.
Install Mechanism
There is no remote installer that downloads arbitrary binaries from unknown hosts. The project is Node/TypeScript based and uses npm packages (viem, tsx etc.) from the public registry — typical for this kind of project. No unusual download URLs or extract/install steps were observed in the provided files.
Credentials
The skill does not declare required env vars in registry metadata, which is reasonable because wallet configuration is optional/interactive. However the scripts support reading a private key from an environment variable (e.g. MORPHO_PRIVATE_KEY) and 1Password integration (requires 'op' CLI) — these are not declared as required. The requested secrets (private key) are proportional to the stated functionality, but they are highly sensitive and the user must supply them. Ensure you only use a dedicated hot wallet with limited funds.
Persistence & Privilege
always is false and the skill does not request system-wide privileges. It writes its own config (~/.config/morpho-yield/) and can optionally modify ~/clawd/HEARTBEAT.md; that is reasonable for the stated monitoring integration. Important: if you enable autoCompound and allow the agent to invoke skills autonomously, the agent will be able to sign and submit transactions from the configured wallet (autonomous execution combined with wallet access increases blast radius).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install morpho-earn
  3. After installation, invoke the skill by name or use /morpho-earn
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
Initial public release of morpho-earn — earn safe yield on USDC through the Moonwell Flagship vault on Morpho (Base). - Supply USDC, withdraw, check position/APY, and manage wallet setup for DeFi yield accrual. - Automated reward claiming, compounding, and wallet monitoring, including dynamic reporting and alerts. - Security-focused: local wallet configuration, simulated transactions, and user previews. - Supports detailed command-line reports and flexible auto-compounding rules based on position size. - Requires Node.js 18+ and installation of dependencies before use.
Metadata
Slug morpho-earn
Version 1.2.0
License
All-time Installs 3
Active Installs 3
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1815 downloads so far.

How do I install Morpho Earn - earn safe yield on your USDC on Base?

Run "/install morpho-earn" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Morpho Earn - earn safe yield on your USDC on Base free?

Yes, Morpho Earn - earn safe yield on your USDC on Base is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Morpho Earn - earn safe yield on your USDC on Base support?

Morpho Earn - earn safe yield on your USDC on Base is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Morpho Earn - earn safe yield on your USDC on Base?

It is built and maintained by lyoungblood (@lyoungblood); the current version is v1.2.0.

💬 Comments