Logotipo de Mezz Pref Structurer

Mezz Pref Structurer

Comunidad
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

Descripción general

Editormariourquia
Repositoriocre-skills-plugin
Nombre de la habilidadmezz-pref-structurer
Estrellas
51
Forks
12
Archivos incluidos
3
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Archivos incluidos: 3

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por mariourquia en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Mezz Pref Structurer en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/mezz-pref-structurer
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Mezz Pref Structurer en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Mezz Pref Structurer automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Mezz Pref Structurer no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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)

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Son archivos de solo lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Mezz Pref Structurer en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Mezz Pref Structurer está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Mezz Pref Structurer en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/mezz-pref-structurer. TypingMind lee el archivo SKILL.md de esa carpeta, empaqueta los archivos de la carpeta e instala el conjunto como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Mezz Pref Structurer?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Mezz Pref Structurer?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Mezz Pref Structurer con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Mezz Pref Structurer?

mariourquia la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇