pendle-portfolio
Analyze Pendle Finance portfolio positions — view PT, YT, LP holdings across markets, check claimable PENDLE rewards and YT interest, display maturity timelines, and provide position-level insights. Activate when the user asks about their portfolio, wallet positions, holdings, claimable rewards, or upcoming maturities.
Best use case
pendle-portfolio is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze Pendle Finance portfolio positions — view PT, YT, LP holdings across markets, check claimable PENDLE rewards and YT interest, display maturity timelines, and provide position-level insights. Activate when the user asks about their portfolio, wallet positions, holdings, claimable rewards, or upcoming maturities.
Teams using pendle-portfolio should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/pendle-official-pendle-portfolio/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How pendle-portfolio Compares
| Feature / Agent | pendle-portfolio | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze Pendle Finance portfolio positions — view PT, YT, LP holdings across markets, check claimable PENDLE rewards and YT interest, display maturity timelines, and provide position-level insights. Activate when the user asks about their portfolio, wallet positions, holdings, claimable rewards, or upcoming maturities.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Pendle Portfolio Analyst
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.
---
## Tool Selection
| 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 |
---
## Portfolio Display
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 |
|----------|-----------|-------------|--------|------------|-----------|
```
---
## Position Insights
**PT**: Earning {impliedApy}% fixed. Matures in {days} days → redeems 1:1. Exit early via `/pendle-swap`.
**YT**: Receiving {underlyingApy}% at leverage.
- underlyingApy > impliedApy → **Outperforming** (profitable)
- underlyingApy < impliedApy → **Underperforming** (consider exit)
- YT decays to $0 at expiry — time-critical.
**LP**: Earning {aggregatedApy}% total (PENDLE + fees). Claim via `/pendle-swap`.
---
## Maturity Alert
If any position expires within **30 days**, prominently warn:
- PT: converging to par — hold for redemption or exit now
- YT: losing value rapidly — exit before it reaches $0
- LP: only redeemable PT + SY remain post-maturity
---
## Error Handling
Tool errors return structured JSON with `error.code` and `error.retryable`. Use `error.action` for guidance.
---
## Reward Types
| 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) |
---
## Related Skills
- `/pendle-data` — market data and analytics
- `/pendle-swap` — trade PT/YT, LP management
- `/pendle-order` — limit ordersRelated Skills
okx-wallet-portfolio
This skill should be used when the user asks to 'check my wallet balance', 'show my token holdings', 'how much OKB do I have', 'what tokens do I have', 'check my portfolio value', 'view my assets', 'how much is my portfolio worth', 'what\'s in my wallet', or mentions checking wallet balance, total assets, token holdings, portfolio value, remaining funds, DeFi positions, or multi-chain balance lookup. Supports XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, and 20+ other chains. Do NOT use for general programming questions about balance variables or API documentation. Do NOT use when the user is asking how to build or integrate a balance feature into code.
okx-cex-portfolio
This skill should be used when the user asks about 'account balance', 'how much USDT do I have', 'my funding account', 'show my positions', 'open positions', 'position P&L', 'unrealized PnL', 'closed positions', 'position history', 'realized PnL', 'account bills', 'transaction history', 'trading fees', 'fee tier', 'account config', 'max order size', 'how much can I buy', 'withdrawable amount', 'transfer funds', 'move USDT to trading account', or 'switch position mode'. Requires API credentials. Do NOT use for market prices (use okx-cex-market), placing/cancelling orders (use okx-cex-trade), or grid/DCA bots (use okx-cex-bot).
recipe-portfolio-snapshot-csv
Export a portfolio snapshot with balances and valuations to CSV.
kraken-portfolio-intel
Portfolio analysis, P&L tracking, trade history, and export reports.
derivatives-trading-portfolio-margin
Binance Derivatives-trading-portfolio-margin request using the Binance API. Authentication requires API key and secret key. Supports testnet and mainnet.
derivatives-trading-portfolio-margin-pro
Binance Derivatives-trading-portfolio-margin-pro request using the Binance API. Authentication requires API key and secret key.
pendle-yield-trading-agent
Trade PT/YT tokens for fixed yields and leveraged yield exposure across DeFi protocols.
pendle-yield-agent
Analyze PT/YT markets, get implied APY, and trade yield positions on Pendle Finance.
pendle-swap
Build 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.
pendle-order
Manage 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-data
Query 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-agent
Trade PT/YT tokens, add liquidity, and lock fixed yields on Pendle markets across multiple chains.