Construction Cash Flow Forecast + Free AI Skill

A construction cash flow forecast projects the money coming in from pay applications and the money going out to contractors, suppliers and payroll, month by month, so you see a cash gap before it hits. This free AI skill builds that forecast from your billing schedule and payment terms and suggests moves to close the gap.

OwnerAccountingProject managerClaude · ChatGPT · CopilotMIT license

Worked example

It is early July 2027. Summit Ridge's owner wants to know how much cash Cedar Hollow will need through December before the company can bank on the owner's payments. Sample job, made-up data.

What the owner pasted in
Cedar Hollow cash forecast, Jul to Dec. Pay App 4 is $788,216, owner pays net 30, so it lands end of July. Gross billing: App 5 $1.01M, 6 $1.42M, 7 $1.56M, 8 $1.48M, 9 $1.25M, 10 $1.03M, last $250,958 in Jan. Retainage 5%. Received so far $981,859. We have paid out $1.95M on the job. Pay contractors and suppliers: Jul 1,048,400, Aug 758,400, Sep 1,088,400, Oct 1,228,400, Nov 1,038,400, Dec 818,400. Payroll and GCs about 61,600 a month. Where do we run short?
What the skill produced
Cash Flow Forecast: Cedar Hollow MOB, July to December 2027
Project
Cedar Hollow MOB (sample data)
Contract sum to date
$9,864,195
Forecast window
July 1 to December 31, 2027
Owner terms
Net 30 from the pay application date
Retainage
5%, held to closeout
Opening position
($968,141): $981,859 received, $1,950,000 paid

Bottom line

Cedar Hollow starts July $968,141 in the hole. Funding need peaks at $1,289,925 at the end of July, because Pay App #4 pays in late July but July bills run $1,110,000 that month. The job stays cash-negative through December and ends the year at ($145,925). App 10 pays about $978,500 in January, which would turn it positive before January costs. Plan for about $1,289,925 of company cash on this one job at the peak.

Monthly forecast

JulAugSepOctNovDecSix months
Owner payment receivedApp 4App 5App 6App 7App 8App 9
Cash in (net of 5% retainage)$788,216$959,500$1,349,000$1,482,000$1,406,000$1,187,500$7,172,216
Paid to contractors and suppliers($1,048,400)($758,400)($1,088,400)($1,228,400)($1,038,400)($818,400)($5,980,400)
General conditions and payroll($61,600)($61,600)($61,600)($61,600)($61,600)($61,600)($369,600)
Net cash for the month($321,784)$139,500$199,000$192,000$306,000$307,500$822,216
Job cash position, end of month($1,289,925)($1,150,425)($951,425)($759,425)($453,425)($145,925)($145,925)

Where the gap comes from

  • Retainage. The owner holds 5% of every application. By the December application the owner holds $480,662, which does not come back until closeout.
  • Billing trails cost. Cost to date is 30.2% of the estimated total, but Pay App #4 billed 18.9% of the contract. The WIP report shows $1,120,446 underbilled.
  • Timing. Owner payments arrive 30 days after the application. Payroll and general conditions go out every month.
  • Opening payables. About $822,089 of cost incurred through June was still unpaid at June 30, and it lands in July with the new bills.

Moves that close the gap

  • Bill what is earned. Every $100,000 of work billed a month earlier brings $95,000 of cash forward, after 5% retainage. Close part of the $1,120,446 gap on App 5.
  • Bill stored materials as soon as they are bonded and photographed. The $212,400 of HVAC units on App 4 is the model.
  • Ask for a retainage reduction at 50% complete if the contract allows it. Check the contract and your state's rules first.
  • Pay contractors on the terms the subcontract sets, not earlier. If the contract has a pay-when-paid clause, check how your state treats it before you lean on it.

Assumptions to confirm

  • Owner pays 30 days after each application, with no rejections or short pays.
  • Contractor and supplier payments by month came from your notes. Tie them to the subcontract schedule and open POs.
  • Retainage held from contractors is paid out at closeout and falls after December, so it is not in these months.
  • The final $250,958 of billing falls in January. January costs are not in this forecast.

Check every receipt date against the owner's actual payment history, and tie each payment line to open POs and subcontracts, because a forecast is only as good as the dates behind it.

What the skill does

  • Turns your expected pay applications into monthly receipts, net of retainage, with the owner's payment terms applied.
  • Spreads costs by month by category: contractors, suppliers, payroll and general conditions, using each one's payment terms.
  • Shows a running cash position for the job and marks the month where funding need peaks.
  • Finds where the gap comes from, such as retainage, slow approval or billing that trails cost.
  • Tests moves like earlier billing of stored materials, so you see what each one is worth in cash.

Use it in Claude, ChatGPT or Copilot

  1. Download the .zip on this page.
  2. In Claude, go to Customize, then Skills, click the plus button and choose Upload a skill. Code execution must be on (Settings, then Capabilities).
  3. Give it the billing schedule, the payment terms, what you have received and paid so far, and the costs by month. Ask it for the peak funding need.
Full Claude setup and prompts

Prompts to try

Build a July to December cash flow forecast for Cedar Hollow. Billing by pay app, owner pays net 30, retainage 5%, here are my payments by month. Where does it peak?

What is it worth in cash if we bill $200,000 more of earned work on App 5 instead of App 6, with 5% retainage?

Our owner pays 45 days after the application, not 30. Redo the forecast and tell me how much more company cash we need.

Give it

  • Contract sum and the billing schedule by pay application
  • Owner payment terms and the retainage rate and release
  • Cash received and cash paid on the job to date, and open payables
  • Planned payments to contractors and suppliers by month
  • Payroll and general conditions by month
  • Any line of credit or other funding limit

You get

  • A monthly cash in, cash out and running position table
  • The month and size of peak funding need
  • The sources of the gap
  • A short list of moves that close it, with the cash each is worth
  • A list of assumptions to confirm

It won't

  • It does not know when an owner will really pay. It uses the terms and dates you give it.
  • It does not arrange financing or advise on a loan. A person talks to your banker.
  • It does not invent receipts or costs. A missing month is marked Verify.
  • It does not replace your accountant's cash reports. It is a planning forecast for one job or the company.

Check before you send

  • Check each payment date against the owner's real payment history.
  • Tie the contractor and supplier lines to subcontracts and open POs.
  • Confirm the retainage rate and release in the contract.
  • Check that opening cash and open payables match the ledger.
  • Test the forecast with a late owner payment, 15 days later than planned.
  • Update it every month with actuals and keep the old version.

Free job cash flow forecast sheet template

Use the blank sheet at the start of each job and update it every month, comparing forecast to actual.

FieldWhat goes in it
Project and contract sumJob name and contract sum to date, with approved change orders.
Opening cash positionCash received to date minus cash paid out to date on the job.
Billing scheduleExpected gross amount for each pay application, by month.
Owner payment termsDays from application to payment, and any approval delay seen on past jobs.
Retainage rate and releasePercent held and when it comes back.
Cash in by monthGross billing minus retainage, placed in the month it will be paid.
Contractor and supplier paymentsScheduled payments by month, using each subcontract's terms.
Payroll and general conditionsMonthly labor, burden and fixed job costs.
Other cash outInsurance, bond, permits, equipment and anything outside the lines above.
Net cash for the monthCash in minus cash out.
Running cash positionOpening position plus the net for each month so far.
Peak funding needLowest running position and the month it falls.
Funding sourceCash, line of credit or other, and any limit.
Moves to close the gapEarlier billing, terms changes or retainage reduction, with the cash each is worth.
Word templateExcel template

Blank forms, free to use and edit. Or skip the form and let the skill fill it in.

The skill file

The primary skill is Cash Flow Forecast. Best at projecting income and expenses from the schedule, billing cycle and payment terms, finding funding gaps and testing payment timing.

Preview SKILL.md (461 lines)
---
name: "cashflow-forecaster"
description: "Forecast construction project cash flow. Project income and expenses, identify funding gaps, and optimize payment timing for improved financial management."
---
# Cashflow Forecaster

## Overview

Forecast construction project cash flow based on schedule, billing cycles, and payment terms. Identify potential cash shortfalls, optimize payment timing, and support project financing decisions.

## Cash Flow Curve

```
┌─────────────────────────────────────────────────────────────────┐
│                    CONSTRUCTION CASH FLOW                        │
├─────────────────────────────────────────────────────────────────┤
│                                                                  │
│  $   Income (payments received)                                 │
│  │         ╱──────────╲                                         │
│  │       ╱              ╲    Positive cash                      │
│  │     ╱                  ╲  position                           │
│  │   ╱                      ╲                                   │
│  │ ╱     Cash Gap             ╲                                 │
│  ├─────────────────────────────────────────────────────         │
│  │╲                                                             │
│  │  ╲    Expenses (costs incurred)                              │
│  │    ╲──────────╱                                              │
│  │                                                              │
│  └──────────────────────────────────────────────────────────    │
│        Time →                                                    │
│                                                                  │
└─────────────────────────────────────────────────────────────────┘
```

## Technical Implementation

```python
from dataclasses import dataclass, field
from typing import List, Dict, Optional, Tuple
from datetime import datetime, timedelta
from enum import Enum
import math

class CostCategory(Enum):
    LABOR = "labor"
    MATERIALS = "materials"
    EQUIPMENT = "equipment"
    SUBCONTRACTOR = "subcontractor"
    GENERAL_CONDITIONS = "general_conditions"
    OVERHEAD = "overhead"
    OTHER = "other"

class PaymentTerms(Enum):
    NET_30 = 30
    NET_45 = 45
    NET_60 = 60
    NET_90 = 90

@dataclass
class CostItem:
...

Adapted from datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction under the MIT license, maintained by Northwest AI.

Frequently asked questions

How do you forecast cash flow for a construction project?

List your expected pay applications and the month each will be paid, less retainage. List costs by month, using each contractor's payment terms. Net them each month, add the opening position, and watch the running total. The lowest point is your peak funding need. Update it monthly with actual receipts and payments.

Why do contractors run out of cash on profitable jobs?

Profit shows up at the end, but costs go out every month. Owners pay 30 to 60 days after the application, hold retainage until closeout, and sometimes short-pay. If billing trails cost, the gap grows. A job can make money on paper and still need a lot of company cash while it is built.

How does retainage affect construction cash flow?

Retainage delays part of every payment until closeout. At 5 percent, each $100,000 of work brings only $95,000 of cash now. You usually hold retainage from your own contractors, which offsets some of that, but your own lines, such as fee and general conditions, carry retainage that nobody offsets.

How often should you update a cash flow forecast?

Update it every month, right after you close the books, and again any time an owner payment is late or a big change order is signed. Replace forecast numbers with actuals and keep the old version, so you can see where your dates were wrong.

What is a good way to cover a cash gap on a job?

Bill everything you have earned and every stored material you can bill, and check the owner's payment dates. Ask about a retainage reduction if the contract allows it. If you still need cash, talk to your banker early, with the forecast in hand. This is planning information, not financial advice.

Related skills

Want these running for your whole team?

We set these skills up for your team, train your people on them, and build what they can't.

See how it works
Book a discovery call