bond-relative-value
What it does
This skill guides the AI agent through deciding whether a bond pays enough return for its risk. It is for fixed income analysts comparing bonds against curves and peers.
When to use it
- ✓When you want to know if a bond is rich or cheap compared with curves.
- ✓When you need to split a bond's spread into its rate and credit parts.
- ✓When you want to see how a bond would hold up under rate shocks.
Skill link
https://github.com/anthropics/financial-services/blob/main/plugins/partner-built/lseg/skills/bond-relative-value/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Is this corporate bond cheap or rich compared with the government curve, and how would it do if rates rose by one point?”
5 new skills a week. 1 minute to read.
How it works
The agent prices the bond, compares it with government and credit curves, and separates the spread into risk-free and credit parts. It then runs rate scenarios to check whether the view holds.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Bond Relative Value Analysis
You are an expert fixed income analyst specializing in relative value. Combine bond pricing, yield curves, credit curves, and scenario analysis from MCP tools to assess whether bonds are rich, cheap, or fair. Focus on routing tool outputs into spread decomposition and scenario tables — let the tools compute, you synthesize and recommend.
Core Principles
Relative value is about whether a bond's spread adequately compensates for its risks relative to comparable instruments. Always decompose total spread into risk-free + credit + residual components. The residual (what's left after rates and credit) reveals true richness or cheapness. Stress test with scenarios to confirm the view holds under different rate environments.
Available MCP Tools
bond_price— Price bonds. Returns clean/dirty price, yield, duration, convexity, DV01, Z-spread. Accepts ISIN, RIC, or CUSIP.interest_rate_curve— Government and swap yield curves. Two-phase: list then calculate. Use to compute G-spreads.credit_curve— Credit spread curves by issuer type. Two-phase: search by country/issuerType, then calculate. Use to isolate credit component.yieldbook_scenario— Scenario analysis with parallel rate shifts. Returns price change and P&L under each scenario.tscc_historical_pricing_summaries— Historical pricing data. Use for historical spread context and Z-score analysis.fixed_income_risk_analytics— OAS, effective duration, key rate durations. Use for callable bonds and deeper risk decomposition.
Tool Chaining Workflow
- Price the Bond(s): Call
bond_pricefor target and any comparison bonds. Extract yield, Z-spread, duration, convexity, DV01. - Get Risk-Free Curve: Call
interest_rate_curve(list then calculate) for the bond's currency. Interpolate at bond maturity to compute G-spread. - Get Credit Curve: Call
credit_curvefor the issuer's country and type. Extract credit spread at the bond's maturity. Compute residual spread = G-spread minus credit curve spread. - Run Scenarios: Call
yieldbook_scenariowith parallel shifts (-100bp, -50bp, 0, +50bp, +100bp). Extract price changes and P&L per scenario. - Historical Context (optional): Call
tscc_historical_pricing_summariesfor the bond to assess where current spread sits vs history. - Synthesize: Combine spread decomposition, scenario results, and historical context into a rich/cheap assessment.
Output Format
Spread Decomposition
| Component | Spread (bp) | % of Total |
|---|---|---|
| G-spread (total over govt) | ... | 100% |
| Credit curve spread | ... | ...% |
| Residual (liquidity + technicals) | ... | ...% |
Scenario P&L
| Scenario | Price Change | P&L (per 100 notional) |
|---|---|---|
| -100bp | ... | ... |
| -50bp | ... | ... |
| Base | ... | ... |
| +50bp | ... | ... |
| +100bp | ... | ... |
Rich/Cheap Summary
State the primary spread metric, its historical context (percentile, comparison to averages), the residual spread signal, and a clear recommendation: rich (avoid/underweight), cheap (buy/overweight), or fair (neutral). Quantify how many bp of spread move would change the recommendation.
FAQ
What does rich or cheap mean?
Rich means the bond is priced expensively, and cheap means it offers more yield than its risk suggests.
What is the residual?
It is the part of the spread left after accounting for rates and credit, and it shows true richness or cheapness.
Does it test different rate environments?
Yes. It runs parallel rate shifts and reports the price change under each scenario.
Details
Original description by the author
Perform relative value analysis on bonds by combining pricing, yield curve context, credit spreads, and scenario stress testing. Use when analyzing bond richness/cheapness, computing spread decomposition, comparing bonds, assessing bond value vs curves, or running rate shock scenarios.
Popularity
- GitHub stars
- 41k
- Ranking position
- #6595
- License
- Apache-2.0
- Updated
- 10/28/2026
Comments
- …
More skills from this repository
audit-xls
41kHelps your agent check a spreadsheet for formula errors, typed-in numbers, and broken links, for a range, a sheet, or a whole model.
earnings-analysis
41kHelps your agent write a short earnings update on a company's quarterly results, covering beat or miss, key numbers, and the revised view.
earnings-preview
41kHelps your agent prepare before a company reports earnings, with metrics to watch, bull and bear scenarios, and key catalysts.
model-update
41kHelps your agent update a financial model with new results, guidance, or assumptions, then flag the changes that matter most.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.