← 返回 Skills 市场
jolestar

DefiLlama Prices OpenAPI Skill

作者 jolestar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
207
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install defillama-prices-openapi-skill
功能描述
Operate DefiLlama public price APIs through UXC with a curated OpenAPI schema and read-first guardrails.
使用说明 (SKILL.md)

DefiLlama Prices API Skill

Use this skill to run DefiLlama public price 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://coins.llama.fi.
  • Access to the curated OpenAPI schema URL:
    • https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-prices-openapi-skill/references/defillama-prices.openapi.json

Scope

This skill covers a small public read-only price surface on coins.llama.fi:

  • current price lookups for one or more assets

This skill does not cover:

  • write operations
  • protocol or chain overview endpoints from api.llama.fi
  • yield endpoints from yields.llama.fi
  • DefiLlama Pro APIs

Authentication

This public skill does not require authentication.

Core Workflow

  1. Use the fixed link command by default:

    • command -v defillama-prices-openapi-cli
    • If missing, create it: 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
  2. Inspect operation schema first:

    • defillama-prices-openapi-cli get:/prices/current/{coins} -h
  3. Prefer narrow read validation before broader reads:

    • defillama-prices-openapi-cli get:/prices/current/{coins} coins=coingecko:bitcoin searchWidth=4h

Operations

  • get:/prices/current/{coins}

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.
  • This skill only wraps coins.llama.fi; use the separate public analytics or yields skills for other DefiLlama hosts.
  • defillama-prices-openapi-cli \x3Coperation> ... is equivalent to uxc https://coins.llama.fi --schema-url \x3Cdefillama_prices_openapi_schema> \x3Coperation> ....

References

  • Usage patterns: references/usage-patterns.md
  • Curated OpenAPI schema: references/defillama-prices.openapi.json
  • DefiLlama API docs: https://defillama.com/docs/api
安全使用建议
This skill appears to do exactly what it says: perform read-only price queries against the public DefiLlama endpoint using uxc and a curated OpenAPI schema. Before installing: (1) ensure you trust the 'uxc' tool/skill on your agent because this skill delegates execution to it; (2) confirm you are comfortable allowing network calls to https://coins.llama.fi and https://raw.githubusercontent.com (these endpoints are required to fetch data and the schema); (3) inspect the referenced schema URL in the GitHub repo to ensure it matches expectations; (4) if you plan to run the provided validate.sh locally, have jq and ripgrep (rg) available and review the script; (5) if you want to limit risk, disable autonomous invocation for this skill or restrict who/what can call it. Do not provide any private keys or credentials to this skill (none are required).
功能分析
Type: OpenClaw Skill Name: defillama-prices-openapi-skill Version: 1.0.0 The skill is a standard wrapper for the DefiLlama public price API using the uxc tool. It facilitates read-only access to cryptocurrency price data via the coins.llama.fi endpoint. The SKILL.md and validation scripts (scripts/validate.sh) are well-structured, focusing on environment checks and schema validation without any evidence of data exfiltration, malicious execution, or harmful prompt injection.
能力评估
Purpose & Capability
The name/description match the requested actions. The skill only targets coins.llama.fi and the included OpenAPI schema, and the only runtime prerequisite is the uxc tool (documented). The included validate.sh is a repo validation helper (dev-time), not part of runtime behavior.
Instruction Scope
SKILL.md instructs only read operations against /prices/current/{coins}, uses a fixed schema URL, and explicitly states read-only guardrails. It does require network access to coins.llama.fi and raw.githubusercontent.com to fetch schema and call the API, and it reuses the uxc skill for execution/error handling (so trust in uxc matters).
Install Mechanism
No install spec — instruction-only skill — so nothing is written to disk or downloaded by the platform. The only script included (scripts/validate.sh) is for local validation and depends on jq and ripgrep if you run it; it is not automatically executed on install.
Credentials
The skill requests no environment variables or credentials, which is appropriate. Note: it delegates execution to the uxc skill/tool; if your uxc installation or 'uxc' skill has credential management or additional permissions, review those separately because they could broaden the effective privileges.
Persistence & Privilege
always:false and default model invocation settings are used (agent may invoke autonomously, which is normal). The skill does not request persistent or system-wide configuration changes and does not modify other skills.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install defillama-prices-openapi-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /defillama-prices-openapi-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
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.
元数据
Slug defillama-prices-openapi-skill
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

DefiLlama Prices OpenAPI Skill 是什么?

Operate DefiLlama public price APIs through UXC with a curated OpenAPI schema and read-first guardrails. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 207 次。

如何安装 DefiLlama Prices OpenAPI Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install defillama-prices-openapi-skill」即可一键安装,无需额外配置。

DefiLlama Prices OpenAPI Skill 是免费的吗?

是的,DefiLlama Prices OpenAPI Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

DefiLlama Prices OpenAPI Skill 支持哪些平台?

DefiLlama Prices OpenAPI Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 DefiLlama Prices OpenAPI Skill?

由 jolestar(@jolestar)开发并维护,当前版本 v1.0.0。

💬 留言讨论