yield-optimization
Multi-chain yield optimization via yield.xyz (StakeKit).
Skill by moonpay
Chalk Labs
Need help deploying yield-optimization?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/moonpay-yield-optimization
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/yield-optimization
What's inside
- Skill name
yield-optimization- Description
- Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit/withdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter/exit a position, or check portfolio balances.
- License
- MIT
- Instructions
- 200 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# yield.xyz — Multi-Chain Yield Optimization
## Overview
yield.xyz (powered by StakeKit) aggregates 2,988+ yield opportunities across 75+ blockchains — lending, staking, vaults, restaking, and liquidity pools. The agent skill uses shell scripts to discover yields, build unsigned transactions, and sign them with your MoonPay wallet.
```
find-yields.sh → discover opportunities by chain + token
enter-position.sh → build unsigned deposit transaction
mp transaction send → sign and broadcast with MoonPay wallet
check-portfolio.sh → monitor balances and pending rewards
exit-position.sh → build unsigned withdrawal transaction
```
## Prerequisites
```bash
# curl and jq (required)
which curl jq
# MoonPay CLI for wallet + signing
npm install -g @moonpay/cli
mp login
export YIELDS_API_KEY="..." # optional: get one at https://dashboard.yield.xyz
```
## Installation
```bash
npx clawhub@latest install yield-agent
```
Or manually:
```bash
git clone https://github.com/stakekit/yield-agent.git ~/.openclaw/skills/yield-agent
chmod +x ~/.openclaw/skills/yield-agent/scripts/*.sh
```
## Commands
| Script | Description |
|--------|-------------|
| `find-yields.sh [chain] [token]` | Discover yields by network and token |
| `get-yield-info.sh [yield-id]` | Retrieve yield schema and validator info |
| `list-validators.sh [yield-id]` | List validators for staking positions |
| `enter-position.sh [yield-id] [address] [params]` | Build unsigned deposit transaction |
| `exit-position.sh [yield-id] [address]` | Build unsigned withdrawal transaction |
| `manage-position.sh [yield-id] [action]` | Claim rewards, restake, redelegate |
| `check-portfolio.sh [yield-id] [address]` | View balances and pending actions |
## Core Workflow
### 1. Discover Yields
```bash
# Find USDC yields on Base
./scripts/find-yields.sh base USDC
# Find ETH staking on Ethereum
./scripts/find-yields.sh ethereum ETH
```
### 2. Inspect a Yield
```bash
# Get schema and requirements before entering
./scripts/get-yield-info.sh base-usdc-aave-v3-lending
```
Always fetch the yield schema before executing — it specifies required params and multi-step order.
### 3. Enter a Position
```bash
# Build unsigned deposit transaction (amounts are human-readable — "100" = 100 USDC)
./scripts/enter-position.sh base-usdc-aave-v3-lending 0xYOUR_ADDRESS '{"amount":"100"}'
# → returns unsignedTransaction JSON
```
### 4. Sign with MoonPay
```bash
# Step 1: Sign the unsigned transaction
mp transaction sign \
--wallet "yield-agent" \
--chain base \
--transaction '<unsignedTransaction from step 3>'
# → returns signedTransaction JSON
# Step 2: Broadcast the signed transaction
mp transaction send \
--chain base \
--transaction '<signedTransaction from step 1>'
```
For multi-step transactions, execute in `stepIndex` order. Sign each step exactly as returned — never modify `unsignedTransaction`.
### 5. Monitor Portfolio
```bash
./scripts/check-portfolio.sh base-usdc-aave-v3-lending 0xYOUR_ADDRESS
```
### 6. Exit a Position
```bash
./scripts/exit-position.sh base-usdc-aave-v3-lending 0xYOUR_ADDRESS
# → sign result with mp transaction send
```
### 7. Manage Rewards
```bash
./scripts/manage-position.sh base-usdc-aave-v3-lending claim
./scripts/manage-position.sh ethereum-eth-lido-staking redelegate
```From moonpay/skills, MIT.
More from moonpay/skills
- 0.674score
moonpay-auth
moonpay
Set up the MoonPay CLI, authenticate, and manage local wallets.
SkillCFreshness: C★ 111Claude Code +9 - 0.599score
moonpay-wallet-statusline-refresh
moonpay
Manually refresh wallet balances shown in a compatible CLI status line.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
alchemy-api
alchemyplatform
Integrates Alchemy blockchain APIs using an API key.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
moonpay-feedback
moonpay
Submit feedback, bug reports, or feature requests for the MoonPay CLI.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
moonpay-wallet-statusline
moonpay
Show MoonPay wallet balances in a compatible CLI status line using a local cache and refresh script.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
alchemy-agentic-gateway
alchemyplatform
Use when accessing Alchemy APIs for RPC calls, token balances, NFT metadata, asset transfers, transaction simulation, or Alchemy-specific features.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
allium-onchain-data
moonpay
Query blockchain data via Allium APIs.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
corbits-marketplace
moonpay
Paid API marketplace for AI agents via Corbits.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
dune-analytics
moonpay
Blockchain analytics via Dune REST API — execute DuneSQL queries against live on-chain data, discover decoded contract tables, and monitor credit usage.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
moonpay-missions
moonpay
A series of missions that walk through every MoonPay CLI capability.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
moonpay-scout
moonpay
Prediction market arbitrage & alpha scout.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
myriad-prediction-markets
moonpay
AI trading agent for Myriad prediction markets on BNB Chain.
SkillDFreshness: D★ 111Claude Code +9
Signals
- Stars
- 111
- Forks
- 30
- Open issues
- 3
- Last commit (this folder)
- Apr 21, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/moonpay/skills
- Website
- www.moonpay.com/agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from moonpay
- 0.674score
moonpay-auth
moonpay
Set up the MoonPay CLI, authenticate, and manage local wallets.
SkillCFreshness: C★ 111Claude Code +9 - 0.599score
moonpay-feedback
moonpay
Submit feedback, bug reports, or feature requests for the MoonPay CLI.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
allium-onchain-data
moonpay
Query blockchain data via Allium APIs.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
corbits-marketplace
moonpay
Paid API marketplace for AI agents via Corbits.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
dune-analytics
moonpay
Blockchain analytics via Dune REST API — execute DuneSQL queries against live on-chain data, discover decoded contract tables, and monitor credit usage.
SkillDFreshness: D★ 111Claude Code +9 - 0.599score
moonpay-missions
moonpay
A series of missions that walk through every MoonPay CLI capability.
SkillDFreshness: D★ 111Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get yield-optimization running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
yield-optimization skill. Agent Mart. https://agentmart.dev/skills/moonpay-yield-optimization (last updated 2026-10-24)