defillama SKILL.md skillA
defillama from starchild-ai-agent/official-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add starchild-ai-agent/official-skills/defillama@v2.2.3Pins v2.2.3 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- starchild-ai-agent/official-skills
- Path
defillama/SKILL.md- Versions recorded
- 5
- Latest version
- v2.2.3, committed May 21, 2026
- First version recorded
- Apr 10, 2026
- Size
- 17,731 bytes
- Repository stars
- 32
- License
- none declared
DeFi analytics: protocol TVL, stablecoin yields, fees, DEX volume, bridges, treasuries. Use when screening yield strategies, comparing protocols, or tracking chain flows (e.g. best USDC yield, Uniswap fees, Arbitrum TVL).
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# DefiLlama API
> **Script-mode skill (PoC).** This skill is NOT registered as Anthropic
> tools. To use it, read this file, then run `python` in `bash` and import
> from `exports.py`. See **Script Usage** section below.
## Script Usage
This skill ships a single `exports.py` with all functions. Call it from a
`bash` block like this:
```bash
python3 - <<'EOF'
import sys, json
sys.path.insert(0, "/data/workspace/skills/defillama")
from exports import protocols, chains, yield_pools, dex_overview, fees_overview
# Top 10 protocols by TVL
data = protocols()
top = sorted(data, key=lambda p: p.get("tvl") or 0, reverse=True)[:10]
print(json.dumps([{"name": p["name"], "tvl": p["tvl"]} for p in top], indent=2))
EOF
```
Available functions in `exports.py`: `protocols`, `chains`, `protocol_tvl`,
`yield_pools`, `dex_overview`, `fees_overview`, `revenue_overview`,
`stablecoins`, `bridges`, `treasury`. Read `exports.py` directly for
signatures.
**Trit**: -1 (MINUS - Validator/Data Source)
**Color**: #4A90D9 (Cold blue, 210°)
Comprehensive DeFi data from DefiLlama's API ecosystem.
## Function Reference (signatures)
All functions are in `exports.py`. Call from a `bash` block after
…Read the whole file at its exact version.
How to install
mdr add starchild-ai-agent/official-skills/defillama@sha256:5dfb6ea19717ab13The line at the top of this page pins the label v2.2.3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ekeoemoea47gjvob)
7 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 10, 2026 and May 21, 2026, about one every 10 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v2.2.3 latest | 2026-05-21 | 868b4d4 | 17,731 B | A | view · diff |
| v2.2.2 | 2026-05-04 | cdac6e5 | 17,778 B | A | view · diff |
| v2.2.1 | 2026-05-04 | e7bab88 | 17,794 B | A | view · diff |
| v2.2.0 | 2026-05-04 | 5cf57fc | 15,890 B | A | view · diff |
| v2.1.2 | 2026-04-10 | 97cb86a | 10,753 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (17731 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
starchild-ai-agent/official-skills · 32 stars · license none declared · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ekeoemoea47gjvob GET https://markdownregistry.com/api/v1/resolve?ref=starchild-ai-agent/official-skills/defillama GET https://markdownregistry.com/api/v1/blob/5dfb6ea19717ab135a86c34d39b4fcc06242f20d0c750f22e9f93a292a7ba8f9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.