analyzing-yield-curves
Interprets yield curve shapes with term structure analysis and relative value identification. Use when analyzing yield curves, identifying curve trades, or interpreting interest rate expectations.
Best use case
analyzing-yield-curves is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Interprets yield curve shapes with term structure analysis and relative value identification. Use when analyzing yield curves, identifying curve trades, or interpreting interest rate expectations.
Teams using analyzing-yield-curves 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/analyzing-yield-curves/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How analyzing-yield-curves Compares
| Feature / Agent | analyzing-yield-curves | 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?
Interprets yield curve shapes with term structure analysis and relative value identification. Use when analyzing yield curves, identifying curve trades, or interpreting interest rate expectations.
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
# Analyzing Yield Curves ## When To Use - Interpreting the current shape of a government or credit yield curve (normal, flat, inverted, humped) - Identifying relative value opportunities across maturities for curve trades (steepeners, flatteners, butterflies) - Extracting market-implied expectations for future interest rates, inflation, or recession probability - Comparing curves across issuers, sectors, or sovereigns to assess credit term structure - Supporting portfolio duration and key-rate duration positioning decisions ## Inputs To Gather - **Curve data**: Par yields, zero-coupon (spot) rates, or forward rates for the relevant curve (e.g., UST, OIS/SOFR, EUR swap, issuer-specific) - **Tenor points**: At minimum 2Y, 5Y, 10Y, 30Y; include 3M, 6M, 1Y for short-end analysis and money-market signal extraction - **As-of date and source**: Bloomberg, FRED, ICE, or broker runs — note any interpolation or bootstrap methodology used - **Historical comparison dates**: Prior curve snapshots for slope change analysis (e.g., 1 week, 1 month, 6 months ago) - **Benchmark reference**: Identify the risk-free curve and any spread curves needed (e.g., IG OAS curve, HY spread curve, sovereign spread vs. Bunds) - **Context**: Current Fed/ECB/BoJ policy rate, dot plot or forward guidance, recent CPI/PCE prints, and upcoming auction calendar ## Workflow 1. **Classify curve shape** - Determine current regime: normal (positive slope), flat, inverted, or humped - Compute key slope measures: 2s10s spread, 2s5s, 5s30s, 3m10s - Compare current slopes to 1-year and 5-year percentile ranks to gauge how extreme the shape is 2. **Decompose term structure** - Bootstrap spot rates from par curve if only par yields are provided - Derive implied forward rates (e.g., 1y1y, 2y3y, 5y5y) to read market expectations for future short rates - Separate the yield into components: expected path of short rates + term premium (use ACM, KW, or similar model estimates where available) [VERIFY: model source and vintage] 3. **Identify relative value signals** - Compute Z-scores of spreads between tenor pairs vs. rolling historical windows (60-day, 250-day) - Flag butterfly richness/cheapness: belly vs. wings (e.g., 2s5s10s, 5s10s30s) - Identify roll-down advantage by comparing yield pickup from 6-month or 12-month roll along the curve - Note on-the-run vs. off-the-run spread anomalies for liquidity-driven dislocations 4. **Assess macro and policy implications** - Compare implied forward rates to central bank dot plots or OIS-implied policy path [VERIFY: confirm latest meeting date and statement] - Evaluate inversion signals: 3m10s inversion duration as recession indicator (historical lead time ~12–18 months) - Cross-reference breakeven inflation curve (nominal minus TIPS) for real rate vs. inflation expectations decomposition - Flag divergences between swap curve and government curve that signal credit or liquidity stress 5. **Formulate curve trade ideas** - Map findings to actionable trade structures: outright duration, steepener/flattener (2s10s, 5s30s), butterfly, or barbell vs. bullet - Specify DV01-weighted or regression-weighted hedge ratios - Estimate carry and roll-down P&L over a defined horizon (e.g., 3 months, assuming no rate change) - State key risks: parallel shift exposure, convexity, funding cost, and event risk (auction, payroll, FOMC) ## Output - **Curve snapshot table**: Tenors, par yields, spot rates, implied forwards, and changes vs. prior dates - **Shape classification**: Current regime label with slope measures and percentile context - **Relative value heatmap**: Tenor-pair Z-scores and butterfly spreads flagged as rich/cheap - **Macro signal summary**: Forward rate vs. policy path comparison, inversion status, term premium estimate - **Trade recommendations**: 1–3 curve trade ideas with entry rationale, hedge ratios, carry/roll estimate, and risk factors - **Charts** (if supported): Curve overlay (current vs. prior), slope time series, forward rate vs. dot plot ## Quality Checks - Confirm all yield data is from the same close date and quote convention (mid, bid, ask) — mixing sources distorts slope readings - Verify spot and forward rate derivations are internally consistent (forwards should re-price par curve) - Ensure Z-scores use an appropriate lookback window; regime changes can make long-history Z-scores misleading - Cross-check that DV01-neutral ratios account for actual durations at current yield levels, not approximations - Flag any tenors with thin liquidity or wide bid-ask spreads that could distort relative value signals [VERIFY: check for off-the-run or illiquid points] - Mark all recession probability estimates and term premium figures with model source and date [VERIFY] - Do not present curve-implied rate expectations as forecasts — they embed risk premia and positioning effects
Related Skills
analyzing-vital-statistics
Structures vital records analysis with birth, death, and demographic trend reporting. Use when analyzing vital statistics, interpreting mortality data, or reporting demographic trends.
analyzing-social-determinants-of-health
Maps social determinants affecting health outcomes with intervention strategy development. Use when analyzing SDOH, mapping community resources, or designing social health interventions.
analyzing-pharmacovigilance-data
Structures post-marketing safety surveillance with signal detection and PSUR reporting. Use when analyzing safety signals, preparing PSURs, or managing pharmacovigilance data.
analyzing-flow-cytometry
Interprets flow cytometry panels for hematologic malignancy classification and minimal residual disease. Use when analyzing flow cytometry, classifying lymphomas/leukemias, or documenting immunophenotyping.
analyzing-epidemiological-data
Structures epidemiologic analysis with incidence, prevalence, rate calculations, and statistical inference. Use when calculating disease rates, analyzing epi data, or interpreting population statistics.
analyzing-clinical-trial-data
Structures clinical trial data analysis with primary endpoint evaluation and safety reporting. Use when analyzing trial results, evaluating endpoints, or preparing statistical reports.
analyzing-clinical-data-warehouses
Structures clinical data warehouse queries for quality measurement, research, and operational analytics. Use when querying clinical data, building analytics reports, or extracting research datasets.
analyzing-wealthtech-platforms
Evaluates wealth management technology with robo-advisory models, digital planning, and fee analysis. Use when analyzing wealthtech, evaluating robo-advisors, or assessing digital wealth platforms.
analyzing-water-risk
Structures water risk assessment with water stress mapping, usage analysis, and regulatory exposure evaluation. Use when analyzing water risk, mapping water stress, or evaluating water-related financial exposure.
analyzing-volatility-surfaces
Constructs and interprets implied volatility surfaces with skew analysis and term structure assessment. Use when analyzing vol surfaces, interpreting skew, or modeling volatility dynamics.
analyzing-venture-deal-terms
Evaluates VC term sheet provisions with economic and control analysis and cap table impact. Use when analyzing term sheets, negotiating deal terms, or modeling cap table outcomes.
analyzing-variance-swaps
Structures variance and volatility swap pricing with realized/implied vol analysis and hedging. Use when pricing variance swaps, analyzing vol risk premium, or hedging volatility exposure.