Sponsor Suno AI Music arrow_forward
Plugin

Defi Yield Optimizer

Optimize DeFi yield farming strategies across protocols with APY tracking and risk assessment

Type
Plugin
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Version
1.28.0
Author
Intent Solutions IO

What Defi Yield Optimizer is

Defi Yield Optimizer is a plugin published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A plugin is a package that bundles skills, slash commands, subagents, hooks, and MCP connectors so they install together. Plugins are plain files with a manifest at .claude-plugin/plugin.json, and they work in both Claude Code and Claude Cowork.

Installing Defi Yield Optimizer adds everything it ships in one step. Connectors inside a plugin still need to be connected separately, and hooks and subagents only run in Cowork and Claude Code, not in regular chat.

How to install Defi Yield Optimizer

Claude Code

  1. Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace
  2. Install the plugin: claude plugin install defi-yield-optimizer@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json.
  3. Restart the session if the new skills or commands don't appear straight away.

Claude Cowork

  1. Open Customize → Plugins and choose Add marketplace.
  2. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub).
  3. Find Defi Yield Optimizer in the list, click Install, then connect any connectors it needs from its Connectors tab.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/crypto/defi-yield-optimizer/.claude-plugin/plugin.json, shared under the repository's MIT license. Read the full file on GitHub.

Optimize DeFi yield farming strategies across multiple protocols and chains with risk assessment, auto-compound calculations, and portfolio optimization.

Features

Multi-Protocol Support

  • Lending: Aave, Compound, Venus, Benqi
  • DEXs: Uniswap, Sushiswap, PancakeSwap, QuickSwap
  • Stableswaps: Curve, Ellipsis
  • Yield Aggregators: Yearn, Beefy, Harvest
  • Leveraged Farming: Alpaca, Tarot

Chain Coverage

  • Ethereum: Main DeFi hub
  • BSC: High APY opportunities
  • Polygon: Low gas costs
  • Arbitrum: L2 efficiency
  • Avalanche: Fast finality
  • Fantom: High yields

Optimization Features

  • Risk-Adjusted Returns: Balance APY with risk
  • Portfolio Allocation: Optimal diversification
  • Auto-Compound Analysis: Frequency optimization
  • Impermanent Loss Calculation: LP risk assessment
  • Gas Cost Optimization: Net APY calculations

Risk Assessment

  • Protocol Risk: Age, audits, TVL analysis
  • Smart Contract Risk: Complexity scoring
  • Liquidity Risk: Exit strategy evaluation
  • Composability Risk: Protocol dependencies
  • Market Risk: Volatility and correlation

Installation

/plugin install defi-yield-optimizer@claude-code-plugins-plus

⚠️ Rate Limits & API Requirements

All DeFi optimization uses 100% free data sources - no Zapper Pro or DeFi Pulse subscriptions required.

Quick Comparison

Annual Savings: $3,576-4,044 using free on-chain data sources.

Free API Providers: Detailed Rate Limits

1. DefiLlama API (Primary - TVL & Protocol Data)

What: Aggregated DeFi TVL, APY, and protocol data for 1,000+ protocols

Rate Limits:

  • Requests/minute: Unlimited (no documented hard limit)
  • Daily requests: Unlimited
  • Registration: ❌ Not required
  • API key: ❌ Not required
  • IP tracking: ⚠️ Soft limits (avoid >100 req/sec)

API Endpoints (All FREE):

# Get all protocols with TVL
https://api.llama.fi/protocols

# Get specific protocol data (Aave, Compound, etc.)
https://api.llama.fi/protocol/{protocol_slug}

# Get historical TVL
https://api.llama.fi/charts

# Get current TVL by chain
https://api.llama.fi/v2/chains

Setup:

{
  "dataSources": {
    "tvl": {
      "provider": "defillama",
      "endpoint": "https://api.llama.fi",
      "rateLimit": {
        "maxPerSecond": 10,  // Conservative self-throttling
        "maxPerMinute": 300
      }
    }
  }
}

Cost: $0 (no signup, no limits)

Documentation: defillama.com/docs/api

2. Ankr Public RPC (Blockchain Data)

What: Free public RPC endpoints for 15+ blockchain networks

Rate Limits:

  • Ethereum: 30 requests/second per IP
  • Polygon: 30 requests/second per IP
  • BSC: 30 requests/second per IP
  • Arbitrum: 30 requests/second per IP
  • Avalanche: 30 requests/second per IP
  • Daily requests: Unlimited (no hard limit)
  • Registration: ❌ Not required
  • API key: ❌ Not required
  • Archive data: ✅ Available (historical states)

Supported Chains:

# Ethereum Mainnet
eth

# Polygon
polygon

# BSC
bsc

# Arbitrum
arbitrum

# Avalanche C-Chain
avalanche

# Fantom
fantom

Setup:

{
  "chains": {
    "ethereum": {
      "rpc": "eth",
      "rateLimitPerSecond": 30
    },
    "polygon": {
      "rpc": "polygon",
      "rateLimitPerSecond": 30
    }
  }
}

Cost: $0 (community-funded, no signup)

Documentation: ankr.com/rpc

3. CoinGecko API (Price Data)

What: Real-time cryptocurrency prices for 10,000+ tokens

Free Tier Rate Limits:

  • Requests/minute: 10-50 (depends on IP, undocumented exact limit)
  • Daily requests: Unlimited
  • Registration: ❌ Not required for public API
  • API key: ❌ Not required (public endpoints)
  • IP tracking: ⚠️ Yes (soft ban after ~50 req/min)

Key Endpoints:

# Simple price (multiple tokens)
https://api.coingecko.com/api/v3/simple/price?ids=ethereum,bitcoin&vs_currencies=usd

# Token details
https://api.coingecko.com/api/v3/coins/{id}

# Historical market data
https://api.coingecko.com/api/v3/coins/{id}/market_chart?vs_currency=usd&days=30

Setup:

{
  "dataSources": {
    "prices": {
      "provider": "coingecko",
      "endpoint": "https://api.coingecko.com/api/v3",
      "rateLimit": {
        "maxPerMinute": 30,  // Conservative limit
        "cacheSeconds": 300   // 5-minute cache
      }
    }
  }
}

Cost: $0 (free tier)

Upgrade Path: CoinGecko Pro ($129/mo) if you need >50 req/min

Documentation: coingecko.com/api/documentation

4. Alternative Free RPCs (Fallback Options)

Infura Free Tier

Rate Limits:

  • Requests/day: 100,000
  • Requests/second: 10
  • Registration: ✅ Required (free, no card)
  • API key: ✅ Required

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Defi Yield Optimizer?

Defi Yield Optimizer is a plugin for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Optimize DeFi yield farming strategies across protocols with APY tracking and risk assessment

How do I install Defi Yield Optimizer in Claude Code?

Add the repository as a plugin marketplace: claude plugin marketplace add jeremylongshore/tons-of-skills-marketplace Install the plugin: claude plugin install defi-yield-optimizer@<marketplace-name>, using the marketplace name from the repository's .claude-plugin/marketplace.json. Restart the session if the new skills or commands don't appear straight away.

Can I use Defi Yield Optimizer in Claude Cowork?

Open Customize → Plugins and choose Add marketplace. Enter jeremylongshore/tons-of-skills-marketplace (the owner/repo shorthand works for GitHub). Find Defi Yield Optimizer in the list, click Install, then connect any connectors it needs from its Connectors tab.

Is Defi Yield Optimizer safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.