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.
$5
/moSubscription · cancel anytime
Secure checkout via Stripe
- Always the latest version
- Delivered live to your agent via MCP
- Cancel anytime, access ends at period end
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.mdwith 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
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 14 days ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.