← Back to Skills Marketplace
jolestar

DefiLlama Prices OpenAPI Skill

by jolestar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
207
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install defillama-prices-openapi-skill
Description
Operate DefiLlama public price APIs through UXC with a curated OpenAPI schema and read-first guardrails.
README (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
Usage Guidance
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).
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install defillama-prices-openapi-skill
  3. After installation, invoke the skill by name or use /defillama-prices-openapi-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug defillama-prices-openapi-skill
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is DefiLlama Prices OpenAPI Skill?

Operate DefiLlama public price APIs through UXC with a curated OpenAPI schema and read-first guardrails. It is an AI Agent Skill for Claude Code / OpenClaw, with 207 downloads so far.

How do I install DefiLlama Prices OpenAPI Skill?

Run "/install defillama-prices-openapi-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is DefiLlama Prices OpenAPI Skill free?

Yes, DefiLlama Prices OpenAPI Skill is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does DefiLlama Prices OpenAPI Skill support?

DefiLlama Prices OpenAPI Skill is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created DefiLlama Prices OpenAPI Skill?

It is built and maintained by jolestar (@jolestar); the current version is v1.0.0.

💬 Comments