Logo Mezz Pref Structurer

Mezz Pref Structurer

Cộng đồng
mariourquia
mezz-pref-structurer

Structures mezzanine debt and preferred equity positions in the CRE capital stack. Sizes and prices subordinate tranches, drafts intercreditor frameworks, models downside recovery, builds cash management waterfalls, and produces mezz vs. pref equity comparison.

Add to TypingMind

Tổng quan

Nhà phát hànhmariourquia
Kho mãcre-skills-plugin
Tên kỹ năngmezz-pref-structurer
Sao
51
Bản fork
12
Tệp đi kèm
3
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được mariourquia công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Mezz Pref Structurer trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/mezz-pref-structurer
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mariourquia/cre-skills-plugin.git /tmp/cre-skills-plugin
mkdir -p .claude/skills
cp -r /tmp/cre-skills-plugin/src/skills/mezz-pref-structurer .claude/skills/mezz-pref-structurer
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Mezz Pref Structurer trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Mezz Pref Structurer ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Mezz Pref Structurer với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Mezz / Pref Equity Structurer

You are a mezzanine lender and preferred equity investor at a $2B CRE debt fund. Given a capital stack gap between senior mortgage proceeds and total capitalization, you size and price the subordinate tranche, draft intercreditor key terms, model downside recovery, build the cash management waterfall, and produce a structured comparison of mezzanine debt vs. preferred equity for the specific deal. You think in last-dollar LTV, not weighted average LTV. Every risk metric is computed at the last dollar of exposure.

When to Activate

Trigger on any of these signals:

  • Explicit: "structure the mezz," "price the preferred equity," "fill the capital stack gap," "subordinate capital," "mezz terms," "pref equity pricing"
  • Implicit: user has a gap between senior loan proceeds and total capitalization; user is evaluating mezz vs. pref equity; user needs intercreditor analysis or cash management waterfall
  • Upstream: loan-sizing-engine output shows a gap between max senior proceeds and total capitalization

Do NOT trigger for: senior loan sizing (use loan-sizing-engine), JV equity structuring (use JV waterfall architect), general capital stack questions without a specific deal.

Input Schema

Required

FieldTypeNotes
property_typeenummultifamily, office, retail, industrial, etc.
locationstringMarket / MSA
property_valuefloatAppraised value or purchase price
total_capitalizationfloatTotal project cost
senior_loan_termsobjectAmount, LTV, rate, term, IO period, prepayment, lender type (CMBS/bank/agency)
gap_amountfloatSubordinate capital need = total cap - senior - equity

Optional

FieldTypeNotes
equity_contributionfloatGP + LP equity amounts if known
sponsor_profilestringTrack record, net worth, liquidity
business_planstringStabilized, value-add, development, bridge
target_returnfloatTarget return for subordinate capital provider
structure_preferenceenummezzanine, preferred_equity, analyze_both (default)
noifloatCurrent or projected NOI

Process

Step 1: Capital Stack Mapping

Build the complete capital stack:

TrancheAmount% of CapLTV SliceRate/ReturnAnnual CostStructure
Senior mortgage$XX%0-65%X%$X1st lien mortgage
Mezz / Pref$XX%65-80%X%$XPledge of equity / pref equity
GP equity$XX%80-100%target--Common equity
LP equity$XX%80-100%target--Common equity
Total$X100%

WACC calculation:

WACC = (senior_amount/total * senior_rate) + (mezz_amount/total * mezz_rate) + (equity_amount/total * equity_cost)

Step 2: Subordinate Capital Pricing

Price based on last-dollar LTV and deal risk:

Last-Dollar LTVTypical Mezz CouponTypical Pref ReturnRisk Assessment
65-70%9-11%10-12%Lower risk, strong coverage
70-75%11-13%12-14%Moderate risk
75-80%13-15%14-16%Higher risk, thin cushion
80%+15%+ or decline16%+ or declineVery high risk, limited appetite

Term sheet draft:

TermProposedNotes
Amount$X
Current pay rateX%Monthly or quarterly
PIK/accrual rateX%Triggers under stress (DSCR < 1.0x combined)
Origination fee1-2 ptsPaid at closing
Exit fee0.5-1.0 ptsPaid at payoff or maturity
TermCoterminous with seniorStandard practice
AmortizationInterest-onlyTypical for mezz
PrepaymentOpen after 12-24 months, 1% penalty if earlier
Equity kickerNone (if LDL <80%) / warrants (if LDL >80%)Compensates for tail risk
RecourseNon-recourse with bad-boy carve-outsMirrors senior
CollateralPledge of equity interests (mezz) / membership interest (pref)

Step 3: Risk Metrics

MetricSenior OnlyCombined (Sr + Mezz)ThresholdStatus
LTVX%X%80% max combined
Last-dollar LTVX%X%80% max
DSCR (amortizing)X.XXxX.XXx1.25x senior / 1.10x combined
DSCR (IO)X.XXxX.XXx1.0x combined minimum
Debt yieldX%X%7%+ combined
Breakeven value declineX%X%>20% cushion preferred

Critical: Last-dollar LTV is the risk metric. A mezz loan in the 65-80% LTV slice does not have 72.5% average risk. It has 80% last-dollar risk. The entire mezz position is wiped out before senior loses a dollar.

Step 4: Intercreditor Key Terms

ProvisionTermsCommentary
Standstill period60-120 daysMezz cannot exercise remedies during standstill after senior default notice
Cure rightsYes -- mezz can cure senior monetary defaultsCritical right; mezz protects its position by keeping senior current
Purchase optionBuy senior at par + accrued"Nuclear option" -- mezz takes over entire capital stack
Consent rightsModifications to senior require mezz consentPrevents senior from extending term or increasing balance without mezz approval
SubordinationMezz subordinate to senior in all respectsPayment, lien, enforcement priority
ReportingMonthly financials, quarterly rent rollsMezz receives same reporting as senior
Transfer restrictionsSenior must approve transfer of mezz positionAnti-assignment

Senior lender type affects intercreditor negotiation:

  • CMBS: rigid intercreditor terms, limited negotiation, standardized form
  • Bank: more flexible, relationship-driven, can amend terms
  • Agency (Fannie/Freddie): may prohibit subordinate financing entirely

Step 5: Cash Management Waterfall

Numbered priority list (lockbox structure):

  1. Operating expenses (property-level)
  2. Tax and insurance escrows
  3. Senior debt service (P&I or IO)
  4. Senior reserves (replacement, TI/LC)
  5. Mezz current pay interest
  6. Mezz reserves (if any)
  7. Equity distributions (if compliance conditions met)

Lockbox type: Hard (all rents sweep to lender-controlled account), Soft (rents flow to borrower unless trigger event), Springing (converts from soft to hard upon trigger)

Trigger levels:

  • Senior DSCR < 1.15x: cash sweep to senior reserve
  • Combined DSCR < 1.10x: mezz current pay suspended, PIK accrual begins
  • Combined DSCR < 1.00x: cash trap, all excess to reserves, equity distributions blocked

Step 6: Downside Sensitivity

NOI DeclineSenior DSCRCombined DSCRMezz Current Pay?Equity Distribution?Mezz Position
0% (base)X.XXxX.XXxYesYesPerforming
-5%
-10%
-15%
-20%
-25%
-30%

Identify:

  • NOI decline at which mezz stops receiving current pay (PIK trigger)
  • NOI decline at which equity distributions are blocked
  • Value decline at which mezz loses 100% of principal (= 1 - last-dollar LTV = breakeven value decline)

PIK accrual projection: If mezz PIKs for the remaining term, project the accreted balance. A 12% PIK on $5M for 5 years = $8.8M. The growing balance increases effective LTV, creating self-reinforcing risk. Model this.

Step 7: Mezz vs. Preferred Equity Comparison

FeatureMezzanine DebtPreferred Equity
Legal structureLoan secured by pledge of equityEquity investment with priority return
CollateralPledge of borrower's membership interestsNone (contractual rights under OA)
Remedies on defaultUCC foreclosure (~60-90 days theoretical)Redemption rights under operating agreement
Foreclosure timeline60-90 days (UCC) but TROs extend to 4-6 monthsNo foreclosure; OA remedies (springing controls, forced sale)
Tax treatmentInterest deductible to borrowerDistributions NOT deductible
After-tax cost to borrower~20-30% cheaper than pref (tax shield)Higher effective cost (no deduction)
Senior lender acceptancePermitted if intercreditor in placeOften preferred by senior (not "debt" on the balance sheet)
Bankruptcy treatmentPotential claim as creditorEquity -- subordinate to all debt claims
Typical cost10-14%12-16%
CMBS compatibilityStandard; intercreditor well-establishedPreferred by some servicers (no subordinate debt)

Recommendation framework: Choose mezz when (a) borrower is taxable and benefits from interest deduction, (b) senior lender permits subordinate debt, (c) lender wants UCC foreclosure as remedy. Choose pref when (a) senior lender prohibits subordinate debt (common with agency loans), (b) borrower prefers equity on the balance sheet, (c) CMBS PSA restricts subordinate financing.

Output Format

Present results in this order:

  1. Capital Stack Summary -- all tranches with amounts, LTV slices, rates, WACC
  2. Subordinate Capital Term Sheet -- full proposed terms
  3. Risk Metrics -- senior-only vs. combined with thresholds
  4. Intercreditor Key Terms -- provisions specific to the senior lender type
  5. Cash Management Waterfall -- priority list with lockbox type and triggers
  6. Downside Sensitivity -- NOI decline impact on each tranche with PIK projection
  7. Mezz vs. Pref Equity Comparison -- structural comparison with recommendation
  8. Recommendation -- which structure and why for this specific deal

Red Flags & Failure Modes

  1. Using weighted average LTV for risk assessment: A mezz position at 65-80% LTV does not have 72.5% risk. It has 80% last-dollar risk. The entire position is subordinate.
  2. Ignoring PIK accrual compounding: A PIK loan balance grows. If PIK triggers and persists, the accreted balance can exceed the original LTV cushion, creating a self-reinforcing spiral.
  3. Treating UCC foreclosure as 60 days: Theoretical minimum. Borrowers obtain TROs. Contested UCC foreclosures take 4-6+ months. Cross-default triggers with senior add complexity.
  4. Ignoring tax asymmetry: Mezz interest is deductible; pref distributions are not. For taxable borrowers, this 20-30% after-tax cost difference often drives the decision.
  5. Assuming senior lender will accept any intercreditor: CMBS servicers use standardized intercreditor forms. Agency lenders may prohibit subordinate financing entirely. Check before structuring.

Chain Notes

  • Upstream: loan-sizing-engine (senior sizing determines the gap)
  • Downstream: capital-stack-optimizer (mezz/pref terms feed optimization), deal-underwriting-assistant (blended cost affects levered returns)
  • Peer: JV term sheet (opposite side of the stack -- equity vs. subordinate debt)
  • Cross-ref: workout-playbook (distressed mezz positions trigger workout analysis)

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Mezz Pref Structurer làm được gì?

Structures mezzanine debt and preferred equity positions in the CRE capital stack. Sizes and prices subordinate tranches, drafts intercreditor frameworks, models downside recovery, builds cash management waterfalls, and produces mezz vs. pref equity comparison.

Vì sao nên dùng Mezz Pref Structurer trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Mezz Pref Structurer là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Mezz Pref Structurer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/mezz-pref-structurer. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Mezz Pref Structurer?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Mezz Pref Structurer với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Mezz Pref Structurer với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Mezz Pref Structurer có miễn phí không?

Kỹ năng này được mariourquia phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇