lido-vault-monitor

Monitor Lido Earn vault positions (EarnETH, EarnUSD) and staking positions. Track yield against benchmarks, detect allocation shifts, alert on health changes. Use when asked about Lido vault monitoring, yield tracking, stETH position alerts, or DeFi position management.

23 stars

Best use case

lido-vault-monitor is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Monitor Lido Earn vault positions (EarnETH, EarnUSD) and staking positions. Track yield against benchmarks, detect allocation shifts, alert on health changes. Use when asked about Lido vault monitoring, yield tracking, stETH position alerts, or DeFi position management.

Teams using lido-vault-monitor 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

$curl -o ~/.claude/skills/lido-vault-monitor/SKILL.md --create-dirs "https://raw.githubusercontent.com/jiayaoqijia/cryptoskill/main/skills/defi/lido-vault-monitor/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/lido-vault-monitor/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How lido-vault-monitor Compares

Feature / Agentlido-vault-monitorStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Monitor Lido Earn vault positions (EarnETH, EarnUSD) and staking positions. Track yield against benchmarks, detect allocation shifts, alert on health changes. Use when asked about Lido vault monitoring, yield tracking, stETH position alerts, or DeFi position management.

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

# Lido Vault Position Monitor

Monitor Lido staking positions and Earn vault allocations with plain-language alerts.

## Monitoring Targets

### 1. stETH Staking Position

**Current APR** (benchmark):
```
web_fetch url="https://eth-api.lido.fi/v1/protocol/steth/apr/sma"
```

**Withdrawal queue depth** (affects unstaking time):
```
web_fetch url="https://eth-api.lido.fi/v1/protocol/withdrawals/status"
```

**Protocol-wide stats**:
```
web_fetch url="https://eth-api.lido.fi/v1/protocol/steth/stats"
```

### 2. Benchmark Yield Comparison

Compare stETH APR against alternatives via DefiLlama:

**All staking/lending yields**:
```
web_fetch url="https://yields.llama.fi/pools"
```
> Filter for relevant pools:
> - `project: lido` — stETH base APR
> - `project: aave-v3`, `symbol: WETH` — Aave ETH supply rate
> - `project: compound-v3`, `symbol: WETH` — Compound ETH rate
> - `project: morpho-blue` — Morpho ETH vaults
> - `project: rocket-pool` — rETH APR

**Specific pool history** (30-day trend):
```
web_fetch url="https://yields.llama.fi/chart/POOL_UUID"
```

### 3. Lido Earn Vaults (Mellow)

Lido Earn vaults use Mellow Protocol to allocate across Aave, Morpho, Pendle, Gearbox, and Maple.

**Track vault allocations on-chain** — query vault contract for current strategy:
```
exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"VAULT_ADDRESS\",\"data\":\"0x01e1d114\"},\"latest\"],\"id\":1}'"
```
> `0x01e1d114` = `totalAssets()`. Returns total value in underlying token.

**Compare vault yield to benchmarks**:
```
web_fetch url="https://yields.llama.fi/pools"
```
> Filter: `project: mellow` for Mellow vault yields

### 4. DeFi Position Health (wstETH as collateral)

**Aave V3 health factor** for a wstETH position:
```
exec command="curl -s -X POST https://eth.llamarpc.com -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_call\",\"params\":[{\"to\":\"0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2\",\"data\":\"0xbf92857c000000000000000000000000USER_ADDRESS\"},\"latest\"],\"id\":1}'"
```
> `0xbf92857c` = `getUserAccountData(address)`. Returns: totalCollateral, totalDebt, availableBorrow, liquidationThreshold, LTV, healthFactor.

## Alert Conditions

Monitor and alert when:

| Condition | Threshold | Severity |
|-----------|-----------|----------|
| stETH APR drops below benchmark | APR < Aave WETH supply rate | Warning |
| APR drops >20% from 30-day average | Significant yield compression | Warning |
| Withdrawal queue grows >50k ETH | Extended unstaking delays | Info |
| Health factor < 1.5 (Aave collateral) | Liquidation risk rising | Critical |
| Health factor < 1.1 (Aave collateral) | Imminent liquidation | Emergency |
| Vault allocation shift detected | Strategy rebalance | Info |
| wstETH/stETH rate anomaly | >0.1% deviation from expected | Warning |

## Alert Message Format

Alerts should be plain language, explaining:
1. **What changed** — specific metric and direction
2. **Why it matters** — impact on the user's position
3. **What to do** — actionable recommendation (or "no action needed")

Example: "Your stETH APR dropped to 3.1% overnight, below the Aave WETH supply rate of 3.4%. This means holding stETH currently yields less than lending WETH on Aave. Consider whether to maintain your staking position or reallocate. No urgent action needed — APR fluctuations are normal."

## MCP Tool Schema

Expose as MCP-callable tools for other agents:

| Tool | Description |
|------|-------------|
| `lido_vault_health` | Get comprehensive vault position summary |
| `lido_yield_comparison` | Compare stETH APR against DeFi benchmarks |
| `lido_withdrawal_eta` | Estimate withdrawal completion time |
| `lido_position_summary` | Full position report (balance, yield, health) |
| `lido_alert_check` | Run all alert conditions, return triggered alerts |

## Monitoring Schedule

- **APR & yield comparison**: every 6 hours
- **Withdrawal queue**: every 1 hour
- **Health factor** (if collateral): every 15 minutes
- **Vault allocations**: every 12 hours
- **Exchange rate**: every 1 hour

## Usage Tips

- Use DefiLlama as primary yield data source — it normalizes APR/APY across protocols
- stETH APR includes consensus + execution layer rewards; varies daily due to MEV tips
- For Lido Earn vaults, track both the vault's composite yield AND the underlying protocol allocations
- When alerting on yield drops, check if it's a protocol-wide event (e.g., ETH staking APR compression) or vault-specific
- Withdrawal queue depth is a leading indicator of market stress — spikes often precede sell pressure

Related Skills

bitfinex-lending-monitor

23
from jiayaoqijia/cryptoskill

Monitor Bitfinex lending (funding) performance via API. Use when the user asks to check Bitfinex funding收益/借贷利息, automate daily收益统计, or avoid opening the Bitfinex app for lending status.

binance-stat-arb-monitor

23
from jiayaoqijia/cryptoskill

Binance 统计套利监控系统。基于 ETH/BTC 永续合约价格比率计算 z-score,生成均值回归交易信号并推送到 Telegram 或飞书。 使用场景: (1) 监控统计套利机会(ETH/BTC 比率偏离均值) (2) 计算 z-score 判断开仓/平仓时机 (3) 生成交易信号(OPEN/CLOSE) (4) 通过 Telegram Channel 或飞书推送信号 (5) 记录信号历史用于回测分析 数据来源:Binance USDT 合约公共 API(无需认证即可获取行情数据)

lido-mcp-builder

23
from jiayaoqijia/cryptoskill

AI agent specialized in building MCP servers for DeFi protocols with expertise in stETH/wstETH integration and Lido governance.

mellow-vault-tools

23
from jiayaoqijia/cryptoskill

Tools for listing vaults, user positions, and rewards across Mellow restaking vaults with curator reputation scores.

mellow-restaking-vaults

23
from jiayaoqijia/cryptoskill

Deposit into curated restaking vaults with Symbiotic points and curator reputation scoring.

Liquidity Monitor

23
from jiayaoqijia/cryptoskill

Monitor DEX liquidity pool depth, track liquidity changes, calculate LP yield, and estimate impermanent loss. Use when you need liquidity monitor capabilities. Triggers on: liquidity monitor.

lido-staking-agent

23
from jiayaoqijia/cryptoskill

AI agent for staking ETH via Lido and managing stETH positions.

lido-rocketpool-staking

23
from jiayaoqijia/cryptoskill

Compare stETH, rETH, eETH, and swETH rates with auto-selection for best yield.

lido-mcp

23
from jiayaoqijia/cryptoskill

Build and use an MCP server for Lido staking operations. Covers stETH staking, wstETH wrapping, withdrawal queue, balance queries, governance, and vault monitoring. Use when building Lido MCP tools, staking integrations, or monitoring Lido positions.

lido-eth-staking

23
from jiayaoqijia/cryptoskill

Stake ETH and receive stETH with the largest liquid staking protocol by TVL.

aave-liquidation-monitor

23
from jiayaoqijia/cryptoskill

Proactive monitoring of Aave V3 borrow positions with liquidation alerts. Queries user collateral, debt, and health factor across chains (Ethereum, Polygon, Arbitrum, etc.). Sends urgent alerts to Telegram/Discord/Slack when health factor drops below configurable thresholds (critical at 1.05, warning at 1.2). Use when you need continuous monitoring of Aave positions, want alerts before liquidation risk occurs, or need periodic summaries of your borrowing health.

4626-vault-agent

23
from jiayaoqijia/cryptoskill

Agent API for ERC-4626 vault management on Base with XMTP messaging, REST API, and MCP tools for vault operations and keeper automation.