返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
d

defillama-openapi-skill

Operate DefiLlama public analytics APIs through UXC with a curated OpenAPI schema and read-first guardrails.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
180
下载量
0
收藏
概述
安装方式
版本历史

defillama-openapi-skill

# DefiLlama Public API Skill Use this skill to run DefiLlama public API operations through `uxc` + OpenAPI. Reuse the `uxc` skill for shared execution, auth, and error-handling guidance. ## Prerequisites - `uxc` is installed and available in `PATH`. - Network access to `https://api.llama.fi`. - Access to the curated OpenAPI schema URL: - `https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-openapi-skill/references/defillama-public.openapi.json` ## Scope This skill covers a public read-only analytics surface on `api.llama.fi`: - protocol TVL list - per-protocol detail - chain overview reads This skill does **not** cover: - write operations or account management - DefiLlama Pro key-in-path auth - split-host public services such as `coins.llama.fi` and `yields.llama.fi` - the full DefiLlama public API surface ## Authentication This public skill does not require authentication. ## Core Workflow 1. Use the fixed link command by default: - `command -v defillama-openapi-cli` - If missing, create it: `uxc link defillama-openapi-cli https://api.llama.fi --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-openapi-skill/references/defillama-public.openapi.json` - `defillama-openapi-cli -h` 2. Inspect operation schema first: - `defillama-openapi-cli get:/protocols -h` - `defillama-openapi-cli get:/protocol/{protocol} -h` - `defillama-openapi-cli get:/v2/chains -h` 3. Prefer narrow read validation before broader reads: - `defillama-openapi-cli get:/v2/chains` - `defillama-openapi-cli get:/protocols` - `defillama-openapi-cli get:/protocol/{protocol} protocol=aave` 4. Execute with key/value parameters: - `defillama-openapi-cli get:/protocol/{protocol} protocol=aave` - `defillama-openapi-cli get:/v2/chains` ## Operations - `get:/protocols` - `get:/protocol/{protocol}` - `get:/v2/chains` ## Guardrails - Keep automation on the JSON output envelope; do not use `--text`. - Parse stable fields first: `ok`, `kind`, `protocol`, `data`, `error`. - Treat this v1 skill as read-only. Do not imply wallet, trading, or admin support. - Public DefiLlama data is split across multiple hosts. This skill intentionally stays on `api.llama.fi`; use the separate Pro skill when you need the unified Pro host. - `defillama-openapi-cli <operation> ...` is equivalent to `uxc https://api.llama.fi --schema-url <defillama_openapi_schema> <operation> ...`. ## References - Usage patterns: `references/usage-patterns.md` - Curated OpenAPI schema: `references/defillama-public.openapi.json` - DefiLlama API docs: https://defillama.com/docs/api

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 defillama-openapi-skill-1776358443 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 defillama-openapi-skill-1776358443 技能

通过命令行安装

skillhub install defillama-openapi-skill-1776358443

下载 Zip 包

⬇ 下载 defillama-openapi-skill v1.0.0

文件大小: 4.4 KB | 发布时间: 2026-4-17 14:37

v1.0.0 最新 2026-4-17 14:37
- Initial release of the DefiLlama OpenAPI skill for UXC.
- Enables read-only access to DefiLlama's public analytics API via a curated OpenAPI schema.
- Supports protocol TVL list, per-protocol detail, and chain overview reads.
- No authentication required; focuses on public endpoints from api.llama.fi only.
- Outlines recommended CLI linking, operation inspection, and safe-automation guardrails.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部