Skip to content
Back to skills

Defillama Official Protocol Deep Dive

ASecurity

Comprehensive single-protocol analysis combining TVL, fees, revenue, yields, events, income, and user activity. Produces a full protocol report. Use when the user asks for a complete overview, deep dive, "tell me everything about" a protocol, or a protocol research report.

  • 73 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 29, 2026
businessgoperformance

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 29, 2026

npx -y skills add jiayaoqijia/cryptoskill --skill defillama-official-protocol-deep-dive --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Defillama Official Protocol Deep Dive?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Defillama Official Protocol Deep Dive
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiayaoqijia-defillama-official-protocol-deep-dive/badge)](https://www.skillsdirectory.com/skills/jiayaoqijia-defillama-official-protocol-deep-dive)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: protocol-deep-dive
description: >
  Comprehensive single-protocol analysis combining TVL, fees, revenue, yields,
  events, income, and user activity. Produces a full protocol report. Use when
  the user asks for a complete overview, deep dive, "tell me everything about"
  a protocol, or a protocol research report.
---

# 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.
2. **Key Metrics** - Table of TVL, fees, revenue, mcap, P/S, P/F, and
   percentage changes (7d, 30d).
3. **Yield Opportunities** - Top 3-5 pools by TVL with chain, APY, and TVL.
4. **Revenue Breakdown** - Where income comes from (supply-side vs protocol).
5. **User Growth** - Active users trend, transaction volume.
6. **Recent Events** - Hacks, raises, governance events.
7. **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.

Files in this skill

  • SKILL.md3.1 KB
  • SOURCE.md165 B
  • TRUST.auto.yaml2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.