name: defi-yield-monitor description: Monitor DeFi lending & savings positions across Aave v3, SparkLend, Spark Savings, and Kamino. Track balances, APY, health factors, and compute 7d/30d realized yield. No API keys required. Use when user asks about DeFi positions, lending yields, stablecoin earnings, portfolio health, or wants automated DeFi reporting. Triggers: "check DeFi", "lending yield", "DeFi收益", "持倉", "APY", "health factor", "stablecoin yield", "Aave", "Spark savings", "Kamino", "DeFi report".
Self-contained skill for cross-chain DeFi position & yield monitoring. All data from public endpoints — no API keys needed.
Run the setup script to clone the project, create venv, and init config:
bash <skill_dir>/scripts/setup.sh
Then edit the config with wallet addresses:
$EDITOR ~/.openclaw/workspace/projects/defi-yield-monitor/config/config.json
{
"wallets": {
"evm": ["0xYourEthWallet"],
"solana": ["YourSolanaWallet"]
},
"protocols": [
{ "chain": "eth", "name": "aave" },
{ "chain": "bsc", "name": "aave" },
{ "chain": "eth", "name": "spark" },
{ "chain": "eth", "name": "spark_savings" },
{ "chain": "solana", "name": "kamino" }
],
"thresholds": {
"min_health_factor": 1.25,
"max_daily_drawdown_pct": 5
}
}
Remove protocols you don't use. Only include chains where you have positions.
Use the run script (auto-detects proxy):
# Daily report — positions + risk alerts
bash <skill_dir>/scripts/run.sh --text
# Yield summary — 7d/30d PnL + per-protocol APY
bash <skill_dir>/scripts/run.sh --yield-summary
# JSON output — for programmatic use
bash <skill_dir>/scripts/run.sh --json
Or run directly:
cd ~/.openclaw/workspace/projects/defi-yield-monitor
.venv/bin/python main.py --config config/config.json --yield-summary
Create an OpenClaw cron job to collect snapshots and report yields:
13 9,21 * * *)bash <skill_dir>/scripts/run.sh --yield-summaryAfter 7 days of snapshots, --yield-summary shows actual realized returns (not just APY estimates).
| Protocol | Chains | What It Tracks |
|---|---|---|
| Aave v3 | ETH, BSC | Supply/borrow, APY, health factor |
| SparkLend | ETH, Base | Supply/borrow, health factor |
| Spark Savings | ETH | spUSDC/spUSDT/sUSDS vault yields |
| Kamino | Solana | Lending obligations, APY |
The run script auto-detects QuickQ/Clash/V2Ray proxies. To set manually:
更多技能請訪問小蔥技能站7w4.net。
export https_proxy=http://127.0.0.1:10020
export http_proxy=http://127.0.0.1:10020
https://github.com/reed1898/defi-yield-monitor
這是一款質量不錯的 DeFi 監控工具,文件詳細、配置簡單,支援多個主流借貸協議並能計算真實收益。自動化程度高,代理設定無需手動操作。但部分環境可能因缺少系統工具而無法正常執行代理檢測,且缺少常見問題解答。總體而言功能實用、體驗友好,能滿足 DeFi 持倉監控需求。