# Bond Duration & Convexity Immunization Planner

> Builds an immunization plan from the live Treasury curve and FRED macro data: Macaulay duration, key-rate shifts, and a rate-regime read that reports where the evidence disagrees instead of hiding it.

Bond Duration & Convexity Immunization Planner is a subscription AI agent skill on Agensi by AllAccessData. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5/mo (subscription, cancel anytime)
- Creator: [AllAccessData](https://www.agensi.io/creators/allaccessdata)
- Version: 1.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/bond-duration-convexity-immunization-planner
- Tags: finance-accounting, trading-investing, research-analysis

## About this skill

**Fixed Income Duration & Convexity Immunization Planner** A portfolio immunized against a parallel shift is not immunized. Curves rarely do you the courtesy of moving in parallel.

Built for bond portfolio managers and fixed income analysts sizing interest rate exposure. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.

What's included:
* **Live curve and macro inputs:** the 1M to 30Y Treasury curve from Treasury.gov, with CPI, non-farm payrolls and industrial production from FRED. Both free, both official sources.
* **Duration and convexity measures:** Macaulay duration and convexity for the portfolio, with the sensitivities stated rather than summarised.
* **Key-rate shifts, not just parallel ones:** immunization tested against non-parallel moves - steepening, flattening and twists - which is where a duration-matched book usually discovers its gap.
* **Regime read with honest uncertainty:** curve data and macro indicators are treated as independent evidence over {SteepeningCurve, InvertingCurve, FlatRegime}, and the conflict metric K is reported. When the curve says one thing and the macro data says another, the output tells you that rather than averaging it away.
* **Deliverable:** a `duration_convexity_immunization_plan.md` with the rebalancing allocations and the full calculation trail.

_Know what the measures do and do not cover. Duration and convexity are a local approximation around the current curve - the error grows with the size of the move, which is to say they are least reliable exactly when you need them. They say nothing about credit or liquidity risk, so a duration-matched book can still be the wrong book. And if you hold callable bonds or mortgage-backed securities, convexity can turn negative as rates fall: the position shortens when you want it to extend, and standard immunization arithmetic will mislead you about it._

_This is analysis, not investment advice. Regime beliefs are a structured reading of current data, not a forecast of Federal Reserve policy._

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Bond Duration & Convexity Immunization Planner skill from Agensi" and describe your task.
3. Subscribe on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Bond Duration & Convexity Immunization Planner do?

Builds an immunization plan from the live Treasury curve and FRED macro data: Macaulay duration, key-rate shifts, and a rate-regime read that reports where the evidence disagrees instead of hiding it.

### Which AI agents support Bond Duration & Convexity Immunization Planner?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Bond Duration & Convexity Immunization Planner?

Connect your AI agent to Agensi through MCP, then ask it to use Bond Duration & Convexity Immunization Planner on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
