Swapper Deposit
swapperfinance/swapper-toolkit
Deposit and bridge funds into a wallet or protocol using Swapper Finance.
DeFi yield evaluation including fee APR, real vs nominal yield, net APY after costs, and yield sustainability analysis
$ npx skills add agiprolabs/claude-trading-skills --skill yield-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install agiprolabs/claude-trading-skills yield-analysis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/yield-analysis .claude/skills/yield-analysis && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "yield-analysis" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/yield-analysis into .claude/skills/yield-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yield-analysis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/yield-analysisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add agiprolabs/claude-trading-skills --skill yield-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install agiprolabs/claude-trading-skills yield-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/yield-analysis .agents/skills/yield-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "yield-analysis" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/yield-analysis into .agents/skills/yield-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yield-analysis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agiprolabs/claude-trading-skills --skill yield-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install agiprolabs/claude-trading-skills yield-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/yield-analysis .cursor/skills/yield-analysis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "yield-analysis" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/yield-analysis into .cursor/skills/yield-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yield-analysis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/agiprolabs/claude-trading-skills.git --path skills/yield-analysis--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add agiprolabs/claude-trading-skills --skill yield-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install agiprolabs/claude-trading-skills yield-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/yield-analysis .gemini/skills/yield-analysis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "yield-analysis" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/yield-analysis into .gemini/skills/yield-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yield-analysis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install agiprolabs/claude-trading-skills yield-analysisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add agiprolabs/claude-trading-skills --skill yield-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/yield-analysis .github/skills/yield-analysis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "yield-analysis" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/yield-analysis into .github/skills/yield-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yield-analysis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add agiprolabs/claude-trading-skills --skill yield-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install agiprolabs/claude-trading-skills yield-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/agiprolabs/claude-trading-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/yield-analysis .opencode/skills/yield-analysis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "yield-analysis" agent skill from https://github.com/agiprolabs/claude-trading-skills/tree/main/skills/yield-analysis into .opencode/skills/yield-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "yield-analysis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
yield-analysisDeFi yield evaluation including fee APR, real vs nominal yield, net APY after costs, and yield sustainability analysis
Yield Analysis is an agent skill from agiprolabs/claude-trading-skills. DeFi yield evaluation including fee APR, real vs nominal yield, net APY after costs, and yield sustainability analysis
Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/sustainability_analysis.md`, `references/yield_math.md` and `scripts/yield_calculator.py`).
It sits in Business, Finance & HR, covering Crypto and DeFi analysis. It works with Solana. The repository describes itself as: 68 trading, DeFi, and quantitative finance Agent Skills. Works with Claude Code, Cursor, Codex, Gemini CLI, and 30+ other tools. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 981e1d7. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Python), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
api-v3.raydium.ioapi.mainnet.orca.soyields.llama.fiFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Yield Analysis loads about 2.3k tokens when it runs, and up to ~6.1k if it reads all its reference files. Until then it costs about 33 tokens; SKILL.md has 874 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from agiprolabs/claude-trading-skills at commit 981e1d7, republished under its MIT licence (© agiprolabs). 874 words, ~2,302 tokens.
.claude/skills/yield-analysis/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.DeFi yields are often misleading. A pool advertising 200% APY may deliver negative real returns once you account for impermanent loss, gas costs, and emission token depreciation. This skill provides the framework to decompose, evaluate, and compare yield opportunities accurately.
Most DeFi yield dashboards show nominal yield — the headline number. Real yield requires decomposing that number into its components and subtracting all costs. Without this decomposition:
Every DeFi yield breaks down into one or more of these sources:
Swap fees earned by liquidity providers. This is the most sustainable yield source because it comes from real economic activity.
fee_apr = (daily_volume * fee_rate / tvl) * 365
your_daily_fees = daily_volume * fee_rate * (your_liquidity / total_liquidity)For CLMM pools (concentrated liquidity), fee income is amplified by how tightly you concentrate your range. See the lp-math skill for CLMM mechanics.
Protocol reward tokens distributed to LPs. Often the largest component of advertised yields, but frequently unsustainable.
emission_apr = (daily_emission_tokens * token_price * 365) / tvlThe critical question: will the emission token hold its value? If everyone farms and dumps, the token depreciates and actual USD yield is much lower.
Interest earned from lending protocol deposits (Marginfi, Kamino, Solend). Driven by borrowing demand — more sustainable than emissions but fluctuates with utilization.
Validator staking yield (~7% APR on Solana) or liquid staking token (LST) yield. The baseline risk-free rate for the Solana ecosystem.
| Metric | What It Includes | What It Ignores |
|---|---|---|
| Nominal APY | Fee APR + emission APR (compounded) | IL, gas, depreciation, risk |
| Real Yield | Everything, net of all costs | Nothing — this is the true return |
real_yield = fee_apr
+ emission_apr × (1 - emission_depreciation)
- il_cost
- gas_cost
- rebalancing_costWhere:
fee_apr: annualized fee income as fraction of position valueemission_apr: annualized emission income at current token priceemission_depreciation: expected decline in emission token price (0.0 to 1.0)il_cost: expected impermanent loss as annualized rate (see impermanent-loss skill)gas_cost: transaction fees for deposits, withdrawals, claims, compoundsrebalancing_cost: for CLMM positions, cost of rebalancing out-of-range positionsNominal APY displayed: 45%
Decomposition:
Fee APR: 18%
Emission APR: 30% (RAY token rewards)
Emission depreciation: 40% (RAY down 40% over 30d)
Effective emission: 18% (30% × 0.6)
IL cost (estimated): 12% (SOL volatile against USDC)
Gas + rebalance: 1%
Real yield = 18% + 18% - 12% - 1% = 23%The 45% nominal yield is really 23% after accounting for all factors.
fee_apr = fee_rate * daily_volume / tvl * 365For a pool with 0.25% fee rate, $2M daily volume, and $10M TVL:
fee_apr = 0.0025 * 2_000_000 / 10_000_000 * 365 = 18.25%CLMM fee income depends on your position range relative to trading activity:
# Simplified — see lp-math skill for full CLMM math
fee_apr = fee_rate * daily_volume_in_range / position_liquidity * 365Tighter ranges earn higher fees per dollar deployed but go out of range more frequently, requiring rebalancing.
your_share = your_liquidity / total_pool_liquidity
your_daily_fees = total_daily_fees * your_share# Protocol P/E ratio
pe_ratio = fully_diluted_valuation / annual_protocol_revenue
# Revenue-to-emission ratio (> 1.0 is sustainable)
sustainability = annual_revenue / annual_emission_value
# Token velocity (high = lots of sell pressure)
velocity = daily_emission_selling / daily_token_volumeInterpretation:
When comparing yield opportunities, normalize across these dimensions:
Compare like for like. For SOL:
| Strategy | Expected APR | Risk Level | IL Exposure |
|---|---|---|---|
| Native staking | ~7% | Low | None |
| Liquid staking (mSOL) | ~7.5% | Low | Minimal |
| SOL-USDC LP (Orca) | ~15-25% | Medium | High |
| SOL lending (Marginfi) | ~3-8% | Low-Med | None |
| Leveraged yield | ~20-50% | High | Varies |
risk_score = (
il_risk * 0.3 +
smart_contract_risk * 0.25 +
emission_sustainability_risk * 0.2 +
liquidity_risk * 0.15 +
protocol_risk * 0.1
)
risk_adjusted_yield = net_apr / risk_scoreInclude all costs:
impermanent-loss skill)| Protocol | Pool Types | Fee Tiers | Notes |
|---|---|---|---|
| Raydium | CPMM, CLMM | 0.01-1% | Largest Solana DEX by volume |
| Orca | CLMM (Whirlpool) | 0.01-2% | Concentrated liquidity focused |
| Meteora | DLMM, Dynamic | Variable | Dynamic fee adjustment |
| Protocol | Assets | Typical APR | Notes |
|---|---|---|---|
| Marginfi | SOL, USDC, etc. | 2-10% | Points program active |
| Kamino | SOL, USDC, etc. | 2-12% | Auto-compound vaults |
| Solend | SOL, USDC, etc. | 1-8% | Established protocol |
| Method | APR | Lock Period | Notes |
|---|---|---|---|
| Native SOL staking | ~7% | 1 epoch (~2d) | Validator selection matters |
| mSOL (Marinade) | ~7.2% | Instant | Liquid, usable in DeFi |
| jitoSOL (Jito) | ~7.5% | Instant | Includes MEV rewards |
| bSOL (BlazeStake) | ~7% | Instant | Decentralized validator set |
import httpx
# All yield pools
pools = httpx.get("https://yields.llama.fi/pools").json()
# Filter for Solana
solana_pools = [p for p in pools["data"] if p["chain"] == "Solana"]
# Sort by TVL
solana_pools.sort(key=lambda p: p.get("tvlUsd", 0), reverse=True)Response fields: pool, chain, project, symbol, tvlUsd, apy, apyBase, apyReward, il7d, exposure.
https://api-v3.raydium.io/pools/info/listhttps://api.mainnet.orca.so/v1/whirlpool/listlp-math: AMM formulas for fee calculation and position mathimpermanent-loss: IL estimation for real yield calculationdefillama-api: Fetching yield and TVL data across protocolsrisk-management: Portfolio-level yield allocation decisionsposition-sizing: How much capital to allocate to yield strategiesreferences/yield_math.md — Fee APR, APR/APY conversion, net yield formulas, break-even analysisreferences/sustainability_analysis.md — Emission sustainability metrics, death spiral patterns, real yield identificationscripts/yield_calculator.py — Offline yield calculator with fee APR, IL estimation, net yield, break-even, and sensitivity analysisscripts/yield_comparison.py — Fetches DeFiLlama yield data and compares Solana yield opportunities with risk-adjusted ranking© agiprolabs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts, references) in skills/yield-analysis of agiprolabs/claude-trading-skills.
Open the folder on GitHubat commit 981e1d7
Yield Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Yield Analysis this skillagiprolabs/claude-trading-skills | 410 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Swapper Depositswapperfinance/swapper-toolkit | 852 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Solana Skillnpc-live/clawfirm | 156 | — | ~1k | Automated safety check: Pass | None | |
| Bridge Stablecoincirclefin/skills | 155 | — | ~3.4k | Automated safety check: Notes | Apache-2.0 | |
| Metaplexelophanto/EloPhanto | 106 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| Trading Signalbinance/binance-skills-hub | 1.1k | — | ~682 | Automated safety check: Pass | None |
swapperfinance/swapper-toolkit
Deposit and bridge funds into a wallet or protocol using Swapper Finance.
npc-live/clawfirm
Interact with Solana blockchain via Helius APIs. An agent skill from npc-live/clawfirm.
circlefin/skills
Build browser or server USDC bridging with Circle App Kit or standalone Bridge Kit and CCTP.
elophanto/EloPhanto
Metaplex development on Solana — NFTs, tokens, compressed NFTs, candy machines, token launches.
binance/binance-skills-hub
Per-trade smart-money signals — each result is a discrete buy or sell event from a tracked smart-money wallet, with trigger price, current price, max gain since trigger, and exit rate.
internet-court/internet-court-skill
Complete guide for Squads Protocol - Solana's leading smart account and multisig infrastructure.
agiprolabs/claude-trading-skills
Event-driven backtesting with bar-by-bar execution, complex order types, multiple analyzers, and custom indicators
agiprolabs/claude-trading-skills
Solana token market data via Birdeye — prices, OHLCV, trades, token metadata, security checks, and trader activity
agiprolabs/claude-trading-skills
Broad crypto market data from CoinGecko covering 13,000+ tokens.
agiprolabs/claude-trading-skills
Cointegration testing for pairs trading using Engle-Granger, Johansen, and rolling stability analysis
agiprolabs/claude-trading-skills
Wallet evaluation, monitoring, and copy-trade strategy design for Solana DEX trading
agiprolabs/claude-trading-skills
Cross-asset correlation analysis including rolling correlation, hierarchical clustering, tail dependence, and regime-dependent correlation
Works with
Categories
DeFi yield evaluation including fee APR, real vs nominal yield, net APY after costs, and yield sustainability analysis. Yield Analysis is an agent skill from agiprolabs/claude-trading-skills.
Yield Analysis fits situations like: tasks that involve Crypto and DeFi analysis.
Run `npx skills add agiprolabs/claude-trading-skills --skill yield-analysis -a claude-code`. Or copy the skill folder (skills/yield-analysis in agiprolabs/claude-trading-skills) into .claude/skills/yield-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add agiprolabs/claude-trading-skills --skill yield-analysis -a codex`. Or copy the skill folder (skills/yield-analysis in agiprolabs/claude-trading-skills) into .agents/skills/yield-analysis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agiprolabs/claude-trading-skills --skill yield-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yield-analysis, .gemini/skills/yield-analysis, .github/skills/yield-analysis and .opencode/skills/yield-analysis in your project.
Going by SKILL.md and its folder, Yield Analysis needs Python for the scripts in its folder. Our summary lists: Python 3.
SKILL.md names 3 domains. In commands or code: api-v3.raydium.io, api.mainnet.orca.so and yields.llama.fi; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Yield Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.8k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Yield Analysis: Swapper Deposit (swapperfinance/swapper-toolkit, 852 stars), Solana Skill (npc-live/clawfirm, 156 stars), Bridge Stablecoin (circlefin/skills, 155 stars) and Metaplex (elophanto/EloPhanto, 106 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
agiprolabs (a GitHub user) maintains it in agiprolabs/claude-trading-skills, which has 410 GitHub stars. The repository holds 68 skills in this directory. The repository was last updated on September 3, 2026.
Source: agiprolabs/claude-trading-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.