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.
npx skills add nirholas/three.ws --skill defi-agent-definitions-guidegit clone --depth 1 https://github.com/nirholas/three.wsWrote 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.
[](https://agentmods.dev/skills/nirholas/three.ws/defi-agent-definitions-guide)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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 |
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.
- 2mo ago First seen · 129 lines · 55 tokens per session scan A bf4d0d12ff95
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.
defi-agent-definitions-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| defi-agent-definitions-guidenirholas/three.ws | Skill | 287 | yesterday | Apache-2.0 | A | 55 | Claude Code, Codex |
| pay-x402-servicenirholas/x402-payments-mcp | Skill | 9 | 19d ago | Apache-2.0 | A | 51 | Claude Code |
| manage-productsnorman-finance/norman-mcp-server | Skill | 66 | yesterday | MIT | A | 61 | Claude Code |
| hotel-price-drop-rebookAwardTravelFinder/mcp | Skill | 18 | today | MIT | A | 70 | Claude Code |
| pinepaulieb89/pinescript-mcp | Skill | 12 | 11d ago | MIT | A | 216 | Claude Code |
| cfo-stripe-collectionsmelaya-labs/melaya-mcp | Skill | 1 | 6d ago | Apache-2.0 | A | 90 | Claude Code |
| cfo-unit-economicsmelaya-labs/melaya-mcp | Skill | 1 | 6d ago | Apache-2.0 | A | 0 | Claude Code |