Mortgage compliance

From markus41/claude · View interactive version

Mortgage compliance is an AI agent skill from the GitHub repository markus41/claude. Validate mortgage workflows against RESPA, TRID, HMDA, QM/ATR, ECOA, and FCRA requirements. Use when designing a new mortgage workflow for compliance review or auditing an existing process for regulatory gaps.

How to use this skill

Skill file

Federal Mortgage Compliance Checklist

Validate a mortgage workflow or operation against the major federal consumer mortgage regulations. For each regulation, the checklist identifies specific operational requirements, documentation standards, and common failure points.


Section 1: RESPA (Real Estate Settlement Procedures Act)

Regulation: 12 CFR Part 1024 (Regulation X) — administered by CFPB

Applicability: Federally related mortgage loans — virtually all 1-4 family residential mortgage loans made by federally insured lenders or loans intended for sale to Fannie/Freddie

Section 8 — Kickback/Fee-Splitting Prohibition

Common Section 8 violations to flag in workflow review:

Section 9 — Seller-Required Title Insurance

Section 10 — Escrow Account Requirements

Citation: 12 CFR 1024.17

Servicing Transfer Notice


Section 2: TRID (TILA-RESPA Integrated Disclosure)

Regulation: 12 CFR 1026.37-38 (Regulation Z) and 12 CFR 1024 (Regulation X) — CFPB

See the disclosure-generator skill for complete TRID workflow specification. Summary checklist:


Section 3: HMDA (Home Mortgage Disclosure Act)

Regulation: 12 CFR 1003 (Regulation C) — administered by CFPB

Applicability (2018 and later thresholds):

Data Collection

Required LAR data points (key fields):

| Category | Fields |

|---------|--------|

| Loan identifiers | ULI (Universal Loan Identifier), application date, action taken, action taken date |

| Property | Property type, occupancy type, manufactured home indicators, property address (census tract) |

| Applicant | Ethnicity, race, sex, age, credit score type, credit score |

| Income | Gross annual income |

| Loan terms | Loan amount, loan purpose, loan type, lien status, interest rate, rate spread, HOEPA status, QM status |

| Costs | Total origination charges, points, lender credits, total loan costs |

| Underwriting | DTI ratio, combined LTV, property value, AUS name and result |

| Denial reasons | If denied: up to 4 denial reasons |

LAR Submission

Citation: 12 CFR 1003.5


Section 4: QM/ATR (Qualified Mortgage / Ability to Repay)

Regulation: 12 CFR 1026.43 (Regulation Z) — Dodd-Frank § 1412-1413 — CFPB

Applicability: All closed-end consumer mortgage loans; excludes open-end credit (HELOCs), reverse mortgages, timeshare loans, certain temporary bridge loans

Ability to Repay (General Standard)

For any mortgage loan, creditor must make a reasonable, good-faith determination that the borrower can repay:

Documentation retained: All ATR documentation retained for 3 years post-consummation

Qualified Mortgage Safe Harbor / Rebuttable Presumption

A QM provides a legal safe harbor (or rebuttable presumption for higher-priced QMs) that ATR has been met.

General QM requirements (effective March 2021 rule):

GSE/Agency QM (temporary patch expired October 1, 2022):

As of October 2022, GSE eligible loans no longer automatically qualify as QM under the GSE patch. Loans must meet General QM criteria.

FHA QM: FHA loans meeting FHA guidelines generally qualify as QM per HUD rule.

VA QM: VA loans meeting VA guidelines generally qualify under CFPB rule.

USDA QM: USDA guaranteed loans generally qualify under CFPB rule.


Section 5: ECOA (Equal Credit Opportunity Act)

Regulation: 12 CFR 1002 (Regulation B) — administered by CFPB and DOJ

Applicability: All creditors who regularly extend credit

Fair Lending (Anti-Discrimination)

Adverse Action Notices

Citation: 12 CFR 1002.9

Appraisal Copy Delivery

Citation: 12 CFR 1002.14

GMI Collection


Section 6: FCRA (Fair Credit Reporting Act)

Regulation: 15 USC § 1681 et seq. — administered by FTC and CFPB

Applicability: Any creditor who uses a consumer report in connection with a credit decision

Permissible Purpose

Adverse Action — FCRA Credit Score Disclosure

When credit report or credit score is a factor in an adverse action:

FACTA Red Flags Rule (Identity Theft)

Citation: 16 CFR Part 681 (Red Flags Rule)


Output Format

Produce a Federal Mortgage Compliance Checklist organized by regulation, with:

Accompany with:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.