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.
npx -y skills add defillama/defillama-skills --skill protocol-deep-dive --agent claude-codeInstalls into .claude/skills of the current project.
Perform a thorough analysis of a single DeFi protocol by combining multiple data sources into one structured report.
If the protocol slug is unknown or ambiguous, resolve it first.
defillama:resolve_entity
entity_type: "protocol"
name: "<user-provided name>"
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.
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).
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"
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.
Fetch daily active users and transaction counts.
defillama:get_user_activity
protocol: "<slug>"
If the protocol has a native token, fetch current price context.
defillama:get_token_prices
token: "<coingecko:token_id>"
Present the report with these sections in order:
get_income_statement returns no data, skip the Revenue Breakdown
section rather than showing empty results.start_date / end_date for custom date ranges when analyzing
specific periods.juliusbrussee/caveman
mattpocock/skills
shadcn/improve
obra/superpowers
forrestchang/andrej-karpathy-skills
vercel-labs/skills