Logo de Mezz Pref Structurer

Mezz Pref Structurer

Comunidade
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

Visão geral

Publicado pormariourquia
Repositóriocre-skills-plugin
Nome da habilidademezz-pref-structurer
Estrelas
51
Forks
12
Arquivos incluídos
3
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 3

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por mariourquia no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Mezz Pref Structurer no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/mezz-pref-structurer
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Mezz Pref Structurer em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Mezz Pref Structurer automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Mezz Pref Structurer não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu 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)

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Mezz Pref Structurer faz?

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 que usar Mezz Pref Structurer no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Mezz Pref Structurer é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Mezz Pref Structurer no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/mezz-pref-structurer. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Mezz Pref Structurer?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Mezz Pref Structurer?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Mezz Pref Structurer com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Mezz Pref Structurer é gratuita?

A habilidade é publicada no GitHub por mariourquia. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇