← Back to library

Build your own CRE underwriting model with a coding agent

u/rajuabju develops, owns and syndicates retail and industrial property on his own and used to outsource underwriting to analysts running Argus. Using Claude, then Cowork's Excel integration and now Claude Code, he has built DCF models for single-tenant and small-bay industrial deals, with tenant-level leasing, recoveries, vacancy, leasing costs, financing and sale, and is adapting them for retail.

  • OutcomeAn Excel cash-flow model shaped around how you underwrite, built and extended with a coding agent instead of outsourced runs of a rigid tool.
  • SetupUnder an hour
  • LevelIntermediate
  • Creditu/rajuabju on r/ClaudeAI
View original
Works with
Claude CodeClaudeChatGPT

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 23, 2026

When should you use it?

  • You underwrite a steady flow of similar deals and pay outsiders to run models
  • Your assumptions don't fit a standard template
  • You can check a DCF by hand and want speed, not a black box

Not for: Institutional reporting that requires a specific standard tool; Anyone who can't audit the formulas the agent writes

What do you need, and what do you get?

You need

  • A recent deal you know well with its rent roll and leases
  • Your usual assumptions for vacancy, renewal odds, TI, commissions and debt
  • An Excel workbook the agent can edit

You get

  • A dynamic Excel DCF for one product type
  • Sensitivity tables on rent, exit cap and downtime
  • A checklist of assumptions per deal

How does it work, step by step?

  1. Start with one product typeHe began with single-tenant industrial before moving to multi-tenant; pick the simplest deal you do often.
  2. Describe your logic in plain wordsTell the agent how you treat downtime, renewal probability, reimbursements and leasing costs, tenant by tenant.
  3. Have it build tabs, not one sheetAsk for separate rent roll, assumptions, cash flow, debt and returns tabs so each piece can be checked.
  4. Reconcile against a known dealRun a closed deal through it and compare to the analyst's model or your own numbers line by line.
  5. Extend to the next typeOnce industrial ties out, adapt the structure for retail rather than starting over.

The prompt

Our own prompt, inspired by u/rajuabju on r/ClaudeAI and written to work in Claude Code, Claude and ChatGPT. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt4 variables
Build an Excel underwriting model for a {product_type} deal. Rent roll: {rent_roll}. My assumptions: {assumptions} (vacancy, renewal probability, downtime months, TI per sq ft, leasing commissions, reimbursement method, debt terms, exit cap). Create tabs: Assumptions, Rent Roll, Cash Flow (monthly for {hold_years} years), Debt, Returns, Sensitivity (exit cap vs. market rent). Put every input on Assumptions; no hard-coded numbers elsewhere. After building, list each formula block in plain English so I can audit it, and flag any assumption you had to guess.

Inspired by u/rajuabju on r/ClaudeAI: Commercial Real Estate Real Life Uses. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • A model that looks complete can hide a wrong sign or a missed reimbursement; reconcile every new version against a deal you already know.
  • Keep a version history of the workbook so you can see what the agent changed.

Our take

The interesting part of this post is not that an AI can write spreadsheet formulas but who benefits most. A solo sponsor with a consistent deal profile knows exactly how he thinks about downtime, renewals and reimbursements, and has been paying someone else to translate that into a rigid tool. A coding agent lets him encode his own judgment directly, then reuse it on the next deal. The risk is just as clear: underwriting errors are expensive and quiet. Treat the first few models as drafts that must tie out to a deal you already closed, cell by cell, before you trust them for a live offer. Ask the agent to label every hard-coded number and to keep assumptions on one tab, so a lender or partner can follow the logic. Start narrow, as he did, and only add product types once the first one reconciles. If you syndicate, have a second person review the model before investor materials go out.

Where the time goes back: He says model changes now take minutes instead of the hours or days of waiting on outside analysts.

FAQ

Is he saying Argus is obsolete?
No. He says it still makes sense for institutional shops, standardized reporting and very large portfolios; his point is about a solo operator's needs.
Does the model live in code?
No, the output is still an Excel workbook; the coding agent writes and restructures the formulas.

Source and credit

Inspired by u/rajuabju on r/ClaudeAI. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Commercial Real Estate Real Life Uses
Creator
u/rajuabju on r/ClaudeAI
Published on
Reddit
Original date
May 22, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Claude Code
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS (desk check, not a live run in the vendor's app). Replaces an earlier templated dry-run note.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Finance & Accounting

All 62 Finance & Accounting playbooks →

Related playbooks

Finance & AccountingSkill✓ AI dry run

Have Claude build Excel files that recalculate cleanly

Give Claude the xlsx skill so that any spreadsheet it creates or edits keeps live formulas instead of pasted results, passes a full recalculation with zero formula errors before delivery, labels every assumption with its source, and follows standard financial model conventions or the existing file's own styling.

Credit: Anthropic

Minutes
Finance & AccountingWorkflow✓ AI dry run

Auto-file emailed invoices by month for your accountant

Every invoice that reaches Gmail is saved as a PDF in a year and month folder in Google Drive and logged in that month's sheet, ready to share with your accountant at month end.

Credit: Ioana Frincu

Under an hour
Finance & AccountingWorkflow✓ AI dry run

Fill invoice templates from approved job data

Invoices go out from a spreadsheet row to a PDF in the client's inbox, and the sheet shows what has been sent.

Credit: u/Ok_Butterscotch_6732 on r/maketemplates

Under an hour
Finance & AccountingWorkflow✓ AI dry run

Create Xero purchase orders and invoices from board status

Change an item's status on your project board and have the purchase order, bill or client invoice created in Xero, with the PDF attached back to the item.

Credit: u/TableSad825 on r/mondaydotcom

An afternoon+
Finance & AccountingWorkflow✓ AI dry run

Tidy inconsistent invoice files and send the monthly batch

Hand off the monthly invoice chore, renaming and sorting messy files, then preparing the send, to an agent working in a folder on your computer.

Credit: minicoohei

Under an hour