Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot official · Anthropic

fixed-income-portfolio — Claude Code skill: bond portfolio analysis

Skill for bond portfolio analysis: pricing, duration, DV01, rate scenarios and cashflow projections. Aggregates MCP tool outputs into risk metric reports.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add anthropics/financial-services --skill fixed-income-portfolio -a claude-code
Open on GitHub

What fixed-income-portfolio does

The agent evaluates the entire portfolio through a chain of MCP tools: bond_price returns price, duration, DV01 and spread for each bond, yieldbook_bond_reference pulls issuer, rating, sector and currency, yieldbook_cashflow builds coupon and principal payment schedules, yieldbook_scenario runs the portfolio through rate shocks from −200 to +200 basis points. The skill computes market-value weighted metrics — yield, duration, convexity — and outputs tables: composition by sector and rating, quarterly cashflow waterfall, scenario P&L with top risk contributors.

The workflow depends on six MCP tools. Without them the agent cannot retrieve reference data or yield curves. If the MCP environment is not configured, the skill will request bond identifiers but then stop. The output is tables and aggregates, not raw per-bond figures: this is a portfolio review tool, not a single-bond valuation.

What it helps with

  • price dozens of bonds in a portfolio at once
  • compute market-value weighted duration and DV01 for the entire portfolio
  • build a quarterly schedule of coupon and principal payments
  • stress test the portfolio through rate shocks and identify top risk contributors
  • break down positions by sector, rating and currency

Example prompts for the agent

  • Analyze the bond portfolio from `portfolio.csv`: metrics, composition, cashflows and rate scenarios
  • Compute duration and DV01 for these ISINs and compare to the benchmark list
  • Build a one-year cashflow waterfall and show where redemptions concentrate

How to install fixed-income-portfolio

1Skills CLI (Vercel)

npx skills add anthropics/financial-services --skill fixed-income-portfolio -a claude-code

2Manually: put the files in place

~/.claude/skills/fixed-income-portfolio/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/fixed-income-portfolio/

From the same set25

The whole set →
earnings-analysis official anthropics Builds quarterly earnings update reports with beat/miss analysis, revised estimates, key metrics, charts, and the effect on the investment thesis. Claude Code CX Codex Cursor +1 3,300installs equity-research official anthropics Builds a stock snapshot from analyst consensus, financials, price history and macro data. Useful when you need to size up a company fast. Claude Code CX Codex Cursor +1 3,200installs competitive-analysis official anthropics A framework for building competitor analysis decks in PowerPoint or chat. It clarifies project scope, then builds verified slides once the outline is approved. Claude Code CX Codex Cursor +1 2,400installs pitch-deck official anthropics Fills an existing investment banking deck template with data from source files. Use it to move figures into established slide layouts, not to build a deck from scratch. Claude Code CX Codex Cursor +1 2,400installs dcf-model official anthropics Builds an institutional-grade DCF valuation model: pulls data from SEC filings and analyst reports, computes WACC and cash flows, and outputs an Excel model with sensitivity analysis. Claude Code CX Codex Cursor +1 2,400installs ppt-template-creator official anthropics A skill that converts PowerPoint templates into self-contained, reusable skills. Analyze your .pptx, extract all layouts and placeholders with exact coordinates, and package everything as a ready-to-use skill. Claude Code CX Codex Cursor +1 2,300installs macro-rates-monitor official anthropics Builds macro and rates dashboards by combining inflation breakevens, yield curves, and swap spreads into a single analysis. Claude Code CX Codex Cursor +1 2,300installs audit-xls official anthropics Audits Excel sheets for formula errors, hardcoded values, and logic breaks. It checks financial model integrity before sharing work with clients or review committees. Claude Code CX Codex Cursor +1 2,200installs

Similar

kpi-dashboard-design Seth Hobson This skill helps design KPI dashboards, choose useful metrics, and trace conflicting calculations. Use it for SaaS, operations, and cohort analysis views. Claude Code CX Codex Cursor 16,141installs ccxt-python ccxt Helps Python developers integrate cryptocurrency exchanges using CCXT. Covers REST and WebSocket endpoints in both synchronous and asyncio modes. Claude Code CX Codex Cursor +1 2,000installs creating-financial-models official anthropics Skill for building DCF models, sensitivity analysis, Monte Carlo simulations, and scenario planning for investment decisions. Use it for M&A, project finance, and LBO valuation. Claude Code CX Codex Cursor +1 408installs audit-support official anthropics A skill with SOX 404 control testing methodology, sampling approaches and documentation standards. Useful for audit workpapers and sample selection. Claude Code CX Codex Cursor +1 3,200installs process-optimization official anthropics Analyzes business workflows to find bottlenecks and waiting times. Useful when a procedure takes too many steps or stalls on manual approvals. Claude Code CX Codex Cursor +1 3,200installs status-report official anthropics Generates a structured status report for leadership: KPI metrics with green/yellow/red flags, risks, and decisions needed. Turns project tracker activity into a readable narrative. Claude Code CX Codex Cursor +1 3,100installs churn-prevention coreyhaines31 A Claude Code skill for subscription churn: an exit survey at cancellation, an offer matched to the stated reason, and recovery of failed payments. Claude Code CX Codex Cursor +1 120,600installs revops coreyhaines31 This skill helps design RevOps workflows for lead stages, scoring, routing, and marketing-to-sales handoffs. Use it when CRM processes need clear rules. Claude Code CX Codex Cursor +1 113,000installs

Questions about fixed-income-portfolio

How to install fixed-income-portfolio in Claude Code?

Run npx skills add anthropics/financial-services --skill fixed-income-portfolio -a claude-code. The skill will appear in ~/.claude/skills/fixed-income-portfolio/.

What does fixed-income-portfolio do?

Evaluates bond portfolios: a chain of six MCP tools retrieves prices, reference data, cashflow schedules and runs rate shock scenarios, and the skill aggregates everything into tables with portfolio-level metrics — duration, DV01, yield, composition, P&L.

Which MCP tools are required?

Six: bond_price, yieldbook_bond_reference, yieldbook_cashflow, yieldbook_scenario, interest_rate_curve and fixed_income_risk_analytics. Without them the skill cannot retrieve data and will stop after requesting identifiers.

Source text

SKILL.md · Apache-2.0
---
name: fixed-income-portfolio
description: Review fixed income portfolios by pricing multiple bonds, retrieving reference data, analyzing cashflows, and running scenario analysis. Use when reviewing bond portfolios, computing portfolio duration and DV01, analyzing cashflow waterfalls, stress testing rate scenarios, or assessing portfolio composition.
---

# Fixed Income Portfolio Analysis

You are an expert fixed income portfolio analyst. Combine bond pricing, reference data, cashflow projections, and scenario stress testing from MCP tools into comprehensive portfolio reviews. Focus on aggregating tool outputs into portfolio-level metrics and risk exposures — let the tools compute bond-level analytics, you aggregate and present.

## Core Principles

Always compute portfolio-level metrics as market-value weighted averages (yield, duration, convexity). Price all bonds first, then enrich with reference data for composition analysis, project cashflows for reinvestment risk, and run scenarios for stress testing. Frame everything relative to a benchmark when available.

## Available MCP Tools

- **`bond_price`** — Price bonds. Returns clean/dirty price, yield, duration, convexity, DV01, spread. Accepts comma-separated identifiers for batch pricing.
- **`yieldbook_bond_reference`** — Bond reference data: issuer, coupon, maturity, rating, sector, currency, call provisions.
- **`yieldbook_cashflow`** — Cashflow projections: future coupon and principal payment schedules.
- **`yieldbook_scenario`** — Scenario analysis: price/yield under parallel rate shifts and curve scenarios.
- **`interest_rate_curve`** — Government yield curves. Use for spread-to-curve context and curve environment assessment.
- **`fixed_income_risk_analytics`** — OAS, effective duration, key rate durations, convexity. Use for bonds with embedded options.

## Tool Chaining Workflow

1. **Price All Bonds:** Call `bond_price` for all holdings. Extract yield, duration, DV01, convexity, spread per bond.
2. **Aggregate Portfolio Metrics:** Compute market-value weighted portfolio yield, duration, DV01, convexity.
3. **Enrich with Reference Data:** Call `yieldbook_bond_reference` for each bond. Build sector, rating, maturity, and currency breakdowns.
4. **Project Cashflows:** Call `yieldbook_cashflow` for the portfolio. Aggregate into a quarterly cashflow waterfall. Flag concentration periods.
5. **Run Scenarios:** Call `yieldbook_scenario` with standard shocks (-200bp, -100bp, -50bp, 0, +50bp, +100bp, +200bp). Identify top risk contributors.
6. **Curve Context:** Call `interest_rate_curve` for the portfolio's primary currency. Compute spread to curve for each bond.
7. **Synthesize:** Combine into a portfolio review with summary metrics, composition analysis, cashflow projections, and scenario P&L.

## Output Format

### Portfolio Summary
| Metric | Portfolio | Benchmark | Active |
|--------|-----------|-----------|--------|
| Market Value | ... | -- | -- |
| Yield (YTW) | ... | ... | +/-... bp |
| Mod. Duration | ... | ... | +/-... |
| DV01 ($) | ... | ... | +/-... |
| Avg Rating | ... | ... | -- |

### Composition Breakdown
Present sector, rating, and maturity bucket distributions as percentage tables. Flag overweights/underweights vs benchmark.

### Cashflow Waterfall
| Period | Coupon Income | Principal | Total Cash |
|--------|--------------|-----------|-----------|
| Q1 | ... | ... | ... |
| Q2 | ... | ... | ... |

### Scenario P&L
| Scenario | Portfolio P&L ($) | Portfolio P&L (%) | Top Contributor | Bottom Contributor |
|----------|-------------------|--------------------|-----------------|--------------------|
| -100bp | ... | ... | ... | ... |
| Base | -- | -- | -- | -- |
| +100bp | ... | ... | ... | ... |
| +200bp | ... | ... | ... | ... |

© anthropics · Apache-2.0 · anthropics/financial-services

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor