本文へスキップ
Skillpedia
分析とスプレッドシート37k · #7511

defi-yield

できること

このスキルは、貸し出し、流動性の提供、ステーキングなどの分散型金融商品からのリターンを分析します。利回りを公正に比べ、その持続性を判断したい暗号資産の投資家向けです。

使う場面

  • ✓DeFiプロトコル間で、貸し出しやステーキングの利回りを比べたいとき。
  • ✓流動性マイニングの高い利回りが持続可能かを判断したいとき。
  • ✓暗号資産でのレバレッジ需要のサインとして、借入金利を読みたいとき。

スキルのリンク

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/defi-yield/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/defi-yield/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“主要なDeFiプロトコル間で、ステーブルコインの貸し出し利回りを比べ、どれが持続可能に見えるかを教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、利回りを貸し出し、LP手数料、ステーキング、インセンティブトークンなどの源泉ごとに分け、リスクを調整します。インセンティブトークンで支払われる高い利回りは、インセンティブが終われば続かない可能性があることを指摘し、プロトコルを持続性で比べます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

DeFi Yield Analysis & Optimization

Overview

Analyze and compare yields across DeFi protocols — lending, liquidity provision, staking, and yield farming — to identify the best risk-adjusted opportunities and assess sustainability. DeFi yields are a real-time proxy for crypto market leverage demand, capital allocation, and protocol health.

Core Concepts

1. DeFi Yield Sources

Yield Source Mechanism Typical APY Range Risk Level
Lending (supply) Earn interest from borrowers 1-15% (stablecoins 3-8%) Low-medium
Borrowing cost Interest paid by borrowers 3-20% N/A (cost side)
LP fees (AMM) Trading fee share from DEX 5-50% (varies by pair) Medium-high
Staking Validator/delegation rewards 3-15% Low-medium
Liquidity mining Protocol token incentives 10-500% (unsustainable) High
Restaking Re-hypothecated staking yield 5-20% (ETH + AVS rewards) Medium-high
Points farming Off-chain points → future airdrop Unknown (speculative) Very high

2. Lending Rate Analysis

Lending rates as market signal:

# High borrow rates = high leverage demand = bullish sentiment
# Low borrow rates = low leverage demand = bearish / waiting

def lending_rate_signal(borrow_rate_stable, borrow_rate_eth):
    """Analyze DeFi lending rates for market sentiment."""
    if borrow_rate_stable > 15:
        stable_signal = "extreme_demand"    # Leveraged long via stablecoin borrowing
    elif borrow_rate_stable > 8:
        stable_signal = "elevated_demand"
    elif borrow_rate_stable > 3:
        stable_signal = "normal"
    else:
        stable_signal = "low_demand"        # Bear market, no one borrowing

    if borrow_rate_eth > 10:
        eth_signal = "extreme_demand"       # Shorting or leveraged strategies
    elif borrow_rate_eth > 5:
        eth_signal = "elevated"
    else:
        eth_signal = "low_demand"

    return stable_signal, eth_signal

Key lending protocols:

Protocol Chain Specialization TVL Range
Aave V3 Multi-chain Blue-chip lending, institutional grade $10-20B
Compound V3 Ethereum, Base Conservative, USDC-focused $3-5B
MakerDAO/Sky Ethereum CDP-based DAI/USDS minting $8-15B
Morpho Ethereum Rate optimization, P2P matching $3-8B
Spark Ethereum MakerDAO lending arm $2-5B
Kamino Solana Concentrated LP + lending $1-3B

3. LP Yield Analysis

Impermanent Loss (IL) — the core risk of LP positions:

def impermanent_loss(price_ratio_change):
    """
    Calculate impermanent loss for a 50/50 AMM pool.
    price_ratio_change: new_price / old_price of the volatile asset.
    """
    r = price_ratio_change
    il = 2 * (r ** 0.5) / (1 + r) - 1
    return il * 100  # Return as percentage

# Examples:
# Price +25% → IL = -0.6%
# Price +50% → IL = -2.0%
# Price +100% (2x) → IL = -5.7%
# Price +200% (3x) → IL = -13.4%
# Price -50% → IL = -5.7%
# Price -75% → IL = -20.0%

LP yield = fee income + token incentives - impermanent loss

def net_lp_yield(fee_apy, incentive_apy, estimated_il_annualized):
    """Calculate risk-adjusted LP yield."""
    gross_yield = fee_apy + incentive_apy
    net_yield = gross_yield - abs(estimated_il_annualized)
    return net_yield

# Example: ETH/USDC pool
# Fee APY: 15%, Incentive APY: 20%, Estimated IL: 8%
# Net yield: 15% + 20% - 8% = 27%

LP pool evaluation criteria:

Metric Good Mediocre Avoid
Fee APY / TVL > 10% 5-10% < 5%
IL risk (based on pair volatility) < 5% annualized 5-15% > 15%
TVL stability (30d change) Growing or stable Declining < 10% Declining > 30%
Volume/TVL ratio > 0.5x daily 0.1-0.5x < 0.1x
Incentive dependency < 30% of yield 30-70% > 70% (unsustainable)

4. Staking Yield Analysis

ETH staking ecosystem:

Method APY Risk Liquidity
Solo validator ~3.5% Slashing, downtime Locked (exit queue)
Lido (stETH) ~3.3% Smart contract, governance Liquid (stETH tradeable)
Rocket Pool (rETH) ~3.2% Smart contract, more decentralized Liquid
Coinbase (cbETH) ~3.0% Custodial, regulatory Liquid
EigenLayer restaking ~3.5% + AVS rewards Smart contract, slashing risk Semi-liquid

**Staking yi

よくある質問

高い利回りは必ずしも良いのですか?

いいえ。トークンのインセンティブで払われる非常に高い利回りは、一時的であることが多く、インセンティブが終わると消えることがあります。

DeFiの貸し出しはリスクがありませんか?

あります。スマートコントラクト、流動性、市場のリスクがあり、スキルはそれらを指摘します。

借入金利は何を示しますか?

借入金利が高いことは、レバレッジの需要が高いことを示すことが多く、市場心理を反映することがあります。

詳細

作者による元の説明

DeFi yield analysis and optimization — lending rates, LP yields, staking returns, yield farming strategies, risk-adjusted yield comparison, and protocol-level sustainability assessment.

repo: HKUDS/Vibe-Trading

人気

GitHubのスター
37k
ランキング
#7511
ライセンス
MIT
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル