anthropics/financial-services

swap-curve-strategy

Analyze the interest rate swap curve by pricing swaps at multiple tenors, overlaying government and inflation curves, and identifying curve trade opportunities.

Ver código fuente

Cómo usar

  1. Copia el comando y revisa el paquete antes de instalarlo en tu entorno de agente.
  2. Consulta las herramientas, credenciales y entornos necesarios en el documento original.
  3. Describe las entradas y el resultado deseado; contrasta la salida con las fuentes.
npx skills add https://github.com/anthropics/financial-services --skill swap-curve-strategy

Antes de empezar

  • La instalación no incluye suscripción al modelo, cuota API ni permisos sobre tus archivos.
  • Las estrellas e instalaciones reflejan actividad, no una prueba independiente de calidad o seguridad.
Documento original del Skill

Contenido del repositorio de origen con títulos, ejemplos, código, tablas, enlaces e imágenes preservados.

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

TenorSwap Rate (%)Govt Yield (%)Swap Spread (bp)DV01Inflation BE (%)Real Rate (%)
2Y..................
5Y..................
10Y..................
30Y..................

Curve Metrics

MetricCurrent
2s10s slope (bp)...
5s30s slope (bp)...
2s5s10s butterfly (bp)...
Curve shapeNormal / Flat / Inverted / Humped

Real Rate Decomposition

TenorNominal SwapInflation BEReal RateSignal
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).

Relacionados por tarea

del mismo repositorio

Más Skills

Todos los Skills
anthropics
Oficial

equity-research

Generate comprehensive equity research snapshots combining analyst consensus estimates, company fundamentals, historical prices, and macroeconomic context. Use when researching stocks, comparing estimates to actuals, analyzing company financials, assessing equity valuations, or building investment cases.

Instalaciones / 1h
1
GitHub Stars
41,4 mil
Actualizado
12 nov
anthropics
Oficial

bond-relative-value

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.

Instalaciones / 1h
1
GitHub Stars
41,4 mil
Actualizado
12 nov
anthropics
Oficial

comps-analysis

Build institutional-grade comparable company analyses with operating metrics, valuation multiples, and statistical benchmarking in Excel/spreadsheet format. Perfect for: - Public company valuation (M&A, investment analysis) - Benchmarking performance vs. industry peers - Pricing IPOs or funding rounds - Identifying valuation outliers (over/under-valued) - Supporting investment committee presentations - Creating sector overview reports Not ideal for: - Private companies without comparable public

Instalaciones / 1h
1
GitHub Stars
41,4 mil
Actualizado
12 nov
anthropics
Oficial

dcf-model

Real DCF (Discounted Cash Flow) model creation for equity valuation. Retrieves financial data from SEC filings and analyst reports, builds comprehensive cash flow projections with proper WACC calculations, performs sensitivity analysis, and outputs professional Excel models with executive summaries. Use when users need to value a company using DCF methodology, request intrinsic value analysis, or ask for detailed financial modeling with growth projections and terminal value calculations.

Instalaciones / 1h
1
GitHub Stars
41,4 mil
Actualizado
12 nov