gekko-yield
Earn yield on USDC by supplying to the Moonwell Flagship USDC vault on Base. Use when depositing USDC, withdrawing from the vault, checking position/APY, or generating yield reports.
Best use case
gekko-yield is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Earn yield on USDC by supplying to the Moonwell Flagship USDC vault on Base. Use when depositing USDC, withdrawing from the vault, checking position/APY, or generating yield reports.
Teams using gekko-yield should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/gekkoai-yield/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How gekko-yield Compares
| Feature / Agent | gekko-yield | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Earn yield on USDC by supplying to the Moonwell Flagship USDC vault on Base. Use when depositing USDC, withdrawing from the vault, checking position/APY, or generating yield reports.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Gekko Yield — Earn safe yield on USDC
Earn yield on USDC via the Moonwell Flagship USDC vault on Base.
**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
- **Battle-tested** — Morpho's codebase is <650 lines, immutable, extensively audited
- **Multi-layer governance** — Moonwell DAO + Block Analitica/B.Protocol curators
### Current APY (~4-6%)
| Component | APY | Source |
|-----------|-----|--------|
| Base yield | ~4-5% | Borrower interest |
| Rewards | ~0.5-1% | WELL + MORPHO via Merkl |
| **Total** | **~4.5-6%** | Sustainable, from real demand |
Yields come from real borrowing demand, not unsustainable emissions.
## Quick Start
```bash
cd gekko-yield/scripts
pnpm install # or npm install
npx tsx setup.ts
```
The setup wizard will:
1. Guide you to set your private key as environment variable
2. Save configuration to `~/.config/gekko-yield/config.json`
## Commands
### Interactive Setup
```bash
npx tsx setup.ts
```
Guides you through wallet configuration.
### Check Position & APY
```bash
npx tsx status.ts
```
Returns: current deposit, vault shares, APY, wallet balances, estimated earnings.
### Generate Report
```bash
# Telegram/Discord format (default)
npx tsx report.ts
# JSON format (for automation)
npx tsx report.ts --json
# Plain text
npx tsx report.ts --plain
```
### Deposit USDC
```bash
npx tsx deposit.ts <amount>
# Example: deposit 100 USDC
npx tsx deposit.ts 100
```
Deposits USDC into the Moonwell vault. Handles approval automatically.
### Withdraw
```bash
# Withdraw specific amount of USDC
npx tsx withdraw.ts <amount>
# Withdraw all (redeem all shares)
npx tsx withdraw.ts all
```
### Auto-Compound
```bash
npx tsx compound.ts
```
All-in-one command that:
1. Checks wallet for reward tokens (WELL, MORPHO)
2. Swaps them to USDC via Odos aggregator
3. Deposits the USDC back into the vault
## Configuration
Config location: `~/.config/gekko-yield/config.json`
```json
{
"wallet": {
"source": "env",
"envVar": "PRIVATE_KEY"
},
"rpc": "https://mainnet.base.org"
}
```
## Security
⚠️ **This skill manages real funds. Review carefully:**
- Private keys loaded at runtime from environment variable
- 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
1. **Dedicated wallet** — Create a hot wallet just for this skill
2. **Limited funds** — Only deposit what you're comfortable having in a hot wallet
3. **Keep gas funded** — Maintain small ETH balance on Base for transactions
## Error Handling
| 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` |
| PRIVATE_KEY not set | Missing env var | Set `$env:PRIVATE_KEY="your-key"` |
## Dependencies
Scripts require Node.js 18+. Install deps before first run:
```bash
cd scripts && pnpm install
```
Packages used:
- `viem` — Ethereum interaction
- `tsx` — TypeScript execution
---
**Built by Gekko AI. Powered by ERC-8004.**Related Skills
gekko
AI-powered DeFi portfolio manager for Base network.
gekko-strategist
AI-powered DeFi strategy development agent.
yield-farming-agent
Autonomous yield farming agent for BNB Chain with deterministic execution, smart contract integration.
paylock
Non-custodial SOL escrow for AI agent deals.
agent-reputation
summary: Cross-platform AI agent reputation checker with trust scoring and PayLock escrow recommendations.
Telecom Agent Skill
Turn your AI Agent into a Telecom Operator. Bulk calling, ChatOps, and Field Monitoring.
OpenClaw-Finnhub
OpenClaw skill for real-time stock quote, and financials via Finnhub API.
```markdown
# OpenClaw-Last.fm
security-operator
Runtime security guardrails for OpenClaw agents.
operator-humanizer
Transform AI-generated text into authentic human writing.
kit-email-operator
**AI-powered email marketing for Kit (ConvertKit)**.
agora
Trade prediction markets on Agora — the prediction market exclusively for AI agents. Register, browse markets, trade YES/NO, create markets, earn reputation via Brier scores.