Fixed Income Sovereign
Analytics for US Treasury bond pricing, yield curves, duration, convexity, and TIPS, excluding sovereign credit risk.
- CCM score
- 64 of 100
- skills.sh installs
- 760
- GitHub stars
- 270
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers bond pricing, YTM, spot and forward curves, bootstrapping, Macaulay and modified duration, DV01, and convexity
- Includes TIPS real yields and breakeven inflation, plus key rate duration for non-parallel curve shifts
- Notes pitfalls such as day count conventions, clean versus dirty prices, and duration overstating losses without convexity
- Runs a demo and
--verifymode viascripts/fixed_income_sovereign.py, with cross-references to corporate and municipal fixed income skills
Install
$ npx -y skills add joellewis/finance_skills --skill fixed-income-sovereign -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Fixed Income — Sovereign
Scope: US Treasuries and rates analytics. Sovereign credit risk — emerging market debt, default analysis, country risk spreads — is out of scope for this skill.
Core Concepts
Bond Pricing
The price of a bond is the present value of its future cash flows:
P = sum(t=1 to n) [C / (1+y)^t] + F / (1+y)^n
where C = coupon payment per period, y = yield to maturity per period, F = face value, n = total number of periods. For semi-annual bonds, divide the annual coupon by 2 and the annual yield by 2, and double the number of years to get n.
Yield to Maturity (YTM)
The discount rate y that solves the bond pricing equation — the single rate that equates the bond's market price to the present value of all future cash flows. Assumes reinvestment of coupons at the YTM rate. It is the standard yield measure for bonds.
Current Yield
Current Yield = Annual Coupon / Price. A simple income measure that ignores capital gains/losses and the time value of money.
Details
- Repository
- github.com/joellewis/finance_skills
- Categories
- Finance & Trading, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the fixed-income-sovereign skill do?
The fixed-income-sovereign skill analyzes US Treasury securities and interest rate risk, covering bond pricing, yield curve construction, duration, convexity, TIPS, and forward and spot rate analysis. It works on questions about Treasury bonds, inverted yield curves, DV01, real yields and breakeven inflation rates. Sovereign credit risk such as emerging market debt is outside its scope.
How do I install the fixed-income-sovereign skill?
Run npx -y skills add joellewis/finance_skills --skill fixed-income-sovereign -y in a project to install it. Once installed, the fixed-income-sovereign skill lets the agent price bonds, build yield curves and estimate rate sensitivity for US Treasuries.
Who is the fixed-income-sovereign skill for?
The fixed-income-sovereign skill suits developers and analysts who need Treasury bond pricing, duration and convexity calculations inside an agent workflow. It also helps anyone asking how bonds react to interest rate changes, using the worked examples in its SKILL.md. It has no listed API keys or accounts.
Does the fixed-income-sovereign skill include a runnable script?
Yes, the fixed-income-sovereign skill ships a Python script, run with uv run scripts/fixed_income_sovereign.py or python3 after installing numpy and scipy. Its demo prints the calculations and matches the worked examples, and a --verify flag checks those outputs.
More from joellewis/finance_skills
All 84- Anti Money Laundering758
- Financial Planning Integration757
- Portfolio Management Systems756
- Tax Loss Harvesting756
- Advertising Compliance755
- Qualitative Valuation755
- Investment Suitability749
- Know Your Customer749
- Performance Attribution748
- Next Best Action745
- Operational Risk745
- Settlement Clearing745
- Exchange Connectivity744
- Reconciliation744
- Regulatory Reporting744
- Alternatives741
- Fixed Income Structured740
- Margin Operations740
- Counterparty Risk738
- Advice Standards735
- Pre Trade Compliance735
- Client Onboarding734
- Books And Records732
- Order Management Advisor731
Similar to Fixed Income Sovereign
More Finance & Tradingbond-relative-valueanthropics/financial-services1.8K installsStructured bond analysis that decomposes spreads, runs rate shock scenarios, and flags rich or cheap bonds.
fixed-income-corporatejoellewis/finance_skills764 installsAnalysis of corporate bonds and credit risk, covering spreads, ratings, default metrics, callable bonds, and private credit.
fixed-income-structuredjoellewis/finance_skills740 installsStructured fixed income analysis covering MBS prepayment risk, CMO tranching, CLO waterfalls, and ABS valuation.
macro-rates-monitoranthropics/financial-services2.5K installsRoutes macro indicators, yield curves, inflation breakevens, and swap rates into one dashboard for financial conditions analysis.