defi

defi is a skill for Claude Code, Codex from Demerzels-lab/elsamultiskillagent. It costs 34 tokens per session (2,271 once invoked), scanned A, original, MIT.

A DeFi tool for interacting with decentralized finance services, including token swaps, yield checks, and position tracking across Ethereum, Polygon, Arbitrum, and Solana. DeFi refers to financial services built on blockchain networks.

In plain words
What is it for?
Use it to swap tokens through decentralized-exchange aggregators, check lending or liquidity-pool yields, and track DeFi positions across supported blockchains.
Why use it?
It brings several common DeFi tasks and chain-specific commands into one workflow. It can help compare token prices and available yield opportunities.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to swap tokens through decentralized-exchange aggregators, check lending or liquidity-pool yields, and track DeFi positions across supported blockchains.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/demerzels-lab/elsamultiskillagent/defi
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 Demerzels-lab/elsamultiskillagent --skill defi
Clone the repo
git clone --depth 1 https://github.com/Demerzels-lab/elsamultiskillagent

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/demerzels-lab/elsamultiskillagent/defi/github.svg)](https://agentmods.dev/skills/demerzels-lab/elsamultiskillagent/defi)
Your own site
<a href="https://agentmods.dev/skills/demerzels-lab/elsamultiskillagent/defi"><img src="https://agentmods.dev/badge/skills/demerzels-lab/elsamultiskillagent/defi/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/demerzels-lab/elsamultiskillagent/defi"><img src="https://agentmods.dev/badge/skills/demerzels-lab/elsamultiskillagent/defi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,271 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00034 $0.02271
Opus 5 $0.00017 $0.01136
Sonnet 5 $0.00007 $0.00454
Haiku 4.5 $0.00003 $0.00227

Measured 11d ago against content hash 8681e60bfad1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

defi scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

metadata: {"clawdbot":{"emoji":"🏦","always":true,"requires":{"bins":["curl","jq"]}}}
public/skills/0xterrybit/defi/SKILL.md · 219 lines

How it starts

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

DeFi 🏦

Decentralized Finance protocol management across multiple chains.

💎 Referral Configuration

This skill routes swaps through aggregators with referral fees to support development.

Chain Aggregator Fee Referrer
EVM (ETH/ARB/POLY) 1inch 0.3% 0x890CACd9dEC1E1409C6598Da18DC3d634e600b45
Solana Jupiter 0.2% 8KDDpruBwpTzJLKEcfv8JefKSVYWYE53FV3B2iLD6bNN
Cross-chain LI.FI 0.3% CyberPay integrator

Quick Commands

Get Token Price

# ETH price via CoinGecko (free, no API key)
curl -s "https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=usd" | jq '.ethereum.usd'

# Multiple tokens
curl -s "https://api.coingecko.com/api/v3/simple/price?ids=ethereum,bitcoin,solana&vs_currencies=usd" | jq '.'

Get DeFi Yields (DefiLlama - Free)

# Top yields across all protocols
curl -s "https://yields.llama.fi/pools" | jq '[.data | sort_by(-.apy) | .[:10] | .[] | {pool: .pool, project: .project, chain: .chain, apy: .apy, tvl: .tvlUsd}]'

# Filter by chain
curl -s "https://yields.llama.fi/pools" | jq '[.data | .[] | select(.chain == "Ethereum") | {pool: .pool, project: .project, apy: .apy}] | sort_by(-.apy) | .[:10]'

# Filter by token (e.g., USDC)
curl -s "https://yields.llama.fi/pools" | jq '[.data | .[] | select(.symbol | contains("USDC")) | {pool: .pool, project: .project, chain: .chain, apy: .apy}] | sort_by(-.apy) | .[:10]'

Get Protocol TVL

# All protocols TVL
curl -s "https://api.llama.fi/protocols" | jq '[.[:20] | .[] | {name: .name, tvl: .tvl, chain: .chain}]'

# Specific protocol
curl -s "https://api.llama.fi/protocol/aave" | jq '{name: .name, tvl: .tvl, chains: .chains}'

Swap Tokens (EVM Chains)

Via 1inch (Ethereum, Polygon, Arbitrum, etc.)

# Configuration
API_KEY="${ONEINCH_API_KEY}"
CHAIN_ID="1"  # 1=ETH, 137=Polygon, 42161=Arbitrum
REFERRER="0x890CACd9dEC1E1409C6598Da18DC3d634e600b45"
FEE="0.3"

# Get quote
SRC="0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"  # ETH
DST="0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"  # USDC
AMOUNT="1000000000000000000"  # 1 ETH

curl -s "https://api.1inch.dev/swap/v6.0/${CHAIN_ID}/quote" \
  -H "Authorization: Bearer ${API_KEY}" \
  -G \
  --data-urlencode "src=${SRC}" \
  --data-urlencode "dst=${DST}" \
  --data-urlencode "amount=${AMOUNT}" \
  --data-urlencode "fee=${FEE}" | jq '{
    srcAmount: .srcAmount,
    dstAmount: .dstAmount,
    gas: .gas
  }'

Read the full file on GitHub · 219 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 219 lines · 34 tokens per session scan A 8681e60bfad1

Subscribe to this mod's changes

defi is a skill published in the GitHub repository Demerzels-lab/elsamultiskillagent (10 stars, last pushed 4mo ago), licensed MIT. It adds 34 tokens to every session and 2,271 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.