Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
joellewis avatar

Fixed Income Municipal

  • 380 installs
  • 161 repo stars
  • Updated July 18, 2026
  • joellewis/finance_skills

fixed-income-municipal is a Claude Code skill that analyzes U.S. municipal bonds for tax-equivalent yield, credit quality, call features, and portfolio fit for developers building fixed-income advisory tools.

About

fixed-income-municipal is a finance agent skill from joellewis/finance_skills that guides analysis of U.S. municipal bonds when developers build advisory software or answer fixed-income questions. The skill covers tax-equivalent yield calculations, credit-quality review, callable-bond call-feature evaluation, and portfolio-fit reasoning for muni allocations. Developers reach for fixed-income-municipal when wiring bond-screening logic into recommendation APIs, chat assistants, or internal research tools that must compare munis against taxable alternatives. The skill encodes municipal-specific factors—state tax treatment, AMT exposure, and call schedules—that generic bond calculators often omit.

  • Tax-equivalent yield math
  • Issuer credit and sector risk
  • Callable and sinking-fund structures
  • State tax treatment nuances
  • Portfolio diversification checks

Fixed Income Municipal by the numbers

  • 380 all-time installs (skills.sh)
  • +15 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #296 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/joellewis/finance_skills --skill fixed-income-municipal

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs380
repo stars161
Last updatedJuly 18, 2026
Repositoryjoellewis/finance_skills

How do you analyze municipal bond tax-equivalent yield?

Analyze U.S. municipal bonds for tax-equivalent yield, credit quality, call features, and portfolio fit when building advisory tools or answering fixed-income questions.

Who is it for?

Backend and fintech developers building fixed-income screening, portfolio analytics, or advisory chat flows that must reason about U.S. municipal bonds.

Skip if: Developers working only on equities, crypto, or non-U.S. fixed income who do not need municipal bond-specific tax and call analysis.

When should I use this skill?

A developer asks about municipal bond yield, muni credit quality, callable munis, or portfolio allocation to tax-exempt bonds.

What you get

Tax-equivalent yield comparisons, credit-quality notes, call-feature flags, and portfolio-fit recommendations for municipal bond positions.

  • tax-equivalent yield comparison
  • credit-quality assessment
  • call-feature summary

Files

SKILL.mdMarkdownGitHub ↗

Fixed Income — Municipal

Core Concepts

General Obligation (GO) Bonds

Backed by the full faith, credit, and taxing power of the issuing municipality. The issuer pledges to use any available revenue source (property tax, income tax, sales tax) to repay bondholders. GO bonds typically require voter approval and are considered safer due to the broad taxing pledge.

Revenue Bonds

Backed solely by the revenue generated from a specific project or source — toll roads (toll collections), water/sewer systems (utility fees), hospitals (patient revenue), airports (landing fees, terminal rents). Revenue bonds typically carry higher yields than GO bonds of comparable maturity and credit quality because of the narrower revenue pledge.

Tax-Equivalent Yield (TEY)

The core calculation for comparing municipal bonds to taxable alternatives:

Federal only: TEY = Muni Yield / (1 - federal_marginal_rate)

Federal + state (for in-state munis): TEY = Muni Yield / (1 - federal_rate - state_rate × (1 - federal_rate))

This converts a tax-exempt yield to the pre-tax yield a taxable bond would need to offer to match the muni's after-tax income.

Alternative Minimum Tax (AMT)

Certain private activity bonds generate interest that is subject to AMT. For taxpayers subject to AMT, the tax advantage of these bonds is reduced. AMT-subject bonds typically trade at slightly higher yields to compensate. Non-AMT munis (governmental purpose bonds) are not affected.

Muni Credit Analysis

GO bonds: evaluate tax base diversity and trends, debt burden ratios (debt per capita, debt/assessed value), fund balance as % of expenditures, economic base (population, employment), pension/OPEB obligations.

Revenue bonds: evaluate debt service coverage ratio (DSCR = net revenue / annual debt service), rate covenants, additional bonds tests, demand analysis, and reserve fund adequacy.

De Minimis Tax Rule

Discount bonds purchased below a threshold (typically par minus 0.25% per year to maturity) may lose tax-exempt status on the discount portion — the gain is taxed as ordinary income rather than being tax-exempt. This affects the after-tax return calculation for discount munis.

Muni Yield Ratios

Muni yield / Treasury yield. Historically this ratio averages approximately 80% for AAA munis. Ratios above 80-85% suggest munis are cheap relative to Treasuries; below 70% suggests they are rich. The ratio varies with supply/demand, tax policy expectations, and credit conditions.

Build America Bonds (BABs)

Taxable municipal bonds created under the 2009 stimulus. The federal government subsidizes 35% of interest cost. Expired for new issuance after 2010 but outstanding BABs continue to trade. They allowed issuers to access the broader taxable bond market.

Pre-Refunded/Escrowed Bonds

When an issuer advance-refunds a callable bond, it places US Treasuries in escrow sufficient to pay remaining coupons and the call price. These defeased bonds are effectively AAA-quality and trade at very tight spreads.

Key Formulas

FormulaExpressionUse Case
TEY (federal only)Muni Yield / (1 - federal_rate)Compare muni to taxable bond
TEY (federal + state)Muni Yield / (1 - fed_rate - state_rate × (1 - fed_rate))In-state muni comparison
DSCRNet Revenue / Annual Debt ServiceRevenue bond credit quality
De Minimis ThresholdPar - 0.25% × years to maturityTax treatment of discount munis
Muni Yield RatioMuni Yield / Treasury YieldRelative value assessment

Worked Examples

Example 1: Tax-Equivalent Yield with Federal and State Tax

Given: Muni yield = 3.5%, federal marginal rate = 37%, state marginal rate = 5% Calculate: Tax-equivalent yield for an in-state bond Solution: TEY = 3.5% / (1 - 0.37 - 0.05 × (1 - 0.37)) TEY = 3.5% / (1 - 0.37 - 0.05 × 0.63) TEY = 3.5% / (1 - 0.37 - 0.0315) TEY = 3.5% / 0.5985 TEY = 5.85%

A taxable bond would need to yield 5.85% to match the after-tax income of this 3.5% muni for this taxpayer. The state tax benefit adds approximately 29bp of value compared to the federal-only TEY of 5.56%.

Example 2: GO vs Revenue Bond Comparison

Given: Same issuer, same maturity (10 years). GO bond yields 3.2%, revenue bond (water/sewer) yields 3.6%. DSCR on revenue bond = 1.8x. Calculate: Which bond offers better value? Solution: The revenue bond yields 40bp more than the GO bond. The DSCR of 1.8x is well above the typical 1.25x minimum for investment grade, indicating strong coverage. Water/sewer is an essential service with stable demand. The 40bp additional yield compensates for the narrower revenue pledge, but the strong coverage ratio suggests the credit risk is modest. For investors comfortable with revenue bond structures, the 40bp pickup may represent good relative value.

Common Pitfalls

  • Forgetting state tax benefits for in-state bonds — the combined federal+state TEY can be meaningfully higher than federal-only
  • AMT implications for high-income investors — private activity bond interest may trigger AMT liability
  • De minimis rule on discount munis — gains on deep-discount munis may be taxed as ordinary income
  • Confusing call provisions — many munis are callable at par after 10 years; always check yield-to-worst

Cross-References

  • time-value-of-money (core plugin): present value and discounting fundamentals
  • fixed-income-sovereign: yield curve context and duration concepts
  • fixed-income-corporate: comparing muni spreads to corporate spreads
  • tax-efficiency: muni bonds as a primary tax management tool

Running the Script

uv run scripts/fixed_income_municipal.py            # run the demo (uses PEP 723 inline deps)
uv run scripts/fixed_income_municipal.py --verify   # check demo outputs against the worked examples (exit 1 on mismatch)
python3 scripts/fixed_income_municipal.py            # alternative (requires: pip install numpy)

The demo prints the calculations covered above; its values match the worked examples in this skill. Run --help for a list of the classes and functions. For programmatic use, import the module rather than running it — the demo only executes under python fixed_income_municipal.py.

Related skills

How it compares

Pick fixed-income-municipal over generic bond skills when analysis must account for U.S. municipal tax treatment, call schedules, and tax-equivalent yield—not just coupon and maturity.

FAQ

What does fixed-income-municipal analyze?

fixed-income-municipal analyzes U.S. municipal bonds for tax-equivalent yield, credit quality, call features, and portfolio fit. Developers use it when building advisory tools or answering fixed-income questions about muni allocations.

When should developers use fixed-income-municipal?

Developers should use fixed-income-municipal when implementing bond-screening APIs, portfolio tools, or agent assistants that must compare munis to taxable bonds and evaluate issuer credit and call risk.

Finance & Tradingfinancepricing

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.