defi-agent-definitions-guide

defi-agent-definitions-guide is a skill for Claude Code, Codex from nirholas/three.ws. It costs 55 tokens per session (1,209 once invoked), scanned A, original, Apache-2.0.

A reference guide to different kinds of AI agents used in DeFi, or decentralised finance. It groups agents by jobs such as trading, lending, risk monitoring, governance, security, and research.

In plain words
What is it for?
Use it to look up agent types, compare their purposes and complexity, plan agent combinations, and classify a DeFi agent project.
Why use it?
It gives developers a shared vocabulary for discussing what a DeFi agent does and how different agent roles fit together. It also helps when designing or evaluating an agent.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to look up agent types, compare their purposes and complexity, plan agent combinations, and classify a DeFi agent project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nirholas/three.ws/defi-agent-definitions-guide
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 nirholas/three.ws --skill defi-agent-definitions-guide
Clone the repo
git clone --depth 1 https://github.com/nirholas/three.ws

Made for: Claude Code, 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 defi-agent-definitions-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/defi-agent-definitions-guide/github.svg)](https://agentmods.dev/skills/nirholas/three.ws/defi-agent-definitions-guide)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/defi-agent-definitions-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/defi-agent-definitions-guide/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for defi-agent-definitions-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/nirholas/three.ws/defi-agent-definitions-guide"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/defi-agent-definitions-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,209 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.00055 $0.01209
Opus 5.5 $0.00022 $0.00484
Sonnet 5.5 $0.00011 $0.00242
Haiku 4.5 $0.00006 $0.00121

Measured 2mo ago against content hash bf4d0d12ff95, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

defi-agent-definitions-guide 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 2mo ago.

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.

data/skills/defi/defi-agent-definitions-guide/SKILL.md · 129 lines

How it starts

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

DeFi Agent Definitions Guide

A comprehensive glossary and typology of 80+ DeFi AI agent types. Use this reference when designing, building, evaluating, or categorizing AI agents for decentralized finance.

Agent Categories

Category # Types Purpose
Trading Agents 12 Execute trades, arbitrage, market-making
Yield Agents 10 Find and optimize yield across protocols
Risk Agents 8 Monitor and mitigate risk
Portfolio Agents 8 Track and rebalance portfolios
Data Agents 10 Aggregate and analyze on-chain data
Social Agents 6 Monitor social signals and sentiment
Security Agents 8 Audit contracts, detect exploits
Infrastructure Agents 6 Node management, gas optimization
Governance Agents 5 Proposal monitoring, vote delegation
Research Agents 7 Protocol analysis, alpha discovery

Trading Agents

Agent Type Description Complexity
Swap Agent Executes token swaps via DEX aggregators Low
Arbitrage Agent Finds price discrepancies across DEXes High
Market Maker Agent Provides liquidity and manages spreads High
Grid Bot Agent Trades within price ranges (grid strategy) Medium
DCA Agent Dollar cost averaging on schedule Low
Limit Order Agent Places and manages limit orders Medium
MEV Agent Extracts MEV (frontrunning, sandwich) Very High
MEV Shield Agent Protects users from MEV extraction Medium
Sniper Agent Buys new token listings instantly High
Copy Trade Agent Mirrors whale wallet transactions Medium
Momentum Agent Trades based on price momentum signals Medium
Mean Reversion Agent Trades reversions to moving averages Medium

Yield Agents

Agent Type Description Complexity
Yield Optimizer Finds highest APY across protocols Medium
Auto-Compound Agent Reinvests farming rewards Low
Vault Manager Manages ERC-4626 vault strategies High
LP Position Agent Manages liquidity pool positions Medium
IL Calculator Agent Monitors impermanent loss Low
Yield Farmer Deposits into farming/staking programs Medium
Stablecoin Yield Agent Optimizes yield on stablecoins (USDs, USDC) Medium
Leveraged Yield Agent Uses loops for leveraged yield High
Points Farmer Farms protocol points/airdrop eligibility Medium
Liquidity Migration Agent Moves liquidity to better pools Medium

Read the full file on GitHub · 129 lines

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. 2mo ago First seen · 129 lines · 55 tokens per session scan A bf4d0d12ff95

Subscribe to this mod's changes

defi-agent-definitions-guide is a skill published in the GitHub repository nirholas/three.ws (287 stars, last pushed yesterday), licensed Apache-2.0. It adds 55 tokens to every session and 1,209 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

defi-agent-definitions-guide compared with skills from other repositories

defi-agent-definitions-guide next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
defi-agent-definitions-guidenirholas/three.wsSkill287yesterdayApache-2.0A55Claude Code, Codex
pay-x402-servicenirholas/x402-payments-mcpSkill919d agoApache-2.0A51Claude Code
manage-productsnorman-finance/norman-mcp-serverSkill66yesterdayMITA61Claude Code
hotel-price-drop-rebookAwardTravelFinder/mcpSkill18todayMITA70Claude Code
pinepaulieb89/pinescript-mcpSkill1211d agoMITA216Claude Code
cfo-stripe-collectionsmelaya-labs/melaya-mcpSkill16d agoApache-2.0A90Claude Code
cfo-unit-economicsmelaya-labs/melaya-mcpSkill16d agoApache-2.0A0Claude Code