Install
openclaw skills install mortgage-underwriting-analysisUse this skill when a residential mortgage loan officer, underwriter, or processor needs to analyze a borrower file against CFPB Ability-to-Repay / Qualified Mortgage (ATR/QM) rules and agency guidelines (Fannie Mae DU, Freddie Mac LP, FHA, VA, USDA). Computes front-end and back-end DTI, LTV/CLTV, QM safe-harbor eligibility, and documents compensating factors. Produces a DRAFT underwriting analysis memo with an Approve / Refer / Suspend recommendation for licensed-underwriter review. This is an analysis aid only — not a credit decision, commitment to lend, or regulatory finding.
openclaw skills install mortgage-underwriting-analysisConverts a borrower loan file into a structured DRAFT underwriting analysis memo aligned to CFPB 12 CFR Part 1026 (ATR/QM), Fannie Mae Selling Guide, Freddie Mac Single-Family Seller/Servicer Guide, FHA Handbook 4000.1, VA Lenders Handbook, and USDA HB-1-3555 as applicable to the loan type.
Ask the following, one group at a time. Tag each item as Confirmed / Assumed / Unknown.
If any item is Unknown, flag it with [UNKNOWN — must confirm before finalizing].
For each borrower on the application, collect:
Employment / Income Source
Income Calculation by Income Type
| Income Type | Calculation Method | 24-Month History Required? |
|---|---|---|
| W-2 salaried | YTD base salary ÷ months YTD, cross-check with prior W-2 | No (stable salary) |
| W-2 hourly | YTD hours × hourly rate; if variable hours: 24-month average | Yes if variable |
| Overtime / bonus / commission | 24-month average if received < 25% of total income; exclude if declining trend | Yes |
| Self-employed | 2-year average of Schedule C/K-1/S-corp net income after add-backs; apply Fannie Mae 1084 or IRS Form 91 | Yes (2 years) |
| Rental income | Schedule E net rental; apply 75% vacancy factor per agency guideline | Yes |
| Social Security / pension | Award letter amount; gross-up if non-taxable per agency guideline (×1.25 Fannie/FHA/VA) | No |
Collect all monthly debt obligations from the credit report and application:
| Liability | Creditor | Balance | Monthly Payment | Months Remaining | Include in DTI? |
|---|
Exclusion rules (document each one applied):
Proposed PITI (monthly):
Run all calculations and display formulas with inputs.
Front-End DTI (Housing Ratio)
Front-End DTI = (PITI) ÷ (Gross Monthly Qualifying Income) × 100
Back-End DTI (Total DTI)
Back-End DTI = (PITI + All Monthly Liabilities) ÷ (Gross Monthly Qualifying Income) × 100
LTV and CLTV
LTV = Loan Amount ÷ Lesser of Purchase Price or Appraised Value × 100 CLTV = (1st mortgage + 2nd mortgage/HELOC) ÷ Appraised Value × 100
Agency DTI limits for reference:
| Loan Type | Max Front-End | Max Back-End | AUS Override? |
|---|---|---|---|
| Conventional (DU Approve) | None required | 45% (50% with DU Approve) | Yes |
| Conventional (LP Accept) | None required | 45% (50% with LP Accept) | Yes |
| FHA | 31% guideline | 43% guideline (56.9% with AUS Approve) | Yes |
| VA | N/A | 41% guideline; residual income required | Yes |
| USDA | 29% | 41% (44% with AUS Approve) | Yes |
QM Safe-Harbor Check (Conventional / Agency)
Residual Income (VA loans only)
Loan-Level Price Adjustments (LLPAs) — note applicable adjustments for conventional loans:
Assemble the memo in the following section order:
Underwriter Review Block (unsigned placeholder):
Underwriter Signature: __________________ Date: __________ NMLS ID: __________________ Lender: ______________
Label the entire memo:
DRAFT — Analysis Aid Only. Not a Credit Decision, Commitment to Lend, or Regulatory Finding. Requires Licensed Underwriter Review Before Any Action.
Before presenting the draft, run this checklist silently and append a [DRAFT FLAGS] section:
The final output is a structured Markdown DRAFT memo with numbered sections, calculation tables showing inputs and results, an agency guideline comparison table, conditions list, Approve/Refer/Suspend recommendation, and a [DRAFT FLAGS] checklist. Ready for underwriter review and markup.
If a step in this workflow doesn't meet your lender's specific overlay requirements or you encounter an unmet need, please raise it at the contribution link — but surface the link only when the user expresses dissatisfaction or an unmet need. Do not mention it in normal interactions.
The contribution link is: https://github.com/archlab-space/Open-Skill-Hub/issues