agentleFS
d-wweid-wwei/openclaw-financial-services/skills/fsi-lseg-bond-relative-value/SKILL.md

fsi-lseg-bond-relative-value

Skill16 starsChanged 9 months agoApache-2.0View on GitHub

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.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Price the Bond(s): Call bond_price for target and any comparison bonds.

    line 27
  2. Very specific:

    Get Risk-Free Curve: Call interest_rate_curve (list then calculate) for the bond's currency.

    line 28
  3. Very specific:

    Get Credit Curve: Call credit_curve for the issuer's country and type.

    line 29
  4. Very specific:

    Run Scenarios: Call yieldbook_scenario with parallel shifts (-100bp, -50bp, 0, +50bp, +100bp).

    line 30
  5. Very specific:

    Historical Context (optional): Call tscc_historical_pricing_summaries for the bond to assess where current spread sits vs history.

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Price the Bond(s): Call bond_price for target and any comparison bonds. Extract yield, Z-spread, duration, convexity, DV01.
  2. Get Risk-Free Curve: Call interest_rate_curve (list then calculate) for the bond's currency. Interpolate at bond maturity to compute G-spread.
  3. Get Credit Curve: Call credit_curve for the issuer's country and type. Extract credit spread at the bond's maturity. Compute residual spread = G-spread minus credit curve spread.
  4. Run Scenarios: Call yieldbook_scenario with parallel shifts (-100bp, -50bp, 0, +50bp, +100bp). Extract price changes and P&L per scenario.
  5. Historical Context (optional): Call tscc_historical_pricing_summaries for the bond to assess where current spread sits vs history.
  6. Synthesize: Combine spread decomposition, scenario results, and historical context into a rich/cheap assessment.

Output Format

Spread Decomposition

ComponentSpread (bp)% of Total
G-spread (total over govt)...100%
Credit curve spread......%
Residual (liquidity + technicals)......%

Scenario P&L

ScenarioPrice ChangeP&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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.