← Back to Skills Marketplace
jolestar

DefiLlama Yields OpenAPI Skill

by jolestar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
206
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install defillama-yields-openapi-skill
Description
Operate DefiLlama public yield APIs through UXC with a curated OpenAPI schema and read-first guardrails.
README (SKILL.md)

DefiLlama Yields API Skill

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

Scope

This skill covers a public read-only yield surface on yields.llama.fi:

  • yield pool discovery
  • per-pool chart history

This skill does not cover:

  • write operations
  • protocol or chain overview endpoints from api.llama.fi
  • price endpoints from coins.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-yields-openapi-cli
    • If missing, create it: uxc link defillama-yields-openapi-cli https://yields.llama.fi --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-yields-openapi-skill/references/defillama-yields.openapi.json
    • defillama-yields-openapi-cli -h
  2. Inspect operation schema first:

    • defillama-yields-openapi-cli get:/pools -h
    • defillama-yields-openapi-cli get:/chart/{pool} -h
  3. Prefer narrow read validation before broader reads:

    • defillama-yields-openapi-cli get:/pools
    • defillama-yields-openapi-cli get:/chart/{pool} pool=747c1d2a-c668-4682-b9f9-296708a3dd90

Operations

  • get:/pools
  • get:/chart/{pool}

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.
  • Public DefiLlama data is split across multiple hosts; this skill intentionally wraps only yields.llama.fi.
  • defillama-yields-openapi-cli \x3Coperation> ... is equivalent to uxc https://yields.llama.fi --schema-url \x3Cdefillama_yields_openapi_schema> \x3Coperation> ....

References

  • Usage patterns: references/usage-patterns.md
  • Curated OpenAPI schema: references/defillama-yields.openapi.json
  • DefiLlama API docs: https://defillama.com/docs/api
Usage Guidance
This skill appears to do exactly what it says: provide read-only access to DefiLlama yields via uxc and a curated OpenAPI schema. Before installing: (1) confirm you have or trust the 'uxc' CLI (SKILL.md requires it but the metadata didn't list it), (2) verify you are comfortable allowing network access to yields.llama.fi and raw.githubusercontent.com (the schema URL), and (3) review the included references/defillama-yields.openapi.json if you want to verify which endpoints will be called. If you plan to run the included scripts/validate.sh locally, note it requires jq and ripgrep (rg). No credentials are requested and there are no obvious exfiltration steps in the instructions — the mismatch about declaring 'uxc' as a required binary is the only notable inconsistency.
Capability Analysis
Type: OpenClaw Skill Name: defillama-yields-openapi-skill Version: 1.0.0 The skill bundle is a legitimate wrapper for the public DefiLlama Yields API, facilitating read-only access to yield pool data and charts via the 'uxc' tool. All files, including SKILL.md and the validation script, align with the stated purpose of providing a curated interface for public financial data without requiring authentication or sensitive permissions.
Capability Assessment
Purpose & Capability
The skill's name, description, OpenAPI schema, and instructions consistently describe a read-only wrapper for yields.llama.fi. However, SKILL.md explicitly requires the 'uxc' CLI be present in PATH (and shows linking commands), but the registry metadata lists no required binaries — this is a minor inconsistency (uxc should be declared as a required binary). Otherwise the declared files (schema, usage patterns) match the stated purpose.
Instruction Scope
Runtime instructions are narrowly scoped to read-only operations on yields.llama.fi via uxc and a curated OpenAPI schema. They instruct creating a local uxc link/CLI and running get:/pools and get:/chart/{pool}. There are no instructions to read unrelated files, exfiltrate secrets, or call other endpoints beyond the documented schema and GitHub-hosted schema URL.
Install Mechanism
There is no install spec (instruction-only skill). The only network resources referenced are public: yields.llama.fi and a raw.githubusercontent.com URL for the schema. No downloads of arbitrary archives or obscure hosts are present.
Credentials
The skill requests no environment variables or credentials and the SKILL.md declares the API is public and read-only. There are no unexpected SECRET/TOKEN/PASSWORD requirements or config path access.
Persistence & Privilege
The skill is not marked 'always: true' and does not request system-wide changes. It is user-invocable and allows normal autonomous invocation (platform default). Nothing here indicates elevated or persistent privileges beyond typical skill behavior.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install defillama-yields-openapi-skill
  3. After installation, invoke the skill by name or use /defillama-yields-openapi-skill
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the DefiLlama Yields OpenAPI Skill. - Enables read-only access to DefiLlama Yield APIs via UXC and a curated OpenAPI schema. - Supports public yield pool discovery and per-pool chart history endpoints. - No authentication required; all endpoints are public and read-only. - Includes comprehensive guardrails and operational workflow for consistent usage. - Excludes write operations and non-yield/Pro API endpoints.
Metadata
Slug defillama-yields-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 Yields OpenAPI Skill?

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

How do I install DefiLlama Yields OpenAPI Skill?

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

Is DefiLlama Yields OpenAPI Skill free?

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

Which platforms does DefiLlama Yields OpenAPI Skill support?

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

Who created DefiLlama Yields OpenAPI Skill?

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

💬 Comments