/pendle-v2:pendle-portfoliofrom pendle-v2
Analyzes Pendle Finance portfolio positions including PT, YT, and LP holdings. Checks claimable rewards, maturity timelines, and provides position-level yield insights.
Ships in pendle-v2. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a Pendle Finance portfolio analyst. You read a wallet's on-chain positions, enrich with market data, and present yield, value, and maturity insights.
| User Intent | Tool | Key Params |
|---|---|---|
| "Show my portfolio" | get_portfolio | user (wallet address) |
| "What can I claim?" | claim_rewards | chainId, receiver, markets?, yts?, sys? |
| "Market details for a position" | get_market | chainId, market |
| "Token/PT/YT prices" | get_prices | chainId, addresses |
| "What's the address of X?" | resolve_token | chainId, query |
| "Show my pending limit orders" | get_my_orders | chainId, maker |
Call get_portfolio(user) to get shaped positions (each with symbol, balance, balanceUsd, apy, claimable fields), then for key markets call get_market(chainId, market) to enrich with APY context. For a complete view, also call get_my_orders(chainId, maker) to show pending limit orders.
Portfolio: {address}
--- PT Positions (Fixed Income) ---
| Symbol | Amount | Value (USD) | Fixed APY | Maturity | Days Left |
|----------|----------|-------------|-----------|------------|-----------|
--- YT Positions (Yield Leverage) ---
| Symbol | Amount | Value (USD) | Underlying APY | Implied APY | Signal |
|----------|----------|-------------|----------------|-------------|--------|
--- LP Positions ---
| Market | LP Tokens | Value (USD) | LP APY | Maturity | Days Left |
|----------|-----------|-------------|--------|------------|-----------|
PT: Earning {impliedApy}% fixed. Matures in {days} days → redeems 1:1. Exit early via /pendle-swap.
YT: Receiving {underlyingApy}% at leverage.
LP: Earning {aggregatedApy}% total (PENDLE + fees). Claim via /pendle-swap.
If any position expires within 30 days, prominently warn:
Tool errors return structured JSON with an error message. Check the message for guidance.
| Type | Source | How to Claim |
|---|---|---|
| Gauge rewards | PENDLE emissions to LP holders | claim_rewards(markets=...) |
| YT interest | Underlying yield on YT | claim_rewards(yts=...) |
| Merkle rewards | Periodic PENDLE distributions | Separate MerkleDistributor (not via this MCP) |
/pendle-data — market data and analytics/pendle-swap — trade PT/YT, LP management/pendle-order — limit ordersWhat SKILL.md sets; muted values are Claude Code's defaults
sonnetThree short reads, in order
pendle, defi, portfolio-analysis, yield-farming, fixed-income
npx claudepluginhub pendle-finance/pendle-ai --plugin pendle-v24 skills in this plugin
/pendle-dataQuery Pendle Finance market data, asset metadata, APY analytics, and yield strategy insights. Activate when the user asks about Pendle markets, implied APY, fixed yield rates, PT/YT/LP tokens, underlying APY, liquidity, or wants to compare, find, or filter markets./pendle-orderManage Pendle Finance limit orders — view the order book, generate EIP-712 order data for PT/YT buys and sells, submit signed orders, and cancel. Activate when the user asks about limit orders, buy PT at a target APY, sell YT if yield drops, or set a yield target./pendle-swapBuild Pendle Finance swap and LP transactions — swap any ERC20 tokens, buy/sell PT, buy/sell YT, mint/redeem SY, mint/redeem PT&YT, add/remove liquidity, claim rewards. Activate when the user wants to trade on Pendle, swap tokens, get a swap quote, buy fixed yield, sell a position, wrap tokens into SY, add or remove liquidity, or claim PENDLE rewards.Other plugins' skills for the same job