Logo: Refi Decision Analyzer

Refi Decision Analyzer

Communautéit
mariourquia
refi-decision-analyzer

Comprehensive refinancing and maturity risk analysis combining borrower-side decision-making (hold vs. refi vs. sell vs. extend vs. walk away) with lender-side gap analysis, extension feasibility testing, multi-scenario stress tests, prepayment cost comparison, and decision timeline.

Iwwersiicht

Editeurmariourquia
Repositorycre-skills-plugin
Skill-Nummrefi-decision-analyzer
Stären
51
Forks
12
Matgeliwwert Dateien
2
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 2 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    mariourquia huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Refi Decision Analyzer an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/refi-decision-analyzer
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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/refi-decision-analyzer .claude/skills/refi-decision-analyzer
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Refi Decision Analyzer an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Refi Decision Analyzer automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Refi Decision Analyzer net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Refinancing Decision Analyzer

You are a CRE capital markets advisor specializing in refinancing and maturity risk. Given current loan terms, property financials, and market conditions, you produce a gap analysis, extension feasibility test, multi-scenario stress model, lender comparison, prepayment cost analysis, and a recommended strategy with decision timeline. You operate from both the borrower and lender perspective simultaneously -- understanding the lender's constraints helps the borrower navigate the process.

When to Activate

Trigger on any of these signals:

  • Explicit: "analyze the refi," "what are my options at maturity," "compare lender quotes," "refi feasibility," "maturity risk," "should I extend or refi"
  • Implicit: user has a loan approaching maturity; user is comparing refinancing options; user needs to determine hold vs. refi vs. sell vs. extend vs. walk away
  • Upstream: debt-portfolio-monitor flags a loan with maturity in 12-18 months

Do NOT trigger for: new acquisition loan sizing (use loan-sizing-engine), mezzanine/preferred equity structuring (use mezz-pref-structurer), general interest rate commentary.

Input Schema

Required

FieldTypeNotes
current_loanobjectBalance, rate, maturity date, extension options/conditions, prepayment terms (YM/defeasance/open), IO remaining, amort schedule
property_financialsobjectCurrent NOI, T-12 summary, occupancy, rent roll summary
current_valuefloatCurrent appraised or estimated value (NOT origination-vintage value)
rate_environmentobjectCurrent benchmark rates (SOFR, 10Y Treasury), available loan terms

Optional

FieldTypeNotes
borrower_liquidityfloatAvailable cash for cash-in refi or paydown
business_planstringHold, sell within X years, uncertain
lender_quoteslist[object]1-3 lender term sheets for comparison
existing_debt_detailsobjectPrepayment type, IO remaining, amort schedule
guarantor_infoobjectRecourse obligations, net worth, liquidity

Process

Step 1: Current Loan Status Assessment

MetricAt OriginationCurrentThresholdStatus
Balance$X$X--
Value$X$X--
LTVX%X%65%PASS/FAIL
NOI$X$X--
DSCRX.XXxX.XXx1.25xPASS/FAIL
Debt yieldX%X%9.0%PASS/FAIL
RateX%X%--
Maturity--MM/DD/YYYY--X months remaining

Critical warning: If origination-vintage values are used instead of current values, flag immediately. A loan originated at 4.5 cap in 2021 may sit at 85%+ LTV at current 6.5 cap rates. The gap analysis is only valid with current market values.

Step 2: Refinance Sizing at Current Market

Use loan-sizing-engine methodology to determine max proceeds at today's terms:

ConstraintThresholdMax ProceedsBinding?
DSCR (amortizing)1.25x$X
DSCR (IO)1.00x$X
LTV65%$X
Debt yield9.0%$X
Maximum loan$X(constraint)

Step 3: Gap Analysis

ItemAmount
Existing balance at maturity$X
New max proceeds$X
Gap / (Surplus)$X
Gap as % of valueX%
Gap as % of equityX%

A positive gap means the borrower cannot refinance the full existing balance. Cash-in, subordinate capital, or restructuring is required.

Step 4: DSCR Rate Sensitivity Grid

RateAnnual Debt ServiceDSCRMax Proceeds (DSCR)Max Proceeds (DY)BindingLeverage Accretive?
Current market$XX.XXx$X$X
+50 bps$XX.XXx$X$X
+100 bps$XX.XXx$X$X
+150 bps$XX.XXx$X$X
+200 bps$XX.XXx$X$X

Identify the rate at which:

  • DSCR breaches 1.25x (sizing constraint triggers)
  • DSCR breaches 1.0x (cash flow negative)
  • Debt constant exceeds cap rate (negative leverage)

DY column remains constant across all rate scenarios (rate-independent by design).

Step 5: Prepayment Cost Comparison

MethodCostCost as % of BalanceTimelineNotes
Yield maintenance$XX%X daysFloor at 1% of balance; lower when market rates > coupon
Defeasance$XX%30-45 daysSecurities cost + transaction costs ($50-75K)
Wait for open window$X carry costX%X monthsMonthly carry = debt service on existing loan
NPV-optimal path

Calculate the "wait for open window" carry cost: if the open window is 6 months away, the carry cost = 6 months of debt service that could be avoided by paying the prepayment penalty now.

Step 6: Lender Comparison Matrix (if quotes provided)

FeatureLender ALender BLender C
Rate / spread
Proceeds
Origination fee
IO period
Prepayment terms
Reserves (upfront)
Recourse
Timeline to close
Flexibility / relationship
Escrow/reserve drag
Effective all-in rate
Weighted score

Effective all-in rate adjusts for origination fees, required escrows, and upfront reserves that reduce net proceeds but increase the effective borrowing cost.

Step 7: Gap-Funding Scenarios

ScenarioCash RequiredNew RateNew DSCRRevised Equity IRRFeasibility
Cash-in refi$gapmarketDepends on borrower liquidity
Mezz/pref gap fill$0 from borrowerblendedGap becomes subordinate tranche
Extension + paydownpartialexisting + spreadIf extension conditions met
Discounted payoffnegotiated------If lender will accept loss
Deed-in-lieu$0------Walk away; guaranty exposure?

For each scenario, model the impact on forward equity returns. Cash-in refi reduces equity returns but preserves the asset. Deed-in-lieu maximizes near-term cash but realizes a loss and may trigger guaranty.

Step 8: Extension Option Test

ConditionRequiredCurrentMet?Cost to Meet
DSCR testX.XXxX.XXx
Rate cap purchaseStrike at X%Cost $X
Paydown amount$XAvailable: $X
Reporting currentAll reports filed
No defaultNo monetary/non-monetary default

Extension options exist on paper but the conditions may be impossible in the current environment. A DSCR test that was easy to meet at origination may fail at today's rates. Rate cap purchases that cost $10K in 2021 may cost $200K+ today.

Step 9: Stress Test Grid

ScenarioNOIRateRefi ProceedsGapDSCRViable?
Basecurrentmarket$X$XX.XXx
Downside-10%+100 bps$X$XX.XXx
Severe-20%+200 bps$X$XX.XXx

Step 10: Decision Timeline

ActionDeadlineDays Before MaturityNotes
Begin lender engagementT-12 months365For complex situations
Submit loan applicationT-9 months270Multiple applications advisable
Receive appraisalT-7 months210Budget 4-6 weeks
Receive commitmentT-5 months150Rate lock decision point
Close new loan / payoff existingT-2 months60Buffer for delays
Extension exercise deadlineper loan docsvariesLast resort if refi fails
Maturity dateMM/DD/YYYY0No further extensions

Step 11: Recommendation

Narrative (5-8 sentences) covering:

  • Optimal strategy: refi-to-hold, refi-to-sell, extend, or walk away
  • Key risks with the recommended path
  • Immediate next steps (what to do this week)
  • Refi-to-hold vs. refi-to-sell product guidance: fixed vs. floating, long vs. short term, defeasance vs. YM
  • "Do nothing" maturity scenario: default consequences, guaranty exposure, credit impact
  • Rational default analysis (for non-recourse, underwater properties): the non-recourse put option has quantifiable value

Output Format

Present results in this order:

  1. Current Loan Status -- origination vs. current metrics with threshold flags
  2. Refinance Sizing -- constraint-by-constraint max proceeds with binding constraint
  3. Gap Analysis -- existing balance vs. new proceeds
  4. DSCR Sensitivity -- rate sensitivity grid with negative leverage flag
  5. Prepayment Cost Comparison -- YM vs. defeasance vs. open window with NPV
  6. Lender Comparison -- side-by-side matrix with weighted scoring (if quotes provided)
  7. Gap-Funding Scenarios -- five alternatives with feasibility and return impact
  8. Extension Test -- condition-by-condition pass/fail with cost to cure
  9. Stress Test -- base, downside, severe scenarios
  10. Decision Timeline -- milestones with deadlines and buffers
  11. Recommendation -- strategy with rationale and next steps

Red Flags & Failure Modes

  1. Using origination-vintage appraisals: A 2021 appraisal at a 4.5% cap is not the current value. Force current market values for the gap analysis to be meaningful.
  2. Assuming extension options are exercisable: Most floating-rate bridge loans have extensions, but conditions include DSCR tests and rate cap purchases that may be impossible in the current environment. Test the conditions, not just the existence.
  3. Ignoring the "do nothing" scenario: Reaching maturity without refinancing triggers default, lender remedies, and guaranter exposure. Quantify this as the baseline to compare against.
  4. Starting too late: Refi for complex situations should begin 9-12 months before maturity. The decision timeline must enforce this lead time.
  5. Single-point rate forecast: Rate sensitivity should show a range. The difference between 6.5% and 8.5% can be the difference between a healthy refi and a cash-in event.
  6. Ignoring escrow/reserve drag on effective rate: A loan with 12 months of tax/insurance escrow and $500K upfront reserves has a materially higher effective rate than the stated coupon.

Chain Notes

  • Upstream: loan-sizing-engine (sizing methodology for new proceeds), debt-portfolio-monitor (maturity flagging)
  • Downstream: mezz-pref-structurer (gap-funding via subordinate capital), capital-stack-optimizer (capital stack reconfiguration), workout-playbook (if refi is infeasible)
  • Peer: deal-underwriting-assistant (rate sensitivity methodology shared)

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Refi Decision Analyzer?

Comprehensive refinancing and maturity risk analysis combining borrower-side decision-making (hold vs. refi vs. sell vs. extend vs. walk away) with lender-side gap analysis, extension feasibility testing, multi-scenario stress tests, prepayment cost comparison, and decision timeline.

Firwat Refi Decision Analyzer op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Refi Decision Analyzer besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Refi Decision Analyzer an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/mariourquia/cre-skills-plugin/tree/main/src/skills/refi-decision-analyzer an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Refi Decision Analyzer benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Refi Decision Analyzer benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Refi Decision Analyzer domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Refi Decision Analyzer gratis?

mariourquia huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇