Analyzing Mortgage Backed Securities logo

Analyzing Mortgage Backed Securities

Organization
CaseMark
analyzing-mortgage-backed-securities

Evaluates MBS structures with prepayment modeling (CPR/CDR), collateral analysis, and tranche-level credit risk assessment. Use when analyzing MBS, modeling prepayment scenarios, or evaluating residential mortgage pools.

Overview

PublisherCaseMark
Repositoryskills
Skill nameanalyzing-mortgage-backed-securities
Stars
53
Forks
20
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by CaseMark on GitHub. Read the source before you install it.

Installation

Install the Analyzing Mortgage Backed Securities AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/CaseMark/skills/tree/main/skills/capital/analyzing-mortgage-backed-securities
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/CaseMark/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/capital/analyzing-mortgage-backed-securities .claude/skills/analyzing-mortgage-backed-securities
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Analyzing Mortgage Backed Securities in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Analyzing Mortgage Backed Securities on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Analyzing Mortgage Backed Securities is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Analyzing Mortgage Backed Securities

Evaluates MBS structures with prepayment modeling (CPR/CDR), collateral analysis, and tranche-level credit risk assessment.

When To Use

  • Analyzing agency (Ginnie Mae, Fannie Mae, Freddie Mac) or non-agency RMBS deals
  • Modeling prepayment and default scenarios on residential mortgage collateral pools
  • Evaluating tranche-level credit enhancement, subordination, and cash flow waterfall mechanics
  • Comparing MBS tranches for relative value across spread, WAL, and convexity profiles
  • Assessing seasoned pools for re-REMIC structuring or secondary market trading
  • Reviewing offering documents, prospectus supplements, or trustee reports for deal-level risk

Inputs To Gather

  • Deal documents: Prospectus supplement, pooling and servicing agreement (PSA), trustee reports
  • Collateral tape: Loan-level data including FICO, LTV, DTI, loan age, geography, occupancy type, documentation level
  • Pool statistics: Current balance, WAC, WAM, WALA, average loan size, delinquency buckets (30/60/90+), REO pipeline
  • Structure details: Tranche map (senior/mezzanine/subordinate), credit enhancement levels, OC/XS triggers, step-down dates
  • Prepayment and default assumptions: Base-case CPR, CDR, loss severity, recovery lag; stress scenarios if applicable
  • Market context: Current mortgage rates, refi incentive, HPA trends, [VERIFY] agency guarantee status and program eligibility
  • Rating agency criteria: Applicable S&P, Moody's, Fitch, or DBRS loss/stress frameworks if rating-dependent analysis

Workflow

  1. Map the deal structure

    • Identify all tranches: senior (A classes), mezzanine (M classes), subordinate (B classes), IO strips, residual
    • Document the cash flow waterfall: sequential vs. pro-rata pay periods, trigger events (delinquency/loss triggers), clean-up call provisions
    • Record credit enhancement: subordination percentages, overcollateralization targets, excess spread capture mechanisms
  2. Profile the collateral pool

    • Stratify loans by vintage, FICO band, LTV bucket, geography (state/MSA concentration), loan purpose (purchase/refi/cash-out), and property type
    • Identify adverse selection risks: high LTV concentrations, low-doc loans, investor properties, geographic clustering
    • Calculate weighted-average characteristics and compare against benchmark pools for the same vintage/program
  3. Model prepayment scenarios

    • Set base-case CPR using historical analogs (e.g., seasoned conventional 30yr at current coupon spread to market)
    • Run sensitivity across CPR vectors: slow (e.g., 6 CPR), base (e.g., 15 CPR), fast (e.g., 35 CPR), and ramp scenarios (PSA multiples)
    • For each scenario, compute WAL, yield, spread to benchmark, and effective duration for each tranche
    • Assess negative convexity exposure on premium-priced tranches and extension risk on discount tranches
  4. Model default and loss scenarios

    • Set base-case CDR and loss severity using collateral characteristics and historical performance curves
    • Run stress scenarios: 2x CDR, elevated severity (e.g., 40%–60% on non-agency), delayed recovery timelines
    • Determine tranche-level loss absorption: at what CDR/severity combination does each tranche experience principal write-down
    • Evaluate trigger mechanics — will delinquency or cumulative-loss triggers divert cash flow from subordinate tranches
  5. Assess credit enhancement adequacy

    • Compare current subordination levels to original levels and to rating-agency loss benchmarks
    • Evaluate OC build/release mechanics and whether excess spread is sufficient to maintain targets under stress
    • For seasoned deals, assess whether step-down conditions have been met and whether senior tranches benefit from de-leveraging
    • [VERIFY] Check for any amendments, modifications, or servicer advances that may affect collateral performance
  6. Synthesize relative value and risk conclusions

    • Rank tranches by spread per unit of WAL risk, credit risk, and convexity exposure
    • Flag tranches with asymmetric risk profiles (e.g., thin mezzanine with cliff risk, IO strips with high prepay sensitivity)
    • Compare to similar deals in the market for relative value context
    • Identify key monitoring triggers: delinquency thresholds, cumulative loss benchmarks, servicer performance metrics

Output

Produce a structured MBS analysis report containing:

  • Deal overview: Issuer, shelf program, closing date, original/current balance, servicer(s), trustee
  • Collateral summary: Pool composition table with stratifications, weighted-average metrics, delinquency and loss performance to date
  • Structure summary: Tranche map with current balances, coupons, credit enhancement levels, and priority of payments description
  • Prepayment analysis: Table of WAL, yield, and spread across CPR scenarios for each evaluated tranche
  • Credit analysis: Loss absorption capacity by tranche, stress-test results, trigger proximity assessment
  • Relative value assessment: Spread comparison to benchmark deals, convexity-adjusted return analysis
  • Risk flags and monitoring points: Concentration risks, servicer concerns, trigger events approaching thresholds
  • Appendix: Key assumptions, data sources, model methodology notes

Quality Checks

  • Verify that all tranche balances sum to total deal balance and that waterfall logic is internally consistent
  • Confirm CPR/CDR assumptions are sourced from stated methodology, not arbitrary — cite historical analogs or agency benchmarks
  • Ensure loss severity assumptions match collateral type (e.g., non-agency subprime vs. agency conforming have materially different severities)
  • Cross-check credit enhancement percentages against trustee reports, not just offering documents, for seasoned deals
  • [VERIFY] Rating agency criteria versions used — S&P, Moody's, and Fitch periodically update RMBS loss frameworks
  • [VERIFY] Regulatory considerations: risk retention rules (Reg RR), QM/ATR status of underlying loans, Volcker Rule implications for trading book holdings
  • Flag any data gaps in the collateral tape (missing FICO, undisclosed LTV) and note their impact on model reliability
  • Mark all forward-looking projections as estimates subject to rate, HPA, and macroeconomic assumptions

Frequently asked questions

What does the Analyzing Mortgage Backed Securities AI skill do?

Evaluates MBS structures with prepayment modeling (CPR/CDR), collateral analysis, and tranche-level credit risk assessment. Use when analyzing MBS, modeling prepayment scenarios, or evaluating residential mortgage pools.

Why use Analyzing Mortgage Backed Securities on TypingMind?

Because you install it once and use it with any model. Analyzing Mortgage Backed Securities is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Analyzing Mortgage Backed Securities in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/CaseMark/skills/tree/main/skills/capital/analyzing-mortgage-backed-securities. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Analyzing Mortgage Backed Securities?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Analyzing Mortgage Backed Securities?

As many as you like. As long as a model supports skills, you can use Analyzing Mortgage Backed Securities with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Analyzing Mortgage Backed Securities AI skill free?

Yes. It is published on GitHub by CaseMark under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇