defillama/defillama-skills

protocol-deep-dive

Comprehensive single-protocol analysis combining TVL, fees, revenue, yields, events, income, and user activity.

소스 보기

사용 방법

  1. 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
  2. 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
  3. 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/defillama/defillama-skills --skill protocol-deep-dive

시작 전 확인

  • 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
  • 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 Skill 문서

원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.

Protocol Deep Dive

Perform a thorough analysis of a single DeFi protocol by combining multiple data sources into one structured report.

Workflow

Step 1 - Resolve the protocol entity

If the protocol slug is unknown or ambiguous, resolve it first.

defillama:resolve_entity
  entity_type: "protocol"
  name: "<user-provided name>"

Step 2 - Core protocol metrics

Fetch TVL, fees, revenue, market cap, ratios, and trend data.

defillama:get_protocol_metrics
  protocol: "<slug>"

Key fields to surface: tvl_base, fees_1d, revenue_1d, mcap, ps_ratio, pf_ratio, tvl_base_7d_pct_change, tvl_base_30d_pct_change.

Step 3 - Top yield pools

Retrieve the protocol's highest-TVL pools to show yield opportunities.

defillama:get_yield_pools
  protocol: "<slug>"

Highlight pools with the highest TVL and APY. Note any pools where the base APY is very low and rewards dominate (sustainability signal).

Step 4 - Recent events

Check for hacks, fundraises, or other notable events.

defillama:get_events
  protocol: "<slug>"
  event_type: "hacks"

Also check for fundraising activity:

defillama:get_events
  protocol: "<slug>"
  event_type: "raises"

Step 5 - Income statement

Get the revenue breakdown to understand where income comes from.

defillama:get_income_statement
  protocol: "<slug>"

Use the metric param to filter by specific income line items if needed.

Step 6 - User activity

Fetch daily active users and transaction counts.

defillama:get_user_activity
  protocol: "<slug>"

Step 7 - Token price (if applicable)

If the protocol has a native token, fetch current price context.

defillama:get_token_prices
  token: "<coingecko:token_id>"

Output Format

Present the report with these sections in order:

  1. Overview - One-paragraph summary: what the protocol does, which

chain(s) it operates on, its category.

  1. Key Metrics - Table of TVL, fees, revenue, mcap, P/S, P/F, and

percentage changes (7d, 30d).

  1. Yield Opportunities - Top 3-5 pools by TVL with chain, APY, and TVL.
  2. Revenue Breakdown - Where income comes from (supply-side vs protocol).
  3. User Growth - Active users trend, transaction volume.
  4. Recent Events - Hacks, raises, governance events.
  5. Token Performance - Price, market cap, volume, ATH distance.

Tips

  • If get_income_statement returns no data, skip the Revenue Breakdown

section rather than showing empty results.

  • Compare P/S and P/F ratios to category averages when possible.
  • Flag declining TVL + declining users as a bearish signal.
  • Flag growing TVL + growing users + growing revenue as strong fundamentals.
  • Use start_date / end_date for custom date ranges when analyzing

specific periods.

관련 작업

같은 저장소의 Skills

더 많은 Skills

모든 Skills
defillama
커뮤니티

flows-and-events

Guide for querying DeFi flow data and events using DefiLlama MCP tools. Covers bridge flows, ETF inflows/outflows, stablecoin supply, institutional/DAT holdings with mNAV ratios, hacks and exploits, fundraising rounds, CEX volumes, open interest, and protocol treasuries. Use when users ask about bridge volume, ETF flows, stablecoin supply, MicroStrategy holdings, DeFi hacks, funding rounds, exchange volume, or treasury data.

설치 수
1
GitHub Stars
34
업데이트
3월 26일
defillama
커뮤니티

institutional-crypto

Institutional and TradFi crypto exposure analysis covering public company holdings (MicroStrategy, Tesla, etc.), Bitcoin and Ethereum ETF flows, and institutional accumulation patterns. Use when the user asks about institutional adoption, ETF flows, corporate treasuries, what institutions are buying, or MicroStrategy holdings.

설치 수
1
GitHub Stars
34
업데이트
3월 26일
defillama
커뮤니티

market-analysis

Patterns for DeFi market analysis, screening, and comparison using DefiLlama MCP tools. Covers valuation ratios (P/S, P/F), growth screening with pctchange columns, multi-metric protocol comparison, category comparison, and cross-entity analysis. Use when users ask to compare protocols, screen for undervalued projects, analyze growth trends, or do sector analysis.

설치 수
1
GitHub Stars
34
업데이트
3월 26일
defillama
커뮤니티

yield-strategies

Guide for querying DeFi yield and APY data using getyieldpools. Covers pool filtering by token, chain, protocol, category, stablecoin-only mode, and capacity assessment. Explains APY conventions, lending vs borrowing rates, and sort options. Use when users ask about yields, APY, lending rates, borrowing costs, best pools, or DeFi yield strategies.

설치 수
1
GitHub Stars
34
업데이트
3월 26일