defillama-yields-openapi-skill
Operate DefiLlama public yield APIs through UXC with a curated OpenAPI schema and read-first guardrails.
Works with
---
name: defillama-yields-openapi-skill
description: Operate DefiLlama public yield APIs through UXC with a curated OpenAPI schema and read-first guardrails.
license: MIT
---
# 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/apiMore API Design skills
lark-event
larksuite/cli
Lark/Feishu real-time event listening / subscribing / consuming: stream events as NDJSON via `lark-cli event consume <EventKey>` (covers IM messages/reactions/chat changes, Approval status changes, Task updates, VC meeting started/joined/ended, Minutes generated, Whiteboard updated, etc.). Use for Lark bots, real-time message processing, long-running subscribers, streaming webhook/push handlers. Supports `--max-events` / `--timeout` bounded runs and a stderr ready-marker contract — designed for AI agents running as subprocesses.
lark-contact
larksuite/cli
飞书 / Lark 通讯录:按姓名 / 邮箱解析成 open_id,或按 open_id 反查姓名 / 部门 / 邮箱 / 联系方式 / 个人状态 / 签名,以及按关键词搜索当前用户可见的机器人 / 智能体(agent)。当用户提到一个名字要下一步发消息 / 排日程,或拿到 open_id 想查具体信息时使用。不负责部门树遍历、按部门列员工、组织架构图,这类需求走原生 OpenAPI。
lark-openapi-explorer
larksuite/cli
飞书/Lark 原生 OpenAPI 探索:从官方文档库中挖掘未经 CLI 封装的原生 OpenAPI 接口。当用户的需求无法被现有 lark-* skill 或 lark-cli 已注册命令满足,需要查找并调用原生飞书 OpenAPI 时使用。

