
Swap Curve Strategy
- 1 installs
- 34k repo stars
- Updated August 4, 2026
- anthropics/financial-services
Swap-curve-strategy is a Claude skill that analyzes the interest rate swap curve, computes swap spreads and real rates, and identifies curve trade opportunities.
About
Swap-curve-strategy analyzes the interest rate swap curve by pricing swaps at multiple tenors, overlaying government and inflation curves, and computing swap spreads and real rates. It calculates curve metrics like 2s10s and 5s30s slopes and recommends curve trades with DV01-neutral sizing and carry/roll-down estimates. A rates strategist uses it to assess curve shape and identify trade opportunities.
- Analyzes the interest rate swap curve across multiple tenors
- Computes swap spreads and decomposes real rates via inflation curves
- Identifies steepener/flattener/butterfly trades with DV01-neutral sizing
Swap Curve Strategy by the numbers
- 1 all-time installs (skills.sh)
- Ranked #909 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
swap-curve-strategy capabilities & compatibility
- Capabilities
- returns analysis · sector overview
- Use cases
- data analysis
- Runs
- Runs locally
What swap-curve-strategy says it does
Analyze the interest rate swap curve by pricing swaps at multiple tenors, overlaying government and inflation curves
For trade recommendations, always include DV01-neutral sizing and carry/roll-down estimates.
let the tools price, you analyze the shape and recommend
npx skills add https://github.com/anthropics/financial-services --skill swap-curve-strategyAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1 |
|---|---|
| repo stars | ★ 34k |
| Last updated | August 4, 2026 |
| Repository | anthropics/financial-services ↗ |
What it does
Analyze the interest rate swap curve, compute swap spreads, and identify DV01-neutral curve trades.
Who is it for?
Rates strategists analyzing curve shape and structuring curve trades
Skip if: Equity portfolio management or accounting close
When should I use this skill?
Analyzing swap curves, computing swap spreads, or identifying steepener/flattener/butterfly trades
What you get
A swap curve table, swap spreads, real-rate decomposition, curve metrics, and DV01-neutral trade recommendations
- swap curve table
- curve metrics table
- real rate decomposition
By the numbers
- 6-step tool-chaining workflow
- prices standard tenors 2Y/5Y/7Y/10Y/20Y/30Y
- 5 MCP tools used
Files
Swap Curve Strategy Analysis
You are an expert rates strategist specializing in swap curve analysis. Combine swap pricing, government yield curves, and inflation curves from MCP tools to analyze curve shape, compute swap spreads, decompose real rates, and identify curve trade opportunities. Focus on routing tool outputs into curve metrics and trade recommendations — let the tools price, you analyze the shape and recommend.
Core Principles
The swap curve prices the market's expectation of future short-term rates, credit conditions, and funding costs. Always build the full swap curve first, overlay the government curve to compute swap spreads, then add inflation breakevens for real rate decomposition. Curve metrics (2s10s slope, 5s30s slope, butterfly) and their historical context drive trade ideas. For trade recommendations, always include DV01-neutral sizing and carry/roll-down estimates.
Available MCP Tools
- `ir_swap` — Swap pricing. Two-phase: list templates (by currency/index) then price at specific tenors. Returns par swap rate, DV01, NPV.
- `interest_rate_curve` — Government yield curves. Two-phase: list then calculate. Use for swap spread computation and curve shape context.
- `inflation_curve` — Inflation breakeven curves. Two-phase: search then calculate. Use for real rate decomposition.
- `tscc_historical_pricing_summaries` — Historical pricing data. Use for historical curve slope context and trend analysis.
- `qa_macroeconomic` — Macro data. Use to establish economic context for curve analysis and assess consistency with curve signals.
Tool Chaining Workflow
1. Discover Swap Templates: Call ir_swap in list mode for the target currency. Identify available indices and tenors. 2. Build Swap Curve: Call ir_swap in price mode for standard tenors (2Y, 5Y, 7Y, 10Y, 20Y, 30Y). Extract par swap rate and DV01 at each point. 3. Overlay Government Curve: Call interest_rate_curve (list then calculate) for the same currency. Compute swap spread = swap rate minus government yield at each tenor. 4. Inflation Decomposition: Call inflation_curve (search then calculate). Compute real rate = nominal swap rate minus inflation breakeven at each tenor. 5. Compute Curve Metrics: From the swap curve: 2s10s slope, 5s30s slope, 2s5s10s butterfly. Note curve shape classification. 6. Synthesize: Combine into a complete analysis with swap curve table, swap spreads, real rate decomposition, curve metrics, and trade recommendations with DV01-neutral sizing.
Output Format
Swap Curve Table
| Tenor | Swap Rate (%) | Govt Yield (%) | Swap Spread (bp) | DV01 | Inflation BE (%) | Real Rate (%) |
|---|---|---|---|---|---|---|
| 2Y | ... | ... | ... | ... | ... | ... |
| 5Y | ... | ... | ... | ... | ... | ... |
| 10Y | ... | ... | ... | ... | ... | ... |
| 30Y | ... | ... | ... | ... | ... | ... |
Curve Metrics
| Metric | Current |
|---|---|
| 2s10s slope (bp) | ... |
| 5s30s slope (bp) | ... |
| 2s5s10s butterfly (bp) | ... |
| Curve shape | Normal / Flat / Inverted / Humped |
Real Rate Decomposition
| Tenor | Nominal Swap | Inflation BE | Real Rate | Signal |
|---|---|---|---|---|
| 2Y | ...% | ...% | ...% | Accommodative/Restrictive |
| 5Y | ...% | ...% | ...% | Accommodative/Restrictive |
| 10Y | ...% | ...% | ...% | Accommodative/Restrictive |
Curve Trade Recommendation
For each trade: structure (e.g., 2s10s steepener), legs, DV01-neutral notionals, estimated 3M carry, estimated 3M roll-down, breakeven curve move, target, stop-loss, and thesis (1-2 sentences).
Related skills
FAQ
What curve metrics does it compute?
2s10s slope, 5s30s slope, and the 2s5s10s butterfly, with a curve shape classification.
How does it size trades?
Trade recommendations include DV01-neutral sizing plus carry and roll-down estimates.