Agent skill

optimizing-defi-yields

Find and compare DeFi yield opportunities across protocols with APY calculations, risk assessment, and optimization recommendations. Use when searching for yield farming opportunities, comparing DeFi protocols, or analyzing APY/APR rates. Trigger with phrases like "find DeFi yields", "compare APY", "best yield farming", "optimize DeFi returns", "stablecoin yields", or "liquidity pool rates".

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill optimizing-defi-yields --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Version: 2.0.0
Declared author: Jeremy Longshore <jeremy@intentsolutions.io>
Allowed tools: ReadWriteBash(crypto:yield-*)
Path: skills/analysis/optimizing-defi-yields/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Optimizing DeFi Yields ## Overview Find and compare DeFi yield opportunities across protocols. Aggregates data from DeFiLlama and other sources to provide APY/APR comparisons, risk assessments, and optimization recommendations for yield farming strategies. ## Prerequisites Before using this skill, ensure you have: - Python 3.8+ installed - Internet access for API queries - Understanding of DeFi concepts (APY, APR, TVL, impermanent loss) ## Instructions ### Step 1: Search for Yield Opportunities Find top yields across all chains: ```bash python {baseDir}/scripts/yield_optimizer.py --top 20 ``` Filter by specific chain: ```bash python {baseDir}/scripts/yield_optimizer.py --chain ethereum --top 10 ``` ### Step 2: Filter by Criteria Filter by minimum TVL (for safety): ```bash python {baseDir}/scripts/yield_optimizer.py --min-tvl 10000000 --top 15 ``` Filter by asset type: ```bash python {baseDir}/scripts/yield_optimizer.py --asset USDC --chain ethereum ``` Filter by protocol: ```bash python {baseDir}/scripts/yield_optimizer.py --protocol aave,compound,curve ``` ### Step 3: Apply Risk Filters Show only audited protocols: ```bash python {baseDir}/scripts/yield_optimizer.py --audited-on

What's inside
Steps it walks through
  1. Overview
  2. Prerequisites
  3. Instructions
  4. Step 1: Search for Yield Opportunities
  5. Step 2: Filter by Criteria
  6. Step 3: Apply Risk Filters
  7. Step 4: Analyze Specific Opportunities
  8. Step 5: Export Results
  9. Output
  10. Yield Summary Table
  11. Risk Assessment
  12. Error Handling
  13. Examples
  14. Quick Examples
Ships with 1 file
  • metadata.json
Commands it runs
python {baseDir}/scripts/yield_optimizer.py --top 20
python {baseDir}/scripts/yield_optimizer.py --chain ethereum --top 10
python {baseDir}/scripts/yield_optimizer.py --min-tvl 10000000 --top 15
python {baseDir}/scripts/yield_optimizer.py --asset USDC --chain ethereum
python {baseDir}/scripts/yield_optimizer.py --protocol aave,compound,curve
python {baseDir}/scripts/yield_optimizer.py --audited-only --min-tvl 1000000
python {baseDir}/scripts/yield_optimizer.py --risk low --min-apy 3
python {baseDir}/scripts/yield_optimizer.py --pool "aave-v3-usdc-ethereum" --detailed
python {baseDir}/scripts/yield_optimizer.py --compare aave,compound,spark --asset USDC
python {baseDir}/scripts/yield_optimizer.py --top 50 --format json --output yields.json
More from claude-skill-registry
All skills →
About this skill
What does the optimizing-defi-yields skill do?

Find and compare DeFi yield opportunities across protocols with APY calculations, risk assessment, and optimization recommendations. Use when searching for yield farming opportunities, comparing DeFi protocols, or analyzing APY/APR rates. Trigger with phrases like "find DeFi yields", "compare APY", "best yield farming", "optimize DeFi returns", "stablecoin yields", or "liquidity pool rates".

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill optimizing-defi-yields --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going