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".
用于跨链 DeFi 仓位与收益监控的独立技能。所有数据均来自公共端点——无需 API 密钥。
运行设置脚本以克隆项目、创建虚拟环境并初始化配置:
bash
bash
然后使用钱包地址编辑配置:
bash
$EDITOR ~/.openclaw/workspace/projects/defi-yield-monitor/config/config.json
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: {
minhealthfactor: 1.25,
maxdailydrawdown_pct: 5
}
}
移除你不使用的协议。仅包含你持有仓位的链。
使用运行脚本(自动检测代理):
bash
或直接运行:
bash
cd ~/.openclaw/workspace/projects/defi-yield-monitor
.venv/bin/python main.py --config config/config.json --yield-summary
创建 OpenClaw 定时任务以收集快照并报告收益:
经过 7 天的快照后,--yield-summary 将显示实际已实现收益(而不仅仅是年化收益率估算值)。
| 协议 | 链 | 追踪内容 |
|---|---|---|
| Aave v3 | ETH, BSC | 供应/借贷、年化收益率、健康因子 |
| SparkLend |
运行脚本自动检测 QuickQ/Clash/V2Ray 代理。手动设置:
bash
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
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 defi-yield-monitor-1776188962 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 defi-yield-monitor-1776188962 技能
skillhub install defi-yield-monitor-1776188962
文件大小: 3.47 KB | 发布时间: 2026-4-15 11:16