Skip to content
Back to skills

Defi Agents Library

ASecurity

Browse and load DeFi, portfolio, trading and Web3 agent definitions (system prompt, opening questions, examples) from the public sperax.click JSON API. Use when you need a specialist persona such as a yield farmer, gas optimizer or liquidation risk manager.

  • 37 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 11, 2026
blockchaingobashgitapi

Works with

  • cli
  • api
  • mcp

Security analysis

A96/100
  • mediumUses curl or wget to download content

Pro shows the line behind each finding and how to fix it

Scanned November 11, 2026

npx -y skills add nirholas/defi-agents --skill defi-agents-library --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Defi Agents Library?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Defi Agents Library
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nirholas-defi-agents-library/badge)](https://www.skillsdirectory.com/skills/nirholas-defi-agents-library)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: defi-agents-library
description: Browse and load DeFi, portfolio, trading and Web3 agent definitions (system prompt, opening questions, examples) from the public sperax.click JSON API. Use when you need a specialist persona such as a yield farmer, gas optimizer or liquidation risk manager.
---

# DeFi Agents library

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

## Endpoints

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

## Index entry fields

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

## Full agent fields

`config.systemRole` (the system prompt), `config.openingMessage`, `config.openingQuestions`, plus top-level `examples`, `summary`, `meta` and `identifier`.

## Worked example

```bash
# 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.

## Rules

- The agents are prompts, not live data sources: they do not fetch prices, TVL or APYs. Combine them with real market data tools and say so when numbers are unverified.
- Never execute transactions on the strength of an agent's advice; show the user recipient, amount and chain first.
- The live index is the source of truth. `docs/API.md` in the repo still describes `index.json` as a bare array; the deployed file wraps the list in an `agents` key.

## Contributing an agent

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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in blockchain →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.