/defi-agents:defi-agents-libraryfrom defi-agents
Loads DeFi, portfolio, trading, and Web3 agent definitions (system prompts, opening questions, examples) from a public JSON API. Useful when you need a specialist persona like a yield farmer or liquidation risk manager.
Ships in defi-agents. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The repo publishes each agent as a static JSON file on https://sperax.click. No key, no install, no MCP server: use plain HTTP GET (curl, fetch, WebFetch).
| Request | Returns |
|---|---|
GET https://sperax.click/index.json | {"schemaVersion": 1, "agents": [...]} with one summary per agent |
GET https://sperax.click/index.{locale}.json | The same index translated, e.g. index.zh-CN.json, index.fr-FR.json |
GET https://sperax.click/{agent-id}.json | One full agent definition |
GET https://sperax.click/{agent-id}.{locale}.json | One agent in a locale, e.g. defi-yield-farmer.fr-FR.json |
GET https://sperax.click/agents-manifest.json | Agents grouped by family (for example sperax) plus the access patterns above |
Locales listed in the repo's docs/API.md: en-US, ar, bg-BG, zh-CN, zh-TW, de-DE, es-ES, fa-IR, fr-FR, it-IT, ja-JP, ko-KR, nl-NL, pl-PL, pt-BR, ru-RU, tr-TR, vi-VN.
Each item in agents has identifier, author, createdAt, homepage, knowledgeCount, pluginCount, schemaVersion, tokenUsage and meta (title, description, avatar, tags, category). Filter on meta.tags or meta.category, then fetch by identifier.
config.systemRole (the system prompt), config.openingMessage, config.openingQuestions, plus top-level examples, summary, meta and identifier.
# 1. list ids and titles
curl -s https://sperax.click/index.json | jq -r '.agents[] | "\(.identifier)\t\(.meta.title)"'
# 2. pull one agent's system prompt
curl -s https://sperax.click/defi-yield-farmer.json | jq -r '.config.systemRole'
Use the systemRole text as the system prompt (or a subagent brief) for the task, and offer openingQuestions to the user to scope the request.
docs/API.md in the repo still describes index.json as a bare array; the deployed file wraps the list in an agents key.Agent sources live in src/<id>.json in the repo (github.com/nirholas/defi-agents). The build (bun run build) generates the per-locale files; bun run format normalises the source JSON.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub nirholas/defi-agents --plugin defi-agentsOther plugins' skills for the same job