Agent skill

Defillama Research

by sendaifun in sendaifun/solana-new

Research DeFi protocols and market opportunities using DefiLlama data.

MITAuto-check passedBusiness, Finance & HR

Install Defillama Research

skills CLI
$ npx skills add sendaifun/solana-new --skill defillama-research -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sendaifun/solana-new defillama-research --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sendaifun/solana-new.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/idea/defillama-research .claude/skills/defillama-research && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
defillama-research
GitHub stars
179
Token cost
~1.8k tokens
SKILL.md length
529 words
Files
5 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Research DeFi protocols and market opportunities using DefiLlama data.

  • Works in 6 steps: Understand the user's goal: exploring… → Read references/defillama-api-guide.md… → Read references/tvl-as-trust-metric.md… → …
  • A user says show me TVL data
  • SKILL.md covers Preamble (run first), Overview, Workflow and Non-Negotiables, plus 5 more sections
  • Calls curl; reaches api.llama.fi and stablecoins.llama.fi

What it does

Defillama Research is an agent skill from sendaifun/solana-new. Research DeFi protocols and market opportunities using DefiLlama data. Use when a user says "show me TVL data", "which protocols are growing", "DeFi market research", "what should I build in DeFi", "find DeFi opportunities", "analyze protocol TVL", or "which chains are trending". Uses TVL as a trust metric to suggest protocols worth building on or integrating with.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `agents/openai.yaml`, `references/defi-opportunity-framework.md` and `references/defillama-api-guide.md`).

It sits in Business, Finance & HR, covering Crypto and DeFi analysis, Market research and Startup and business strategy. The repository describes itself as: think. build. ship. tasteful & useful crypto apps. using a curated skills + knowledge base for AI agents on solana contracts & integrations. The licence is MIT.

When your agent uses it

  • A user says show me TVL data
  • Which protocols are growing
  • DeFi market research
  • What should I build in DeFi

Example prompts

  • “show me TVL data”
  • “which protocols are growing”
  • “DeFi market research”
  • “/defillama-research”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Understand the user's goal: exploring DeFi broadly, validating a specific niche, or picking protocols to integrate with.
  2. Read references/defillama-api-guide.md for the available endpoints and how to query them.
  3. Read references/tvl-as-trust-metric.md to understand how to interpret TVL data.
  4. Read references/defi-opportunity-framework.md for spotting opportunities from the data.
  5. Query the DefiLlama API to pull relevant data
  6. Analyze and present findings with concrete recommendations.

What it can do on your machine

Read from SKILL.md and the folder at commit 38a494a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • api.llama.fi
    • stablecoins.llama.fi
    • yields.llama.fi

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Defillama Research loads about 1.8k tokens when it runs, and up to ~4.3k if it reads all its reference files. Until then it costs about 97 tokens; SKILL.md has 529 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sendaifun/solana-new at commit 38a494a, republished under its MIT licence (© sendaifun). 529 words, ~1,849 tokens.

Download SKILL.mdSave it as .claude/skills/defillama-research/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
defillama-research
description
Research DeFi protocols and market opportunities using DefiLlama data. Use when a user says "show me TVL data", "which protocols are growing", "DeFi market research", "what should I build in DeFi", "find DeFi opportunities", "analyze protocol TVL", or "which chains are trending". Uses TVL as a trust metric to suggest protocols worth building on or integrating with.

Preamble (run first)

bash
_TEL_TIER=$(cat ~/.superstack/config.json 2>/dev/null | grep -o '"telemetryTier": *"[^"]*"' | head -1 | sed 's/.*"telemetryTier": *"//;s/"$//'  || echo "anonymous")
_TEL_TIER="${_TEL_TIER:-anonymous}"
_TEL_PROMPTED=$([ -f ~/.superstack/.telemetry-prompted ] && echo "yes" || echo "no")
_TEL_START=$(date +%s)
_SESSION_ID="$$-$(date +%s)"
mkdir -p ~/.superstack
echo "TELEMETRY: $_TEL_TIER"
echo "TEL_PROMPTED: $_TEL_PROMPTED"
if [ "$_TEL_TIER" != "off" ]; then
_TEL_EVENT='{"skill":"defillama-research","phase":"idea","event":"started","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}' 
echo "$_TEL_EVENT" >> ~/.superstack/telemetry.jsonl 2>/dev/null || true
_CONVEX_URL=$(cat ~/.superstack/config.json 2>/dev/null | grep -o '"convexUrl":"[^"]*"' | head -1 | cut -d'"' -f4 || echo "")
[ -n "$_CONVEX_URL" ] && curl -s -X POST "$_CONVEX_URL/api/mutation" -H "Content-Type: application/json" -d '{"path":"telemetry:track","args":{"skill":"defillama-research","phase":"idea","status":"success","version":"0.2.0","platform":"'$(uname -s)-$(uname -m)'","timestamp":'$(date +%s)000'}}' >/dev/null 2>&1 &
true
fi

If TEL_PROMPTED is no: Before starting the skill workflow, ask the user about telemetry. Use AskUserQuestion:

Help superstack get better! We track which skills get used and how long they take — no code, no file paths, no PII. Change anytime in ~/.superstack/config.json.

Options:

  • A) Sure, help superstack improve (anonymous)
  • B) No thanks

If A: run this bash:

bash
echo '{"telemetryTier":"anonymous"}' > ~/.superstack/config.json
_TEL_TIER="anonymous"
touch ~/.superstack/.telemetry-prompted

If B: run this bash:

bash
echo '{"telemetryTier":"off"}' > ~/.superstack/config.json
_TEL_TIER="off"
touch ~/.superstack/.telemetry-prompted

This only happens once. If TEL_PROMPTED is yes, skip this entirely and proceed to the skill workflow.

Wrong skill? See SKILL_ROUTER.md for all available skills.

DefiLlama Research

Overview

Use DefiLlama's API to research the DeFi landscape on Solana and across chains. TVL (Total Value Locked) is the primary trust metric — protocols with real TVL have real users with real money at stake. Use this data to identify what's working, what's growing, and where the gaps are.

Workflow

  1. Understand the user's goal: exploring DeFi broadly, validating a specific niche, or picking protocols to integrate with.
  2. Read references/defillama-api-guide.md for the available endpoints and how to query them.
  3. Read references/tvl-as-trust-metric.md to understand how to interpret TVL data.
  4. Read references/defi-opportunity-framework.md for spotting opportunities from the data.
  5. Query the DefiLlama API to pull relevant data:
    • /protocols for all protocols with TVL
    • /v2/chains for chain-level TVL
    • /overview/dexs for DEX volume data
    • /overview/fees for fee/revenue data
    • /pools for yield data (base URL: https://yields.llama.fi)
    • /stablecoins for stablecoin flow data (base URL: https://stablecoins.llama.fi)
  6. Analyze and present findings with concrete recommendations.

Non-Negotiables

  • Always use real-time DefiLlama data, not stale numbers. The API is free and fast.
  • TVL alone is not enough. Cross-reference with fees/revenue, user count, and growth trends.
  • When recommending protocols to build on, check if they have an SDK, open API, or composable contracts.
  • Distinguish between "high TVL = trusted" and "high TVL = opportunity". A $10B protocol is trusted but hard to compete with. A $10M protocol growing 50% monthly is the opportunity.
  • Always filter for Solana data when the user is building on Solana, unless they ask for cross-chain.
  • Flag protocols with declining TVL — they may be losing trust or users.
  • Present data in tables with clear rankings.
Show full SKILL.md (178 more words)Show less

Phase Handoff

This skill is Phase 1 (Idea) in the Idea → Build → Launch journey.

After research, write/update .superstack/idea-context.md (create if missing) with a defi_research field containing:

  • top_protocols: array of { name, tvl, tvl_change_7d, category, chain }
  • opportunities: array of identified gaps or underserved niches
  • recommended_integrations: protocols with SDKs/APIs worth building on
  • market_snapshot: { total_solana_tvl, top_category, fastest_growing_category }

See ../../../data/specs/phase-handoff.md for the full JSON contract.

Resources

references/

Quick Start

bash
# Ask for DeFi data:
#   "Show me DeFi opportunities on Solana"
#   "Which Solana protocols are growing fastest?"
#   "Find underserved DeFi niches on Solana"

# Key DefiLlama API endpoints:
# GET https://api.llama.fi/v2/chains                        — All chains TVL
# GET https://api.llama.fi/protocols                        — All protocols
# GET https://api.llama.fi/overview/dexs/solana             — Solana DEX volume
# GET https://api.llama.fi/overview/fees/solana              — Solana fee revenue
# GET https://yields.llama.fi/pools                         — All yield pools
# GET https://stablecoins.llama.fi/stablecoins              — All stablecoins
# GET https://stablecoins.llama.fi/stablecoincharts/Solana  — Solana stablecoin flows

Decision Points

  • Which DeFi category to build in? AMM, lending, perps, staking, yield — pick based on TVL gaps and growth trends.
  • TVL growing but revenue flat? Protocol likely has unsustainable incentives — not a good model to copy.
  • Small TVL + fast growth? Best opportunity zone. Build the protocol or build tools for it.
datasets/
  • ../../../data/defi/defillama-api.json — Full OpenAPI 3.1 spec for DefiLlama API (69 endpoints)

Telemetry (run last)

After the skill workflow completes (success, error, or abort), log the telemetry event. Determine the outcome from the workflow result: success if completed normally, error if it failed, abort if the user interrupted.

Run this bash:

bash
_TEL_END=$(date +%s)
_TEL_DUR=$(( _TEL_END - ${_TEL_START:-$_TEL_END} ))
_TEL_TIER=$(cat ~/.superstack/config.json 2>/dev/null | grep -o '"telemetryTier": *"[^"]*"' | head -1 | sed 's/.*"telemetryTier": *"//;s/"$//' || echo "anonymous")
if [ "$_TEL_TIER" != "off" ]; then
echo '{"skill":"defillama-research","phase":"idea","event":"completed","outcome":"OUTCOME","duration_s":"'"$_TEL_DUR"'","session":"'"$_SESSION_ID"'","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","platform":"'$(uname -s)-$(uname -m)'"}' >> ~/.superstack/telemetry.jsonl 2>/dev/null || true
true
fi

Replace OUTCOME with success/error/abort based on the workflow result.

© sendaifun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references) in skills/idea/defillama-research of sendaifun/solana-new.

  • SKILL.md
  • agents/openai.yaml
  • references/defi-opportunity-framework.md
  • references/defillama-api-guide.md
  • references/tvl-as-trust-metric.md

Open the folder on GitHubat commit 38a494a

Compare with similar skills

Defillama Research next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Defillama Research compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Defillama Research this skillsendaifun/solana-new179—~1.8kAutomated safety check: PassMIT
Product Strategistdavila7/claude-code-templates33k3 repos~248Automated safety check: PassMIT
Tracking Crypto Derivativesjeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: PassMIT
Anygen DocLeoYeAI/openclaw-master-skills2.2k—~4.3kAutomated safety check: PassMIT
Tracking Crypto DerivativesaAAaqwq/AGI-Super-Team105—~2kAutomated safety check: PassMIT
Crypto ResearchMicrock/ordinary-claude-skills404—~1.5kAutomated safety check: NotesCustom licence

Similar skills

  • Product Strategist

    davila7/claude-code-templates

    Strategic product leadership toolkit for Head of Product including OKR cascade generation, market analysis, vision setting, and team scaling.

    33k GitHub starsUsed in 3 repos~248 tokens
    Business, Finance & HRAuto-check passed
  • Tracking Crypto Derivatives

    jeremylongshore/tons-of-skills-marketplace

    Track cryptocurrency futures, options, and perpetual swaps with funding rates, open interest, liquidations, and comprehensive derivatives market analysis.

    2.8k GitHub stars~1.3k tokensUpdated yesterday
    Business, Finance & HRAuto-check passed
  • Anygen Doc

    LeoYeAI/openclaw-master-skills

    Use this skill any time the user wants to create, draft, or generate a written document or report.

    2.2k GitHub stars~4.3k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Tracking Crypto Derivatives

    aAAaqwq/AGI-Super-Team

    Comprehensive derivatives market analysis across centralized and decentralized exchanges.

    105 GitHub stars~2k tokensUpdated 2 days ago
    Business, Finance & HRAuto-check passed
  • Crypto Research

    Microck/ordinary-claude-skills

    Comprehensive cryptocurrency market research and analysis using specialized AI agents.

    404 GitHub stars~1.5k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check: notes
  • Startup Pressure Test

    Kappaemme-git/codex-startup-pressure-test-skill

    Pressure-tests a startup idea with blunt, compact analysis of problem reality, competition, first customers and MVP, ending in a strong, weak or pivot verdict.

    990 GitHub stars~1.2k tokensUpdated 5 mo ago
    Business, Finance & HRAuto-check passed

More from sendaifun/solana-new

All 13 skills in this repo
  • Find Next Crypto Idea

    sendaifun/solana-new

    Interview users sharply to discover, rank, or validate what they should build in crypto.

    179 GitHub stars~2.5k tokensUpdated 8 days ago
    Auto-check passed
  • Colosseum Copilot

    sendaifun/solana-new

    Search and analyze 5,400+ Solana hackathon projects using Colosseum Copilot.

    179 GitHub stars~2.9k tokensUpdated 8 days ago
    Auto-check passed
  • Competitive Landscape

    sendaifun/solana-new

    Map the competitive landscape for a crypto product idea. An agent skill from sendaifun/solana-new.

    179 GitHub stars~1.7k tokensUpdated 8 days ago
    Auto-check passed
  • Deploy To Mainnet

    sendaifun/solana-new

    Guide a Solana project from devnet to mainnet production deployment.

    179 GitHub stars~1.8k tokensUpdated 8 days ago
    Auto-check passed
  • Solana Beginner

    sendaifun/solana-new

    Teach Solana fundamentals to developers new to the ecosystem.

    179 GitHub stars~2.4k tokensUpdated 8 days ago
    Auto-check passed
  • Submit To Hackathon

    sendaifun/solana-new

    Prepare and optimize a hackathon submission for a Solana project.

    179 GitHub stars~1.7k tokensUpdated 8 days ago
    Auto-check passed

Questions about Defillama Research

What does Defillama Research do?

Research DeFi protocols and market opportunities using DefiLlama data. Defillama Research is an agent skill from sendaifun/solana-new. Research DeFi protocols and market opportunities using DefiLlama data.

When should I use Defillama Research?

Defillama Research fits situations like: A user says show me TVL data; which protocols are growing; deFi market research; what should I build in DeFi.

How do I install Defillama Research in Claude Code?

Run `npx skills add sendaifun/solana-new --skill defillama-research -a claude-code`. Or copy the skill folder (skills/idea/defillama-research in sendaifun/solana-new) into .claude/skills/defillama-research in your project. Claude Code loads it when a task matches its description.

How do I install Defillama Research in Codex?

Run `npx skills add sendaifun/solana-new --skill defillama-research -a codex`. Or copy the skill folder (skills/idea/defillama-research in sendaifun/solana-new) into .agents/skills/defillama-research in your project. Codex loads it when a task matches its description.

Can I use Defillama Research in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sendaifun/solana-new --skill defillama-research -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/defillama-research, .gemini/skills/defillama-research, .github/skills/defillama-research and .opencode/skills/defillama-research in your project.

What does Defillama Research need to run?

Going by SKILL.md and its folder, Defillama Research needs the command-line tools its instructions call (curl).

Does Defillama Research access the network?

SKILL.md names 3 domains. In commands or code: api.llama.fi, stablecoins.llama.fi and yields.llama.fi; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Defillama Research safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Defillama Research use?

Defillama Research is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Defillama Research use?

About 1.8k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.

What are the alternatives to Defillama Research?

Skills that share tags, products or a category with Defillama Research: Product Strategist (davila7/claude-code-templates, 33k stars), Tracking Crypto Derivatives (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Anygen Doc (LeoYeAI/openclaw-master-skills, 2.2k stars) and Tracking Crypto Derivatives (aAAaqwq/AGI-Super-Team, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Defillama Research?

sendaifun (a GitHub organization) maintains it in sendaifun/solana-new, which has 179 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 2, 2026.

Source: sendaifun/solana-new on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.