mcpbeat Sign in

Swap Curve Strategy Skill for Claude

Analyze the interest rate swap curve by pricing swaps at multiple tenors, overlaying government and inflation curves, and identifying curve trade opportunities. Use when analyzing swap curves, computing swap spreads, decomposing real rates, identifying steepener/flattener/butterfly trades, or comparing swap rates across currencies.

1k tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
33987
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/anthropics/financial-services --skill swap-curve-strategy

The instruction itself

9 sections, as written by the author

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

  • Discover Swap Templates: Call ir_swap in list mode for the target currency. Identify available indices and tenors.
  • 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.
  • 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.
  • Inflation Decomposition: Call inflation_curve (search then calculate). Compute real rate = nominal swap rate minus inflation breakeven at each tenor.
  • Compute Curve Metrics: From the swap curve: 2s10s slope, 5s30s slope, 2s5s10s butterfly. Note curve shape classification.
  • 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).

Other skills for the same job

different authors, same section of the catalogue
Competitive Ads Extractor
by frostant
×10

Extracts and analyzes competitors' ads from ad libraries (Facebook, LinkedIn, etc.) to understand what messaging, problems, and creative approaches are working. Helps inspire and improve your own ad campaigns.

2k tokens
Lead Research Assistant
by frostant
×8

Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.

2k tokens
Developer Growth Analysis
by frostant
×6

Analyzes your recent Claude Code chat history to identify coding patterns, development gaps, and areas for improvement, curates relevant learning resources from HackerNews, and automatically sends a personalized growth report to your Slack DMs.

4k tokens
App Store Optimization
by alirezarezvani
×3

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

55k tokens scripts
Deeptools
by christophacham
×3

NGS analysis toolkit. BAM to bigWig conversion, QC (correlation, PCA, fingerprints), heatmaps/profiles (TSS, peaks), for ChIP-seq, RNA-seq, ATAC-seq visualization.

21k tokens scripts
Pymatgen
by christophacham
×3

Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.

26k tokens scripts
Enhance Prompt
by google-labs-code
vendor ×2

Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

3k tokens
Meme Factory
by softaworks
×2

Generate memes using the memegen.link API. Use when users request memes, want to add humor to content, or need visual aids for social media. Supports 100+ popular templates with custom text and styling.

14k tokens scripts

How to use it

Copy the folder

Take anthropics/swap-curve-strategy from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.