defillama-yields-openapi-skill
Operate DefiLlama public yield APIs through UXC with a curated OpenAPI schema and read-first guardrails.
Best use case
defillama-yields-openapi-skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Operate DefiLlama public yield APIs through UXC with a curated OpenAPI schema and read-first guardrails.
Teams using defillama-yields-openapi-skill should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/defillama-yields-api/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How defillama-yields-openapi-skill Compares
| Feature / Agent | defillama-yields-openapi-skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Operate DefiLlama public yield APIs through UXC with a curated OpenAPI schema and read-first guardrails.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 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 <operation> ...` is equivalent to `uxc https://yields.llama.fi --schema-url <defillama_yields_openapi_schema> <operation> ...`.
## References
- Usage patterns: `references/usage-patterns.md`
- Curated OpenAPI schema: `references/defillama-yields.openapi.json`
- DefiLlama API docs: https://defillama.com/docs/apiRelated Skills
mexc-openapi-skill
Operate MEXC Spot REST APIs through UXC with a curated OpenAPI schema, HMAC query signing, and separate public/signed workflow guardrails.
kucoin-openapi-skill
Operate KuCoin public exchange market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.
kraken-openapi-skill
Operate Kraken public market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.
coinbase-openapi-skill
Operate Coinbase Advanced Trade REST APIs through UXC with a curated OpenAPI schema, products-first discovery, and explicit JWT bearer auth guidance.
bybit-openapi-skill
Operate Bybit V5 public market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.
bitget-openapi-skill
Operate Bitget public exchange market APIs through UXC with a curated OpenAPI schema, market-first discovery, and explicit private-auth boundary notes.
binance-web3-openapi-skill
Operate Binance Web3 public market and research APIs through UXC with a curated OpenAPI schema. Use when tasks need token search, token metadata/market snapshots, address holdings, rankings, token audit, or smart money signals on Binance Web3.
binance-spot-openapi-skill
Operate Binance Spot market, account, and order APIs through UXC with a curated OpenAPI schema, Binance query signing, and separate mainnet/testnet link flows.
moralis-openapi-skill
Operate Moralis EVM wallet and token reads through UXC with a curated OpenAPI schema, API-key auth, and wallet-intelligence guardrails.
alchemy-openapi-skill
Operate Alchemy Prices API reads through UXC with a curated OpenAPI schema, path-templated API-key auth, and read-first guardrails.
defillama-yield-compare
Compare yields for any token across ALL DeFi protocols on ALL chains with risk-adjusted scoring and one-click execution routing.
defi-yields-mcp
Explore DeFi yield opportunities across lending, staking, and LP protocols. Compare APYs and find optimal yield strategies across chains.