pp-defillama
БесплатноБез исполняемых скриптовНе проверенPrinting Press CLI for Defillama. DefiLlama offers two ways to use our data with AI:
от mvanhorn★ 2 170 звёзд на GitHubОб этом скилле
Defillama — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the defillama-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install defillama --cli-only - Verify:
defillama-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):
go install github.com/mvanhorn/printing-press-library/library/other/defillama/cmd/defillama-pp-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
Using AI?
DefiLlama offers two ways to use our data with AI:
| Resource | For | Description |
|---|---|---|
| llms.txt | AI assistants (ChatGPT, Claude, Cursor, etc.) | Paste this link into your AI assistant for LLM-optimized docs |
| MCP Server | AI agents | Connect your agent directly to DefiLlama data — 23 tools, requires an API plan |
Quick start (MCP) — paste this into your AI agent:
Read https://raw.githubusercontent.com/DefiLlama/defillama-skills/refs/heads/master/defillama-setup/SKILL.md and follow the instructions to connect to DefiLlama MCP
Need higher rate limits or priority support? We offer a premium plan for 300$/mo. To get it, go to https://defillama.com/subscription
SDK
JavaScript — npm install @defillama/api — GitHub
Python — pip install defillama-sdk — GitHub
Quick start (JavaScript):
import { DefiLlama } from '@defillama/api'
const client = new DefiLlama()
const protocols = await client.tvl.getProtocols()
Quick start (Python):
from defillama_sdk import DefiLlama
client = DefiLlama()
protocols = client.tvl.getProtocols()
When Not to Use This CLI
Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.
Command Reference
batch-historical — Manage batch historical
defillama-pp-cli batch-historical— Strings accepted by period and searchWidth: Can use regular chart candle notion like ‘4h’ etc where: W = week, D = day
block — Manage block
defillama-pp-cli block <chain> <timestamp>— Runs binary search over a blockchain's blocks to get the closest one to a timestamp.
bridges — Manage bridges
defillama-pp-cli bridges get— Get summary of bridge volume and volume breakdown by chaindefillama-pp-cli bridges get-bridgedaystats— Get a 24hr token and address volume breakdown for a bridgedefillama-pp-cli bridges get-bridgevolume— Get historical volumes for a bridge, chain, or bridge on a particular chaindefillama-pp-cli bridges get-transactions— Get all transactions for a bridge within a date rangedefillama-pp-cli bridges list— List all bridges along with summaries of recent bridge volumes.
categories — Manage categories
defillama-pp-cli categories— Overview of all categories accross all protocols
chain-assets — Manage chain assets
defillama-pp-cli chain-assets— Get assets of all chains
chains — Manage chains
defillama-pp-cli chains— Get current TVL of all chains
chart — Manage chart
defillama-pp-cli chart get— Strings accepted by period and searchWidth: Can use regular chart candle notion like ‘4h’ etc where: W = week, D = daydefillama-pp-cli chart get-fork— Returns an array of [timestamp, value] pairs representing TVL over time for all forks of a specific protocol.defillama-pp-cli chart get-metric— Returns an array of [timestamp, value] pairs representing the total metric value over time.defillama-pp-cli chart get-oracle— Returns an array of [timestamp, value] pairs representing oracle TVL over time for a specific chain.defillama-pp-cli chart get-oracle-2— Returns an array of [timestamp, value] pairs representing TVL over time for
Установить pp-defillama в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashFAQ
Что делает скилл pp-defillama?
Printing Press CLI for Defillama. DefiLlama offers two ways to use our data with AI:
Как установить скилл pp-defillama?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pp-defillama запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic