defillama-openapi-skill

defillama-openapi-skill is a skill for Codex from holon-run/uxc. It costs 31 tokens per session (746 once invoked), scanned A, original, MIT.

A read-only connection to DefiLlama, a service that tracks decentralised finance activity. It provides selected data about protocols, their total value locked, and blockchain networks.

In plain words
What is it for?
Use it to list DeFi protocols by total value locked, inspect an individual protocol, and review chain-level overviews.
Why use it?
It gives an agent a consistent way to retrieve public DeFi analytics without building each request by hand or using a paid key. Its scope avoids account changes and other unsupported services.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to list DeFi protocols by total value locked, inspect an individual protocol, and review chain-level overviews.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holon-run/uxc/defillama-openapi-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add holon-run/uxc --skill defillama-openapi-skill
Clone the repo
git clone --depth 1 https://github.com/holon-run/uxc

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for defillama-openapi-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/holon-run/uxc/defillama-openapi-skill.svg)](https://agentmods.dev/skills/holon-run/uxc/defillama-openapi-skill)
Your own site
<a href="https://agentmods.dev/skills/holon-run/uxc/defillama-openapi-skill"><img src="https://agentmods.dev/badge/skills/holon-run/uxc/defillama-openapi-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 746 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00746
Opus 5 $0.00015 $0.00373
Sonnet 5 $0.00006 $0.00149
Haiku 4.5 $0.00003 $0.00075

Measured 8d ago against content hash fbfe55a99b72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

defillama-openapi-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/defillama-openapi-skill/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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> ....

Read the full file on GitHub · 79 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 79 lines · 31 tokens per session scan A fbfe55a99b72

Subscribe to this mod's changes

defillama-openapi-skill is a skill published in the GitHub repository holon-run/uxc (113 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 746 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

lap

LAP CLI -- compile, search, and manage API specs for AI agents. Use when working with API specifications (OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman), compiling specs to LAP format, searching the LAP registry, generating skills from API specs, or publishing APIs. Commands: init, compile, search, get, skill…

Lap-Platform/LAP · 89 tokens

lap

LAP CLI -- compile, search, and manage API specs for AI agents. Use when working with API specifications (OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman), compiling specs to LAP format, searching the LAP registry, generating skills from API specs, or publishing APIs. Commands: init, compile, search, get, skill…

Lap-Platform/LAP · 89 tokens

linear

Linear project management — issues, cycles, and projects via GraphQL API.

furkangonel/cowrangler · 17 tokens

api-design-patterns

Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices.

aAAaqwq/AGI-Super-Team · 29 tokens

daily-market-review

A daily review workflow for China’s A-share stock market. It combines index prices, limit-up data, sector money flows, and market sentiment—investor optimism or fear—to assess the day and possible future directions.

huangrichao2020/pretty-skills · 116 tokens

receipts-to-expenses

Read a batch of receipt images directly via vision, classify each into expense categories, optionally reconcile against a bank statement CSV, and produce a multi-sheet Excel workbook + a PDF summary. Use when given receipt photos and asked for an expense report.

skrun-dev/skrun · 54 tokens