defi-data

Map DeFi data queries to correct DefiLlama tools with formatted parameters.

4|2|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Iziedking/hawkeye --skill defi-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: defi-data
Source: https://github.com/Iziedking/hawkeye/tree/main/.agents/skills/defi-data
Command: npx skills add https://github.com/Iziedking/hawkeye --skill defi-data

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the frustration and errors of manually figuring out which DefiLlama MCP tool to use for DeFi data queries, along with the risk of using incorrect parameters or misinterpreting metric conventions like stock vs flow or percentage formatting.

Core Features & Use Cases

  • Automatic Tool Mapping: Matches any DeFi-related question (protocol TVL, token prices, chain fees, hacks, yields, etc.) to the correct DefiLlama tool with properly formatted parameters.
  • Convention Guidance: Includes clear rules for entity slugs, metric aggregation, percentage formatting, and TVL component calculations to prevent data interpretation mistakes.
  • Error Recovery: Provides step-by-step steps to resolve common issues like 0-row results, ambiguous entity names, or invalid metric queries.
  • Use Case Example: If you ask for the top 5 DEXs by 30-day trading volume, the Skill automatically generates the correct tool call with the right sorting and period parameters.

Quick Start

Ask any DeFi data question such as "What is Aave's current TVL and 90-day fee revenue?" and the Skill will automatically generate the correct DefiLlama tool call with all required parameters.

Frequently Asked Questions about defi-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query DefiLlama for protocol TVL and token prices without parameter errors?

To query DefiLlama for protocol TVL and token prices without parameter errors, use an automated tool mapping approach that selects the correct API endpoint and formats entity slugs properly. This prevents malformed parameters and incorrect stock versus flow metric aggregation.

What is the best way to get DeFi chain metrics and protocol fees automatically?

The best way to get DeFi chain metrics and protocol fees automatically is by using a data query tool that maps natural language requests to the correct DefiLlama endpoints, ensuring accurate percentage formatting and proper metric aggregation.

Why does my DefiLlama query return 0 rows or ambiguous entity names?

Your DefiLlama query returns 0 rows or ambiguous entity names due to incorrect tool selection or malformed entity slugs. Structured error recovery steps resolve these issues by validating entity resolution and correcting metric query parameters.

Can I retrieve DeFi data for stablecoins, bridges, and hacks in a single query workflow?

Yes, you can retrieve DeFi data for stablecoins, bridges, hacks, and institutional holdings in a single query workflow. The data query process covers all DefiLlama scenarios by automatically generating the correct tool calls with properly formatted parameters for each metric type.

How do I format DeFi yields and treasuries data to avoid misinterpreting metric conventions?

To format DeFi yields and treasuries data without misinterpreting metric conventions, apply clear rules for stock versus flow aggregation and percentage formatting. This ensures accurate data interpretation when querying DefiLlama for protocol revenue and fundraising metrics.