闲社服务运行正常AI智能体自动化平台
d

DefiLlama价格API

技能标识:defillama-prices-openapi-skill

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

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

DefiLlama价格API

技能名称: defillama-prices-openapi-skill

详细描述:

DefiLlama 价格 API 技能

使用此技能通过 uxc + OpenAPI 运行 DefiLlama 公共价格 API 操作。

复用 uxc 技能以获取共享执行、认证和错误处理指导。

前提条件

  • - uxc 已安装并可在 PATH 中使用。
  • 可访问网络 https://coins.llama.fi。
  • 可访问精选的 OpenAPI 模式 URL:
- https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-prices-openapi-skill/references/defillama-prices.openapi.json

范围

此技能涵盖 coins.llama.fi 上一个小型公共只读价格接口:

  • - 一个或多个资产的当前价格查询

此技能不涵盖:

  • - 写入操作
  • 来自 api.llama.fi 的协议或链概览端点
  • 来自 yields.llama.fi 的收益端点
  • DefiLlama Pro API

认证

此公共技能不需要认证。

核心工作流程

  1. 1. 默认使用固定链接命令:
- command -v defillama-prices-openapi-cli - 如果缺失,则创建它: uxc link defillama-prices-openapi-cli https://coins.llama.fi --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-prices-openapi-skill/references/defillama-prices.openapi.json - defillama-prices-openapi-cli -h
  1. 2. 首先检查操作模式:
- defillama-prices-openapi-cli get:/prices/current/{coins} -h
  1. 3. 在进行更广泛的读取之前,优先进行窄范围读取验证:
- defillama-prices-openapi-cli get:/prices/current/{coins} coins=coingecko:bitcoin searchWidth=4h

操作

  • - get:/prices/current/{coins}

防护措施

  • - 保持自动化在 JSON 输出信封上;不要使用 --text。
  • 首先解析稳定字段:ok、kind、protocol、data、error。
  • 将此 v1 技能视为只读。
  • 此技能仅封装 coins.llama.fi;对于其他 DefiLlama 主机,请使用单独的公共分析或收益技能。
  • defillama-prices-openapi-cli <操作> ... 等同于 uxc https://coins.llama.fi --schema-url pricesopenapi_schema> <操作> ...。

参考资料

  • - 使用模式:references/usage-patterns.md
  • 精选的 OpenAPI 模式:references/defillama-prices.openapi.json
  • DefiLlama API 文档:https://defillama.com/docs/api

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

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

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

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

通过命令行安装

skillhub install defillama-prices-openapi-skill-1776358502

下载

⬇ 下载 defillama-prices-openapi-skill v1.0.0(免费)

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

v1.0.0 最新 2026-4-17 14:37
Initial release of DefiLlama Prices OpenAPI skill:

- Enables access to DefiLlama's public coin price APIs via UXC and OpenAPI.
- Supports current price lookups for single or multiple assets.
- Operates in read-only mode; no write or advanced endpoints included.
- Uses curated OpenAPI schema with clear workflow and guardrails.
- No authentication required.
返回顶部