protocol-deep-dive

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.

23 stars

Best use case

protocol-deep-dive is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using protocol-deep-dive should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/defillama-official-protocol-deep-dive/SKILL.md --create-dirs "https://raw.githubusercontent.com/jiayaoqijia/cryptoskill/main/skills/analytics/defillama-official-protocol-deep-dive/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/defillama-official-protocol-deep-dive/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How protocol-deep-dive Compares

Feature / Agentprotocol-deep-diveStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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.

Related Skills

8004-MCP - Agent Registry Protocol

23
from jiayaoqijia/cryptoskill

Multi-chain MCP server for ERC-8004 Agent Registry. Query agents, reputation, and feedback across Solana + EVM chains.

cow-protocol

23
from jiayaoqijia/cryptoskill

MEV-protected DEX aggregator with quote building and order status tracking.

venus-protocol-ops

23
from jiayaoqijia/cryptoskill

Analyze Venus Protocol lending/borrowing positions on BNB Chain with risk-first guidance. Use when users ask about Venus markets, collateral/borrow decisions, health factor, liquidation risk, APY/utilization comparison, isolated pools, or "can I borrow X safely" style what-if checks.

deepblue-defi-api

23
from jiayaoqijia/cryptoskill

Use when an agent needs live DeFi data from Base — ETH prices, trending pools, token scores, or wallet scans. No auth required.

cow-swap-cow-protocol

23
from jiayaoqijia/cryptoskill

MEV-protected swaps with batch auctions and surplus-capturing order routing.

cow-protocol-tools

23
from jiayaoqijia/cryptoskill

Tools for MEV-protected swap quotes, order status, trade history, and batch auction settlement.

aegisprotocol

23
from jiayaoqijia/cryptoskill

Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.

aegis-protocol

23
from jiayaoqijia/cryptoskill

Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.

aegis-protocol-security

23
from jiayaoqijia/cryptoskill

Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.

aegis-protocol-defi-security

23
from jiayaoqijia/cryptoskill

Enterprise-grade DeFi security and analytics agent with advanced threat detection and market intelligence on Base.

compass-rose-protocol

23
from jiayaoqijia/cryptoskill

Cartography agent for protocol landscapes mapping dependencies and ecosystem gaps.

virtuals-protocol-acp

23
from jiayaoqijia/cryptoskill

Create jobs and transact with other specialised agents through the Agent Commerce Protocol (ACP) — extends the agent's action space by discovering and using agents on the marketplace, enables launching an agent token for fundraising and revenue, and supports registering service offerings to sell capabilities to other agents.