defillama-analytics-guide

defillama-analytics-guide is a skill for Claude Code, Codex from nirholas/three.ws. It costs 67 tokens per session (2,060 once invoked), scanned A, original, Apache-2.0.

A guide to DeFi Llama, a free service that provides data about decentralised finance, including money deposited in protocols, lending rates, stablecoins, prices, and bridges.

In plain words
What is it for?
It is for querying protocol size, yield pools, stablecoin activity, token prices, chain comparisons, and bridge volumes through an API.
Why use it?
It gives developers one keyless source for several types of crypto market data instead of requiring separate paid or rate-limited services.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nirholas/three.ws/defillama-analytics-guide
Any agent
npx skills add nirholas/three.ws --skill defillama-analytics-guide
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for defillama-analytics-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/defillama-analytics-guide.svg)](https://agentmods.dev/skills/nirholas/three.ws/defillama-analytics-guide)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/defillama-analytics-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/defillama-analytics-guide.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00067 $0.02060
Opus 5 $0.00034 $0.01030
Sonnet 5 $0.00013 $0.00412
Haiku 4.5 $0.00007 $0.00206

Measured 4d ago against content hash 0dbad9359495, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

defillama-analytics-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

data/skills/analysis/defillama-analytics-guide/SKILL.md · 277 lines

How it starts

The opening of the file, as written. The whole thing — 277 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DeFi Llama Analytics Guide

DeFi Llama is the best free API in crypto — zero API key, zero rate limiting, comprehensive DeFi coverage. This guide teaches AI agents how to use every endpoint.

Why DeFi Llama?

Feature DeFi Llama CoinGecko (Free) CoinMarketCap (Free)
API Key None None Required
Rate Limit None 30/min (strict) 30/min
TVL Data Best in class Limited Limited
Yield Data Only source None None
Price Data ✅ (rate limited) ✅ (key required)
Stablecoin Data Only source Limited Limited
Cost Free forever Free (crippled) Free (crippled)

Core API Endpoints

Base URL: https://api.llama.fi

Protocol TVL

# All protocols
GET https://api.llama.fi/protocols

# Single protocol
GET https://api.llama.fi/protocol/{slug}

# Examples:
GET https://api.llama.fi/protocol/aave
GET https://api.llama.fi/protocol/uniswap
GET https://api.llama.fi/protocol/sperax

Response fields (per protocol):

Field Description
name Protocol name
tvl Current total TVL
chainTvls TVL breakdown by chain
change_1h/1d/7d TVL change percentages
chains List of chains protocol is on
category DeFi category (DEX, Lending, CDP, etc.)

Chain TVL

# All chains
GET https://api.llama.fi/v2/chains

# Historical TVL for a chain
GET https://api.llama.fi/v2/historicalChainTvl/Arbitrum

Global DeFi Stats

# Total DeFi TVL
GET https://api.llama.fi/v2/historicalChainTvl

# Returns: Daily TVL across all chains combined

Token Prices API

Base URL: https://coins.llama.fi

Current Prices

# By chain:address
GET https://coins.llama.fi/prices/current/ethereum:0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

# Multiple tokens (comma-separated)
GET https://coins.llama.fi/prices/current/ethereum:0xC02aaA39...,arbitrum:0xD74f5255...

# By CoinGecko ID
GET https://coins.llama.fi/prices/current/coingecko:bitcoin,coingecko:ethereum

Read the full file on GitHub · 277 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 277 lines · 67 tokens per session scan A 0dbad9359495

Subscribe to this mod's changes

defillama-analytics-guide is a skill published in the GitHub repository nirholas/three.ws (110 stars, last pushed today), licensed Apache-2.0. It adds 67 tokens to every session and 2,060 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

write-contracts

Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement…

aptos-labs/aptos-agent-skills · 104 tokens

chainstack

Work with the Chainstack MCP server to manage blockchain nodes and projects. Use when deploying nodes, migrating to Chainstack from another RPC provider such as QuickNode or Alchemy, checking platform status, searching Chainstack docs, contacting the Chainstack team, or interacting with the Chainstack platform API via…

chainstacklabs/mcp-server · 66 tokens

xpr-network-dev

XPR Network (formerly Proton) blockchain development - proton-tsc smart contracts, @proton CLI and web SDK, RPC and Hyperion queries, DeFi (MetalX, Alcor, LOAN), NFTs, the XPR Agents job board, node and Hyperion operations. Use for anything mentioning XPR, Proton, or @proton packages.

XPRNetwork/xpr-network-dev-skill · 77 tokens

crypto-onchain

On-Chain Analytics Agent — whale movements, exchange flows, active addresses, network growth, holder distribution, and transaction metrics with On-Chain Score (0-100).

zubair-trabzada/ai-crypto-claude · 38 tokens

dune

Expert assistant for querying and analyzing on-chain blockchain data using Dune Analytics. Use whenever the user wants to: analyze blockchain/on-chain data, write SQL for Dune, find wallet activity, track DeFi protocol metrics, analyze NFT trades, monitor token transfers, investigate smart contract events, check token…

Vo1ganin/crypto-claude-skills · 154 tokens

convex-lisp

Convex Lisp language reference — CVM conventions, calling library code, actor definitions, juice and error codes. Use when writing or debugging CVM source for queries, transactions or actors.

Convex-Dev/convex · 42 tokens