mcpField
R
real-estate-investment

real-estate-investment

github.com/aznatkoinyOther1045 installsUpdated 12w ago
Repository

About real-estate-investment

A real estate investment analysis skill for investors, covering deal screening, financial modeling, risk testing, and investor reports. It selects methods based on property type and analysis goals.

Key features

  1. 01Build real estate pro formas
  2. 02Calculate returns and debt metrics
  3. 03Run sensitivity and Monte Carlo analyses
  4. 04Model syndication waterfalls
  5. 05Compare markets and property comps
  6. 06Assess tax and entity structures

Use cases

  1. 01Screen residential or commercial deals
  2. 02Test price and interest-rate changes
  3. 03Model GP/LP distributions
  4. 04Compare markets and plan tax strategies

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/aznatkoiny/zai-skills --skill real-estate-investment

After installing, type/real-estate-investmentin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
advanced-analysis.md
financial-metrics.md
market-analysis.md
property-types.md
tax-strategy.md
scripts/
monte_carlo.py
pro_forma.py
sensitivity.py
waterfall.py

Details

From the project README

Real Estate Investment Analysis

Comprehensive real estate investment analysis — from deal screening through financial modeling to investor-ready output. Covers all property types, standard and advanced metrics, code generation, and tax-aware structuring.

Analysis Workflow

Follow this 6-step process for any deal or market analysis:

  1. Define scope — Identify property type, investment strategy, and target output format
  2. Gather data — Collect property financials, market data, and comps (use API reference if automating)
  3. Build pro forma — Construct income statement: Gross Rent → Vacancy → EGI → OpEx → NOI → Debt Service → Cash Flow
  4. Calculate returns — Apply appropriate metrics (see Quick Reference below)
  5. Stress test — Run sensitivity analysis, scenarios, or Monte Carlo simulation
  6. Report — Generate investor-ready output with recommendations

Quick Reference — Core Metrics

MetricFormulaTypical Range
NOIEffective Gross Income - Operating ExpensesVaries by asset
Cap RateNOI / Property Value4-10% (market-dependent)
Cash-on-CashAnnual Pre-Tax Cash Flow / Total Cash Invested8-12% target
DSCRNOI / Annual Debt Service1.2x+ (lender minimum)
IRRDiscount rate zeroing NPV of all cash flows15-20% target
Equity MultipleTotal Distributions / Total Capital Invested2.0x+ over hold
GRMProperty Price / Annual Gross Rent8-15 (lower = better)
Break-even Occ.(OpEx + Debt Service) / Potential Gross Income<85% preferred

For complete formulas, Python code, and Excel equivalents → load references/financial-metrics.md

Property Type Router

Select the analysis framework based on property type:

Property TypeKey MetricsRules of ThumbReference
SFR / Small Multi (1-4)CoC, Cap Rate, DSCR1% rule, 50% rule, 70% rulereferences/property-types.md §Residential
BRRRRARV, Rehab ROI, Refi LTV70% rule: Max buy = 70% ARV - repairsreferences/property-types.md §Residential
House HackEffective housing cost, FHA terms3.5% down FHA, self-sufficiency testreferences/property-types.md §Residential
Large Multifamily (5+)Per-unit metrics, NOI, Cap RateOpEx ratio 35-45%references/property-types.md §Commercial
Commercial (Office/Retail)Per-SF metrics, lease analysisNNN vs Gross lease impactreferences/property-types.md §Commercial
Short-Term RentalRevPAR, ADR, OccupancyRevenue = ADR x Occ x 365 - feesreferences/property-types.md §STR
Land / DevelopmentAbsorption rate, dev pro formaTotal cost vs projected valuereferences/property-types.md §Land

Analysis Type Router

Select the analysis methodology based on what the user needs:

NeedMethodReference File
Run the numbers on a dealPro forma + core metricsreferences/financial-metrics.md
Stress test assumptionsSensitivity analysis (bear/base/bull)references/advanced-analysis.md §Sensitivity
Model uncertainty/riskMonte Carlo simulationreferences/advanced-analysis.md §MonteCarlo
Syndication distributionsWaterfall modeling (GP/LP splits)references/advanced-analysis.md §Waterfall
Compare/score marketsMarket scoring frameworkreferences/market-analysis.md §Scoring
Pull market data via APIAPI integration patternsreferences/market-analysis.md §APIs
Find and adjust compsComparable analysisreferences/market-analysis.md §Comps
Optimize tax impactDepreciation, cost seg, 1031references/tax-strategy.md
Choose entity structureLLC, LP, S-Corp comparisonreferences/tax-strategy.md §Entity

Output Format Selection

Adapt output to the user's request:

Spreadsheet-ready — Generate formatted tables with formulas. Use pandas DataFrames exported to CSV/Excel. Include Excel formula equivalents for each calculation.

Decision framework — Provide structured narrative analysis with go/no-go recommendation. Include risk factors, key assumptions, and sensitivity ranges.

Code generation — Run the canonical modules in scripts/ instead of writing models from scratch: scripts/pro_forma.py (full pro forma with IRR/NPV/DSCR), scripts/waterfall.py (IRR-hurdle syndication waterfall), scripts/monte_carlo.py (return distributions), scripts/sensitivity.py (price × rate grid). All are JSON-in/JSON-out CLIs (--sample-input prints the schema); requirements: numpy, numpy-financial. Copy a script into the user's project only when they need to customize the model logic.

Investor report — Combine all three: executive summary, financial tables, risk analysis, and appendix with methodology.

Operating Expense Benchmarks by Property Type

Property TypeOpEx Ratio (% of EGI)Management Fee
Single-Family Rental35-50%8-10%
Small Multifamily (2-4)35-45%8-10%
Large Multifamily (5+)35-45%5-8%
Office35-55%3-5%
Retail (NNN)15-25%3-5%
Retail (Gross)60-80%3-5%
Industrial15-25%3-5%
Short-Term Rental50-65%20-25%

Key Tax Thresholds (2025-2026)

StrategyKey Detail
DepreciationResidential: 27.5yr, Commercial: 39yr (straight-line)
Bonus Depreciation100% for property placed in service Jan 20, 2025 – Dec 31, 2030
Cost SegregationReclassify 15-40% of building into 5/7/15-yr assets
Section 179$2.5M max deduction (2025), phase-out at $4M
1031 Exchange45-day ID period, 180-day closing, like-kind real property only
Opportunity ZonesMade permanent (2025), 10-year gain exclusion on QOF investment

For complete tax analysis with IRS code references → load references/tax-strategy.md

API Quick Reference

ProviderBest ForPricingAuth
MashvisorSTR + LTR rental data$30-$120/mox-api-key header
AirDNASTR performance data$12-$599/moBearer token
ATTOMDeep property data (155M+ properties)$850-$2K/moapikey param
RentcastRental estimatesFree-$449/mo (50 free/mo)X-Api-Key header
Census BureauDemographics, housingFree (API key required)key param
Redfin Data CenterMarket trendsFree (CSV download)None

For endpoint URLs, Python examples, and integration patterns → load references/market-analysis.md

Waterfall Distribution Quick Reference

Standard syndication tiers:

TierIRR HurdleLP ShareGP Share
1 (Return of Capital + Pref)0-8%100%0%
2 (First Promote)8-12%90%10%
3 (Second Promote)12-18%80%20%
4 (Final Split)18%+60%40%

Market data: 8% pref in 40% of deals, 10% pref in 30% of deals. 85% of waterfalls use IRR hurdles.

For complete waterfall mechanics, catch-up provisions, and Python calculator → load references/advanced-analysis.md

Reference File Index

Load the appropriate reference file based on the analysis need:

FileContentsWhen to Load
references/financial-metrics.md12 metrics with formulas, Python functions, Excel formulas, pro forma construction, amortization schedulesBuilding a pro forma, calculating returns, generating Python/Excel models
references/advanced-analysis.mdSensitivity methodology, Monte Carlo distributions, waterfall tier mechanics, syndication LP/GP economicsStress testing deals, modeling risk, syndication analysis
references/property-types.mdBRRRR framework, house hack analysis, commercial underwriting, STR revenue modeling, land development feasibilityAnalyzing a specific property type with tailored frameworks
references/market-analysis.mdMarket scoring with 15+ indicators, 6 API integrations with Python code, comp adjustment methodology, submarket signalsComparing markets, pulling data via APIs, running comps
references/tax-strategy.mdDepreciation schedules, cost segregation savings, 1031 exchange rules, bonus depreciation (2025-2030), opportunity zones, entity structure comparisonTax-optimizing a deal, choosing entity structure, planning exchanges

Audience Adaptation

  • Beginner investors: Explain metric meanings, recommend starting with the 1% rule and cash-on-cash return, walk through pro forma line by line
  • Experienced investors: Skip basics, lead with IRR and equity multiple, provide code/spreadsheet output, focus on sensitivity analysis and tax optimization
  • Default to expert-level analysis unless context suggests otherwise

Comments

Markdown supported