Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-defillama

БесплатноБез исполняемых скриптовНе проверен

Printing Press CLI for Defillama. DefiLlama offers two ways to use our data with AI:

mvanhornот 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:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install defillama --cli-only
    
  2. Verify: defillama-pp-cli --version
  3. Ensure the reported install directory is on $PATH for 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 chain
  • defillama-pp-cli bridges get-bridgedaystats — Get a 24hr token and address volume breakdown for a bridge
  • defillama-pp-cli bridges get-bridgevolume — Get historical volumes for a bridge, chain, or bridge on a particular chain
  • defillama-pp-cli bridges get-transactions — Get all transactions for a bridge within a date range
  • defillama-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 = day
  • defillama-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
Полный SKILL.md на GitHub

Установить pp-defillama в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл 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), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-defillama с