yield-analysis
DeFi(分散型金融)における手数料込みAPR、実質利回り、コスト控除後のAPY、そして利回りの持続可能性などを分析し、投資判断に役立つ情報を提供するSkill。
📜 元の英語説明(参考)
DeFi yield evaluation including fee APR, real vs nominal yield, net APY after costs, and yield sustainability analysis
🇯🇵 日本人クリエイター向け解説
DeFi(分散型金融)における手数料込みAPR、実質利回り、コスト控除後のAPY、そして利回りの持続可能性などを分析し、投資判断に役立つ情報を提供するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o yield-analysis.zip https://jpskill.com/download/10457.zip && unzip -o yield-analysis.zip && rm yield-analysis.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10457.zip -OutFile "$d\yield-analysis.zip"; Expand-Archive "$d\yield-analysis.zip" -DestinationPath $d -Force; ri "$d\yield-analysis.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
yield-analysis.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
yield-analysisフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
イールド分析 — DeFi イールドの評価と比較
DeFi のイールドはしばしば誤解を招きやすいものです。200% の APY を謳うプールでも、インパーマネントロス、ガス代、エミッショントークンの減価償却を考慮すると、実際のリターンはマイナスになる可能性があります。このスキルは、イールド機会を正確に分解、評価、比較するためのフレームワークを提供します。
イールド分析が重要な理由
ほとんどの DeFi イールドダッシュボードは、名目イールド、つまり表面的な数値を表示しています。真のイールドは、その数値を構成要素に分解し、すべてのコストを差し引く必要があります。この分解がないと:
- LP は、IL によって資本を破壊する高 APY プールを追いかける
- 報酬トークンの価値が下がるにつれて、エミッション主導のイールドは崩壊する
- ガス代とリバランス費用が薄いマージンを食いつぶす
- 機会費用が無視される(SOL を約 7% でステーキングできたかもしれない)
イールドの構成要素
すべての DeFi イールドは、以下のいずれかのソースに分解されます。
1. 取引手数料収入
流動性プロバイダーが得るスワップ手数料。これは、実際の経済活動から得られるため、最も持続可能なイールド源です。
fee_apr = (daily_volume * fee_rate / tvl) * 365
your_daily_fees = daily_volume * fee_rate * (your_liquidity / total_liquidity)
CLMM プール(集中流動性)の場合、手数料収入は、レンジをどれだけ狭く集中させるかによって増幅されます。CLMM の仕組みについては、lp-math スキルを参照してください。
2. トークンエミッション / インセンティブ
LP に配布されるプロトコルの報酬トークン。広告されているイールドの最大の構成要素であることが多いですが、持続可能でないことがよくあります。
emission_apr = (daily_emission_tokens * token_price * 365) / tvl
重要な質問:エミッショントークンはその価値を維持できるでしょうか?誰もがファームしてダンプする場合、トークンは減価償却され、実際の USD イールドははるかに低くなります。
3. 貸付利息
貸付プロトコルの預金から得られる利息(Marginfi、Kamino、Solend)。借入需要によって左右されます。エミッションよりも持続可能ですが、利用率によって変動します。
4. ステーキング報酬
バリデーターのステーキングイールド(Solana で約 7% APR)またはリキッドステーキングトークン(LST)イールド。Solana エコシステムのベースラインリスクフリーレートです。
リアルイールド vs 名目イールド
| 指標 | 含まれるもの | 無視するもの |
|---|---|---|
| 名目 APY | 手数料 APR + エミッション APR(複利) | IL、ガス代、減価償却、リスク |
| リアルイールド | すべて、すべてのコストを差し引いたもの | なし — これが真のリターン |
リアルイールドの公式
real_yield = fee_apr
+ emission_apr × (1 - emission_depreciation)
- il_cost
- gas_cost
- rebalancing_cost
ここで:
fee_apr: ポジション価値に対する割合として年換算された手数料収入emission_apr: 現在のトークン価格での年換算されたエミッション収入emission_depreciation: エミッショントークン価格の予想される下落(0.0 ~ 1.0)il_cost: 年換算されたレートとしての予想されるインパーマネントロス(impermanent-lossスキルを参照)gas_cost: 預金、引き出し、請求、複利のためのトランザクション手数料rebalancing_cost: CLMM ポジションの場合、範囲外のポジションをリバランスするためのコスト
例:SOL-USDC プール
表示される名目 APY: 45%
分解:
手数料 APR: 18%
エミッション APR: 30% (RAY トークン報酬)
エミッション減価償却: 40% (RAY は 30 日間で 40% 下落)
実質エミッション: 18% (30% × 0.6)
IL コスト(推定): 12% (SOL は USDC に対して変動性が高い)
ガス + リバランス: 1%
リアルイールド = 18% + 18% - 12% - 1% = 23%
45% の名目イールドは、すべての要素を考慮すると実際には 23% です。
手数料 APR の計算
定数積プール
fee_apr = fee_rate * daily_volume / tvl * 365
手数料率が 0.25%、1 日の取引量が 200 万ドル、TVL が 1,000 万ドルのプールの場合:
fee_apr = 0.0025 * 2_000_000 / 10_000_000 * 365 = 18.25%
集中流動性(CLMM)プール
CLMM の手数料収入は、取引活動に対するポジションレンジによって異なります。
# 簡略化 — 完全な CLMM 計算については lp-math スキルを参照してください
fee_apr = fee_rate * daily_volume_in_range / position_liquidity * 365
レンジが狭いほど、デプロイされたドルあたりの手数料が高くなりますが、範囲外になる頻度が高くなり、リバランスが必要になります。
LP あたりのシェア
your_share = your_liquidity / total_pool_liquidity
your_daily_fees = total_daily_fees * your_share
エミッションの持続可能性
デススパイラルパターン
- プロトコルが高エミッション報酬でローンチ → LP を引き付ける
- TVL が増加 → LP あたりのイールドが低下 → プロトコルがエミッションを増加させる
- LP がエミッショントークンをファームしてダンプ → トークン価格が下落する
- トークン価格が下落 → USD建てのイールドが低下する
- LP が離れる → TVL が低下 → プロトコルがエミッションをさらに増加させる
- エミッションが停止するか、プロトコルが失敗するまでスパイラルが続く
持続可能性指標
# プロトコルの P/E 比率
pe_ratio = fully_diluted_valuation / annual_protocol_revenue
# 収益対エミッション比率(> 1.0 は持続可能)
sustainability = annual_revenue / annual_emission_value
# トークン速度(高いほど売り圧力が高い)
velocity = daily_emission_selling / daily_token_volume
解釈:
- P/E < 20 かつ持続可能性 > 1.0:持続可能なイールドの可能性が高い
- P/E 20-100 かつ持続可能性 0.3-1.0:中程度のリスク
- P/E > 100 または持続可能性 < 0.3:エミッション依存、高リスク
危険信号
- APY > 100% が主にエミッションから得られている
- エミッショントークンの価格が 30 日以上一貫して下落している
- エミッションレートが一定または増加しているにもかかわらず、TVL が減少している
- プロトコルの収益がエミッションコストのごく一部である
- エミッショントークンにベスティングまたはロックアップがない
イールド比較フレームワーク
イールド機会を比較する際は、以下の側面で正規化します。
1. 同一資産ベース
同じものを比較します。SOL の場合:
| 戦略 | 予想 APR | リスクレベル | IL エクスポージャー |
|---|---|---|---|
| ネイティブステーキング | ~7% | 低 | なし |
| リキッドステーキング (mSOL) | ~7.5% | 低 | 最小限 |
| SOL-USDC LP (Orca) | ~15-25% | 中 | 高 |
| SOL 貸付 (Marginfi) | ~3-8% | 低-中 | なし |
| レバレッジドイールド | ~20-50% | 高 | さまざま |
2. リスク調整済みイールド
(原文はここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Yield Analysis — DeFi Yield Evaluation & Comparison
DeFi yields are often misleading. A pool advertising 200% APY may deliver negative real returns once you account for impermanent loss, gas costs, and emission token depreciation. This skill provides the framework to decompose, evaluate, and compare yield opportunities accurately.
Why Yield Analysis Matters
Most DeFi yield dashboards show nominal yield — the headline number. Real yield requires decomposing that number into its components and subtracting all costs. Without this decomposition:
- LPs chase high-APY pools that destroy capital through IL
- Emission-driven yields collapse as reward tokens lose value
- Gas and rebalancing costs eat into thin margins
- Opportunity cost is ignored (you could be staking SOL at ~7%)
Yield Components
Every DeFi yield breaks down into one or more of these sources:
1. Trading Fee Income
Swap fees earned by liquidity providers. This is the most sustainable yield source because it comes from real economic activity.
fee_apr = (daily_volume * fee_rate / tvl) * 365
your_daily_fees = daily_volume * fee_rate * (your_liquidity / total_liquidity)
For CLMM pools (concentrated liquidity), fee income is amplified by how tightly you concentrate your range. See the lp-math skill for CLMM mechanics.
2. Token Emissions / Incentives
Protocol reward tokens distributed to LPs. Often the largest component of advertised yields, but frequently unsustainable.
emission_apr = (daily_emission_tokens * token_price * 365) / tvl
The critical question: will the emission token hold its value? If everyone farms and dumps, the token depreciates and actual USD yield is much lower.
3. Lending Interest
Interest earned from lending protocol deposits (Marginfi, Kamino, Solend). Driven by borrowing demand — more sustainable than emissions but fluctuates with utilization.
4. Staking Rewards
Validator staking yield (~7% APR on Solana) or liquid staking token (LST) yield. The baseline risk-free rate for the Solana ecosystem.
Real vs Nominal Yield
| Metric | What It Includes | What It Ignores |
|---|---|---|
| Nominal APY | Fee APR + emission APR (compounded) | IL, gas, depreciation, risk |
| Real Yield | Everything, net of all costs | Nothing — this is the true return |
Real Yield Formula
real_yield = fee_apr
+ emission_apr × (1 - emission_depreciation)
- il_cost
- gas_cost
- rebalancing_cost
Where:
fee_apr: annualized fee income as fraction of position valueemission_apr: annualized emission income at current token priceemission_depreciation: expected decline in emission token price (0.0 to 1.0)il_cost: expected impermanent loss as annualized rate (seeimpermanent-lossskill)gas_cost: transaction fees for deposits, withdrawals, claims, compoundsrebalancing_cost: for CLMM positions, cost of rebalancing out-of-range positions
Example: SOL-USDC Pool
Nominal APY displayed: 45%
Decomposition:
Fee APR: 18%
Emission APR: 30% (RAY token rewards)
Emission depreciation: 40% (RAY down 40% over 30d)
Effective emission: 18% (30% × 0.6)
IL cost (estimated): 12% (SOL volatile against USDC)
Gas + rebalance: 1%
Real yield = 18% + 18% - 12% - 1% = 23%
The 45% nominal yield is really 23% after accounting for all factors.
Fee APR Calculation
Constant-Product Pools
fee_apr = fee_rate * daily_volume / tvl * 365
For a pool with 0.25% fee rate, $2M daily volume, and $10M TVL:
fee_apr = 0.0025 * 2_000_000 / 10_000_000 * 365 = 18.25%
Concentrated Liquidity (CLMM) Pools
CLMM fee income depends on your position range relative to trading activity:
# Simplified — see lp-math skill for full CLMM math
fee_apr = fee_rate * daily_volume_in_range / position_liquidity * 365
Tighter ranges earn higher fees per dollar deployed but go out of range more frequently, requiring rebalancing.
Per-LP Share
your_share = your_liquidity / total_pool_liquidity
your_daily_fees = total_daily_fees * your_share
Emission Sustainability
The Death Spiral Pattern
- Protocol launches with high emission rewards → attracts LPs
- TVL grows → yield per LP drops → protocol increases emissions
- LPs farm and dump emission tokens → token price drops
- Lower token price → lower USD-denominated yield
- LPs leave → TVL drops → protocol increases emissions further
- Spiral continues until emissions stop or protocol fails
Sustainability Metrics
# Protocol P/E ratio
pe_ratio = fully_diluted_valuation / annual_protocol_revenue
# Revenue-to-emission ratio (> 1.0 is sustainable)
sustainability = annual_revenue / annual_emission_value
# Token velocity (high = lots of sell pressure)
velocity = daily_emission_selling / daily_token_volume
Interpretation:
- P/E < 20 and sustainability > 1.0: Likely sustainable yield
- P/E 20-100 and sustainability 0.3-1.0: Moderate risk
- P/E > 100 or sustainability < 0.3: Emission-dependent, high risk
Red Flags
- APY > 100% sourced primarily from emissions
- Emission token price declining consistently over 30+ days
- TVL declining while emission rate stays constant or increases
- Protocol revenue is a small fraction of emission cost
- No vesting or lockup on emission tokens
Yield Comparison Framework
When comparing yield opportunities, normalize across these dimensions:
1. Same-Asset Basis
Compare like for like. For SOL:
| Strategy | Expected APR | Risk Level | IL Exposure |
|---|---|---|---|
| Native staking | ~7% | Low | None |
| Liquid staking (mSOL) | ~7.5% | Low | Minimal |
| SOL-USDC LP (Orca) | ~15-25% | Medium | High |
| SOL lending (Marginfi) | ~3-8% | Low-Med | None |
| Leveraged yield | ~20-50% | High | Varies |
2. Risk-Adjusted Yield
risk_score = (
il_risk * 0.3 +
smart_contract_risk * 0.25 +
emission_sustainability_risk * 0.2 +
liquidity_risk * 0.15 +
protocol_risk * 0.1
)
risk_adjusted_yield = net_apr / risk_score
3. Total Cost Accounting
Include all costs:
- Impermanent loss (see
impermanent-lossskill) - Gas fees for all transactions (deposit, withdraw, claim, compound)
- Opportunity cost (what you could earn risk-free)
- Smart contract risk premium
- Rebalancing costs (CLMM positions)
Solana Yield Sources
Liquidity Provision
| Protocol | Pool Types | Fee Tiers | Notes |
|---|---|---|---|
| Raydium | CPMM, CLMM | 0.01-1% | Largest Solana DEX by volume |
| Orca | CLMM (Whirlpool) | 0.01-2% | Concentrated liquidity focused |
| Meteora | DLMM, Dynamic | Variable | Dynamic fee adjustment |
Lending
| Protocol | Assets | Typical APR | Notes |
|---|---|---|---|
| Marginfi | SOL, USDC, etc. | 2-10% | Points program active |
| Kamino | SOL, USDC, etc. | 2-12% | Auto-compound vaults |
| Solend | SOL, USDC, etc. | 1-8% | Established protocol |
Staking
| Method | APR | Lock Period | Notes |
|---|---|---|---|
| Native SOL staking | ~7% | 1 epoch (~2d) | Validator selection matters |
| mSOL (Marinade) | ~7.2% | Instant | Liquid, usable in DeFi |
| jitoSOL (Jito) | ~7.5% | Instant | Includes MEV rewards |
| bSOL (BlazeStake) | ~7% | Instant | Decentralized validator set |
Data Sources
DeFiLlama Yields API (Free, No Auth)
import httpx
# All yield pools
pools = httpx.get("https://yields.llama.fi/pools").json()
# Filter for Solana
solana_pools = [p for p in pools["data"] if p["chain"] == "Solana"]
# Sort by TVL
solana_pools.sort(key=lambda p: p.get("tvlUsd", 0), reverse=True)
Response fields: pool, chain, project, symbol, tvlUsd, apy, apyBase, apyReward, il7d, exposure.
Protocol-Specific APIs
- Raydium:
https://api-v3.raydium.io/pools/info/list - Orca:
https://api.mainnet.orca.so/v1/whirlpool/list - Marginfi: On-chain account data via Solana RPC
Integration with Other Skills
lp-math: AMM formulas for fee calculation and position mathimpermanent-loss: IL estimation for real yield calculationdefillama-api: Fetching yield and TVL data across protocolsrisk-management: Portfolio-level yield allocation decisionsposition-sizing: How much capital to allocate to yield strategies
Files
References
references/yield_math.md— Fee APR, APR/APY conversion, net yield formulas, break-even analysisreferences/sustainability_analysis.md— Emission sustainability metrics, death spiral patterns, real yield identification
Scripts
scripts/yield_calculator.py— Offline yield calculator with fee APR, IL estimation, net yield, break-even, and sensitivity analysisscripts/yield_comparison.py— Fetches DeFiLlama yield data and compares Solana yield opportunities with risk-adjusted ranking