ai4finance-foundation/finrobot/bond-relative-value

Claude Code and agent skill by ai4finance-foundation/finrobot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Perform relative value analysis on bonds by combining pricing, yield

Install

npx vskill@latest install ai4finance-foundation/finrobot/bond-relative-value

SKILL.md

The same SKILL.md was published earlier as ai4finance-foundation/finrobot/bond-relative-value.

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.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
8,122
Repository forks
1,374
7-day trend score
45

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ai4finance-foundation/finrobot/bond-relative-value/badge)](https://verified-skill.com/skills/ai4finance-foundation/finrobot/bond-relative-value)

Something wrong with this skill or its page? Tell us.