yield-farming-analysis

yield-farming-analysis is a skill for Claude Code, Codex from nirholas/three.ws. It costs 29 tokens per session (739 once invoked), scanned A, original, Apache-2.0.

A framework for evaluating DeFi yield-farming opportunities, where users deposit tokens into liquidity pools to earn fees or rewards. It examines yield sources, protocol history, smart-contract risk, and impermanent loss—the loss that can occur when pool prices change relative to simply holding the tokens.

In plain words
What is it for?
Use it to compare farming pools, break down APY or APR, review protocol and contract risks, assess reward sustainability, and estimate impermanent loss.
Why use it?
It helps separate advertised returns from their underlying fees and incentive payments. It also organizes checks for sustainability, security, liquidity, and the risks of providing liquidity.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/nirholas/three.ws/yield-farming-analysis
Any agent
npx skills add nirholas/three.ws --skill yield-farming-analysis
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 yield-farming-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/nirholas/three.ws/yield-farming-analysis.svg)](https://agentmods.dev/skills/nirholas/three.ws/yield-farming-analysis)
Your own site
<a href="https://agentmods.dev/skills/nirholas/three.ws/yield-farming-analysis"><img src="https://agentmods.dev/badge/skills/nirholas/three.ws/yield-farming-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 739 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.00739
Opus 5 $0.00015 $0.00369
Sonnet 5 $0.00006 $0.00148
Haiku 4.5 $0.00003 $0.00074

Measured yesterday against content hash c857cabc2db4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

yield-farming-analysis 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 yesterday.

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/yield-farming-analysis/SKILL.md · 84 lines

How it starts

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

Yield Farming Analysis

When to use this skill

Use when the user asks about:

  • Evaluating yield farming opportunities
  • Comparing DeFi yields across protocols
  • Assessing farming risks and sustainability
  • Calculating impermanent loss for a token pair
  • Finding the best yield for a given asset or pair

Analysis Framework

1. Opportunity Overview

Gather and present:

  • Protocol name, chain, and deployment history
  • Pool composition (token pair or single-sided)
  • Current APY/APR with base vs incentive breakdown
  • TVL (Total Value Locked) and recent trend
  • Pool age and historical APY stability over 7d, 30d, 90d

2. Yield Breakdown

Decompose the advertised yield into:

  • Base trading fee APY — derived from actual volume
  • Incentive token APY — farming reward emissions
  • Compounding frequency — auto-compound available?
  • Sustainability check — review emissions schedule, token inflation rate, and runway
  • Comparative yield — how does this compare to similar pools on other protocols?

3. Risk Assessment

Evaluate each factor systematically:

Risk Factor What to Check
Smart contract audit status Audited by reputable firm? Multiple audits?
Protocol TVL trend Growing, stable, or declining over 30d?
Token emission schedule Inflationary pressure on reward token?
Impermanent loss exposure High volatility pair or correlated assets?
Admin key risk Multisig with timelock? Or single EOA?
Oracle dependency Which oracle? Redundancy?
Liquidity depth Can the user exit at size without significant slippage?
Chain risk Bridge dependencies, L2 sequencer risk?

4. Impermanent Loss Estimation

For the given token pair, calculate IL scenarios:

  • Retrieve current price ratio between the two assets
  • Pull historical volatility (30d and 90d)
  • Compute correlation coefficient if data available
  • Present IL at these price divergence levels:
    • ±10% divergence: ~0.11% IL
    • ±25% divergence: ~0.6% IL
    • ±50% divergence: ~2.0% IL
    • ±100% divergence: ~5.7% IL
  • Compare estimated IL against yield to determine net profitability

Read the full file on GitHub · 84 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. yesterday First seen · 84 lines · 29 tokens per session scan A c857cabc2db4

Subscribe to this mod's changes

yield-farming-analysis is a skill published in the GitHub repository nirholas/three.ws (110 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 739 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

rtc-balance

Check RustChain wallet balance, epoch info, and network status via the public RPC.

Scottcjn/Rustchain · 20 tokens

blockchain-defi

Use this skill when asked about decentralized finance, DeFi protocols, AMM mechanics, lending and borrowing protocols, perpetual futures, yield farming, liquidity mining, liquid staking, restaking, yield optimization, DeFi security, MEV, and protocol composability. Covers AMM design (Uniswap, Curve, Balancer), lending…

j4flmao/agent-skills · 154 tokens

apex-copilot

Use this skill when the user is working on a Web3 project and needs Apex Foundation diligence tools: scoring a crypto/Web3 project for investment readiness, matching against the Apex portfolio of 200+ projects, finding relevant Web3 hackathons, matching against Web3 VC funds and investors, smart contract code review…

Apex-Foundation/copilot-mcp · 245 tokens

stablecoin-chain-explorer

Explore stablecoin TVL distribution and yield opportunities by blockchain. Query which chains have the most stablecoins, compare cross-chain yields, and find the best opportunities on Ethereum, BSC, Arbitrum, Base, Polygon, and more. Also for protocols and issuers researching where stablecoin TVL and liquidity…

barkermoney/barker-mcp · 102 tokens

gstd-sovereign

Full agent autonomy — self-sustaining economic entity that earns GSTD, manages finances, shares intelligence, recruits agents, and promotes financial independence.

gstdcoin/A2A · 35 tokens

crypto-report

Analyze cryptocurrency projects with tokenomics, on-chain metrics, and market analysis. Generate comprehensive crypto research reports.

claude-office-skills/skills · 24 tokens