defillama avatar

Protocol Deep Dive

This runs a complete protocol analysis by chaining seven DefiLlama API calls into one structured report: TVL and fee metrics, top yield pools, hack and fundraising history, income statement breakdown, user activity trends, and token price data. You'd use it when someone asks to "tell me everything about Uniswap" instead of running individual queries. The workflow is well documented with specific field names and output sections, which is helpful since you'll want to customize the format. The main caveat is that some protocols won't have data for all seven endpoints, so you'll get partial reports. It's basically a research template that saves you from manually orchestrating the same API sequence for every deep dive.

skills.sh installs
388
GitHub stars
36
last updated
Aug 21, 2026

Install

$ npx -y skills add defillama/defillama-skills --skill protocol-deep-dive --agent claude-code

Installs into .claude/skills of the current project.

Files

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:

Sponsors

Details

Repository
github.com/defillama/defillama-skills
Categories
Data Science & ML, Sales & Marketing
First seen
Jun 3, 2026

More from defillama/defillama-skills

All 3
1mims-harvard avatartooluniverse-gwas-drug-discoverymims-harvard/tooluniverseTransform GWAS signals into drug targets and repurposing opportunities. Connects GWAS-significant loci to causal genes via fine-mapping/eQTL, then to druggable 388skills.sh installs
2davila7 avatarclinical-decision-supportdavila7/claude-code-templatesGenerate professional clinical decision support (CDS) documents for pharmaceutical and clinical research settings, including patient cohort analyses (biomarker-384skills.sh installs
3sanjay3290 avatarnotebooklmsanjay3290/ai-skillsQuery and manage Google NotebookLM notebooks with persistent profile auth, source sync, batch/multi queries, and structured exports. Use when user asks to query384skills.sh installs
4levnikolaevich avatarln-640-pattern-evolution-auditorlevnikolaevich/claude-code-skillsUse when auditing architectural patterns through the evaluation platform with mandatory best-practice research, coordinated pattern workers, and structured summ382skills.sh installs
5davila7 avatarweights-and-biasesdavila7/claude-code-templatesTrack ML experiments with automatic logging, visualize training in real-time, optimize hyperparameters with sweeps, and manage model registry with W&B - collabo381skills.sh installs
6evoscientist avatarexperiment-craftevoscientist/evoskillsUse this skill when the user wants to debug, diagnose, or systematically iterate on an experiment that already exists, or when they need a structured experiment380skills.sh installs