Query DeFiLlama for TVL, protocol analytics, yield pools, and stablecoin data.

MITAuto-check passedBusiness, Finance & HR

Install Defillama

skills CLI
$ npx skills add TermiX-official/cryptoclaw --skill defillama -a claude-code

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

GitHub CLI
$ gh skill install TermiX-official/cryptoclaw defillama --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/TermiX-official/cryptoclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/defillama .claude/skills/defillama && 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
GitHub stars
100
Token cost
~843 tokens
SKILL.md length
318 words
Files
1
Skills in repo
32
Repo updated
First seen
Licence
MIT

At a glance

Query DeFiLlama for TVL, protocol analytics, yield pools, and stablecoin data.

  • Tasks that involve Crypto and DeFi analysis
  • SKILL.md covers Base URLs, Endpoints, Common Protocol Slugs and Usage Notes, plus 1 more section
  • Reaches api.llama.fi and yields.llama.fi

What it does

Defillama is an agent skill from TermiX-official/cryptoclaw. Query DeFiLlama for TVL, protocol analytics, yield pools, and stablecoin data.

Its SKILL.md is about 840 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Business, Finance & HR, covering Crypto and DeFi analysis. The licence is MIT.

When your agent uses it

  • Tasks that involve Crypto and DeFi analysis

Example prompts

  • “/defillama”

What it can do on your machine

Read from SKILL.md and the folder at commit 9e1c91b. 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

    No scripts in the folder and no shell commands in SKILL.md.

    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
    • yields.llama.fi
    • stablecoins.llama.fi
    • coins.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 loads about 843 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 318 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~843

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 TermiX-official/cryptoclaw at commit 9e1c91b, republished under its MIT licence (© TermiX-official). 318 words, ~843 tokens.

Download SKILL.mdSave it as .claude/skills/defillama/SKILL.md (or your agent's skills folder).
name
defillama
description
Query DeFiLlama for TVL, protocol analytics, yield pools, and stablecoin data.

DeFiLlama API

Query DeFi protocol TVL, yield farming opportunities, chain analytics, and stablecoin data via the free DeFiLlama API.

Base URLs

  • TVL & Protocols: https://api.llama.fi
  • Yields: https://yields.llama.fi
  • Stablecoins: https://stablecoins.llama.fi
  • Coins (prices): https://coins.llama.fi

No API key required. No strict rate limits, but be respectful.

Endpoints

Protocol List
GET https://api.llama.fi/v2/protocols

Returns all tracked protocols with current TVL, chain breakdown, category, and URL. Large payload — always filter or limit output to top N results.

Protocol TVL History
GET https://api.llama.fi/v2/tvl/{protocol}
  • protocol: slug from protocols list (see table below)
  • Returns daily TVL data points
Protocol Detail
GET https://api.llama.fi/protocol/{protocol}

Returns full protocol info: TVL per chain, token breakdown, governance token, audits.

Chain TVL
GET https://api.llama.fi/v2/chains

Returns TVL for every tracked chain. Useful for chain comparison.

Yield Pools
GET https://yields.llama.fi/pools

Returns all tracked yield pools. Very large payload — always filter by chain or project in your output.

Useful fields per pool: chain, project, symbol, tvlUsd, apy, apyBase, apyReward, stablecoin.

Stablecoins
GET https://stablecoins.llama.fi/stablecoins?includePrices=true

Returns all stablecoins with circulating supply, peg data, and chain breakdown.

Token Prices
GET https://coins.llama.fi/prices/current/{coins}
  • coins: comma-separated in format {chain}:{address} (e.g., bsc:0x0E09...)
  • Chain keys: bsc, ethereum, polygon, arbitrum, optimism, base

Common Protocol Slugs

ProtocolSlug
PancakeSwappancakeswap
Uniswapuniswap
Aave V3aave-v3
Lidolido
Curvecurve-finance
MakerDAOmakerdao
Compoundcompound-finance
GMXgmx
Convexconvex-finance
Rocket Poolrocket-pool
Venusvenus
Alpaca Financealpaca-finance
Biswapbiswap
Radiantradiant-v2

Usage Notes

  • Large payloads: The /v2/protocols and /pools endpoints return massive JSON arrays. Always extract and present only the top N items relevant to the user's query.
  • Combine with CoinGecko for token price context and with read_contract for on-chain verification of TVL claims.
  • When presenting yield data, always note that APY is historical and not guaranteed.
  • Sort pools by TVL to surface safer opportunities first.

Example Queries

User: "What's the TVL of PancakeSwap?" → Fetch https://api.llama.fi/v2/tvl/pancakeswap, report latest TVL

User: "Top yield pools on BSC" → Fetch /pools, filter chain === "BSC", sort by tvlUsd desc, show top 10 with APY

User: "Compare TVL across chains" → Fetch /v2/chains, sort by tvl desc, present top 10

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

Files

Just SKILL.md in skills/defillama of TermiX-official/cryptoclaw.

Open the folder on GitHubat commit 9e1c91b

Compare with similar skills

Defillama 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 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Defillama this skillTermiX-official/cryptoclaw100—~843Automated safety check: PassMIT
Technical Analysttradermonty/claude-trading-skills3k4 repos~4.6kAutomated safety check: PassMIT
Polyclawchainstacklabs/polyclaw3591 repos~2kAutomated safety check: PassApache-2.0
Longbridge Researchhelsome/folio2713 repos~2.1kAutomated safety check: PassMIT
Stock Analysis24mlight/StockClaw1012 repos~2kAutomated safety check: NotesMIT
Swapper Depositswapperfinance/swapper-toolkit852—~1.8kAutomated safety check: PassMIT

Similar skills

  • Technical Analyst

    tradermonty/claude-trading-skills

    This skill should be used when analyzing weekly price charts for stocks, stock indices, cryptocurrencies, or forex pairs.

    3k GitHub starsUsed in 4 repos~4.6k tokens
    Business, Finance & HRAuto-check passed
  • Polyclaw

    chainstacklabs/polyclaw

    Trade on Polymarket via split + CLOB execution. An agent skill from chainstacklabs/polyclaw.

    359 GitHub starsUsed in 1 repo~2k tokens
    Business, Finance & HRAuto-check passed
  • Longbridge Research

    helsome/folio

    Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…

    271 GitHub starsUsed in 3 repos~2.1k tokens
    Business, Finance & HRAuto-check passed
  • Stock Analysis

    24mlight/StockClaw

    Analyze stocks and cryptocurrencies using Yahoo Finance data.

    101 GitHub starsUsed in 2 repos~2k tokens
    Business, Finance & HRAuto-check: notes
  • Swapper Deposit

    swapperfinance/swapper-toolkit

    Deposit and bridge funds into a wallet or protocol using Swapper Finance.

    852 GitHub stars~1.8k tokensUpdated 6 mo ago
    Business, Finance & HRAuto-check passed
  • Okx Cex Earn

    okx/agent-skills

    Manages OKX Simple Earn (flexible savings/lending), Flash Earn, On-chain Earn (staking/DeFi), Dual Investment (DCD/双币赢), and AutoEarn (自动赚币) via the okx CLI.

    187 GitHub starsUsed in 2 repos~3.3k tokens
    Business, Finance & HRAuto-check passed

More from TermiX-official/cryptoclaw

All 32 skills in this repo
  • Coding Agent

    TermiX-official/cryptoclaw

    Delegate coding tasks to Codex, Claude Code, or Pi agents via background process.

    100 GitHub starsUsed in 7 repos~2.7k tokens
    Auto-check passed
  • Prose

    TermiX-official/cryptoclaw

    OpenProse VM skill pack. An agent skill from TermiX-official/cryptoclaw.

    100 GitHub starsUsed in 3 repos~3.8k tokens
    Auto-check: notes
  • Merge PR

    TermiX-official/cryptoclaw

    Merge a GitHub PR via squash after /preparepr. An agent skill from TermiX-official/cryptoclaw.

    100 GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Review PR

    TermiX-official/cryptoclaw

    Review-only GitHub pull request analysis with the gh CLI. An agent skill from TermiX-official/cryptoclaw.

    100 GitHub stars~1.7k tokensUpdated 4 mo ago
    Auto-check passed
  • Acp Router

    TermiX-official/cryptoclaw

    Route plain-language requests for Pi, Claude Code, Codex, OpenCode, Gemini CLI, or ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow).

    100 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Agentic Commerce

    TermiX-official/cryptoclaw

    Create, fund, and settle on-chain agent jobs via ERC-8183 Agentic Commerce Protocol.

    100 GitHub stars~787 tokensUpdated 4 mo ago
    Auto-check passed

Questions about Defillama

What does Defillama do?

Query DeFiLlama for TVL, protocol analytics, yield pools, and stablecoin data. Defillama is an agent skill from TermiX-official/cryptoclaw. Query DeFiLlama for TVL, protocol analytics, yield pools, and stablecoin data.

When should I use Defillama?

Defillama fits situations like: tasks that involve Crypto and DeFi analysis.

How do I install Defillama in Claude Code?

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

How do I install Defillama in Codex?

Run `npx skills add TermiX-official/cryptoclaw --skill defillama -a codex`. Or copy the skill folder (skills/defillama in TermiX-official/cryptoclaw) into .agents/skills/defillama in your project. Codex loads it when a task matches its description.

Can I use Defillama 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 TermiX-official/cryptoclaw --skill defillama -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, .gemini/skills/defillama, .github/skills/defillama and .opencode/skills/defillama in your project.

What does Defillama need to run?

SKILL.md names no scripts, command-line tools or credentials: Defillama is instructions for the agent only.

Does Defillama access the network?

SKILL.md names 4 domains. In commands or code: api.llama.fi, yields.llama.fi, stablecoins.llama.fi and coins.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 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 use?

Defillama 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 use?

About 843 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Defillama?

Skills that share tags, products or a category with Defillama: Technical Analyst (tradermonty/claude-trading-skills, 3k stars), Polyclaw (chainstacklabs/polyclaw, 359 stars), Longbridge Research (helsome/folio, 271 stars) and Stock Analysis (24mlight/StockClaw, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Defillama?

TermiX-official (a GitHub organization) maintains it in TermiX-official/cryptoclaw, which has 100 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on May 25, 2026.

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