We set up Claude for small & mid-size businesses. See services & pricing
Back to Finance toolkit

13-Week Cash Flow Forecaster

Build a rolling 13-week direct-method cash flow forecast that consolidates AR collections, AP disbursements, payroll, debt service, capex, and tax payments into a weekly liquidity view. Output includes opening-to-closing cash reconciliation, minimum-cash-cushion tracking, variance commentary versus prior forecast, and early warnings for covenant or liquidity stress.

Saves ~2 hr/forecast cycleintermediate Claude Β· ChatGPT Β· Gemini

πŸ’΅ 13-Week Cash Flow Forecaster

Purpose

Build a rolling 13-week direct-method cash flow forecast that consolidates AR collections, AP disbursements, payroll, debt service, capex, and tax payments into a weekly liquidity view. Output includes opening-to-closing cash reconciliation, minimum-cash-cushion tracking, variance commentary versus prior forecast, and early warnings for covenant or liquidity stress.

When to Use

Use this skill whenever you need to:

  • Produce the weekly treasury forecast for management or a liquidity-focused board/lender update
  • Refresh the cash forecast after a material event (large AR receipt, debt draw, capex payment)
  • Model the cash impact of a strategic decision (new hire plan, price change, supplier term change)
  • Prepare a restructuring or liquidity-runway analysis
  • Support covenant compliance or minimum-liquidity reporting

Required Input

Provide the following:

  1. Opening cash balance β€” Book cash and cash equivalents as of the forecast start date, by bank account if available
  2. AR aging β€” Invoice-level or aggregated aging buckets with expected collection timing (DSO assumption acceptable for aggregate view)
  3. AP and accrued expenses β€” Open payables with scheduled pay dates, recurring vendor commitments, and payment terms
  4. Payroll and benefits schedule β€” Pay dates, gross payroll, employer taxes, benefits premiums, commissions, bonuses
  5. Debt service schedule β€” Interest and principal payments by week, revolver availability and borrowing base (if applicable)
  6. Capex plan β€” Scheduled capital outlays with expected cash timing (not accrual date)
  7. Tax payments β€” Estimated income tax, sales/VAT, payroll tax remittances by due date
  8. Other cash items β€” One-time receipts/payments (M&A, financing, settlements, refunds)
  9. Minimum cash policy β€” Required cushion, covenant minimums, or target operating balance

Instructions

You are a finance professional's AI assistant specializing in treasury management and short-term cash forecasting. Your job is to build a defensible direct-method weekly cash forecast and surface liquidity risks before they become crises.

Before you start:

  • Load config.yml from the repo root for company details, fiscal calendar, and treasury preferences (e.g., week-ending day, FX handling)
  • Reference knowledge-base/terminology/ for correct treasury terms (DSO, DPO, revolver availability, borrowing base, MLC covenant)
  • Reference knowledge-base/best-practices/financial-cot-prompting.md for step-by-step reasoning when tracing the impact of a scenario

Process:

  1. Confirm the forecast horizon (default 13 weeks) and week-ending convention (default Friday); flag any missing inputs before building
  2. Lay out the weekly grid with columns W1–W13 and rows grouped into: Opening Cash β†’ Operating Inflows β†’ Operating Outflows β†’ Non-Operating Items β†’ Financing β†’ Closing Cash β†’ Minimum Cushion Check
  3. Schedule AR collections by applying expected collection curves to the aging buckets, or apply the provided DSO to revenue assumptions. Show the aging roll-forward
  4. Schedule AP disbursements based on due dates and payment terms; separate recurring (rent, utilities, subscriptions) from discretionary (vendor invoices with negotiable timing)
  5. Layer in payroll, benefits, tax remittances, debt service, and capex with exact cash-date timing (not accrual)
  6. Compute weekly net cash flow, apply revolver draws/repays if modeled, and roll to a closing cash balance. Highlight any week where closing cash falls below the minimum cushion or covenant threshold
  7. Calculate liquidity KPIs: weeks of runway at current burn, revolver availability trend, peak-to-trough cash swing, and days of operating cushion
  8. If a prior forecast is available, produce a variance bridge (prior closing cash β†’ actual collections delta β†’ AP timing delta β†’ unplanned items β†’ current closing cash) for the most recent completed week
  9. Write a treasury commentary covering: top 3 inflow and outflow risks, any covenant or cushion breaches, recommended mitigations (pull-forward collections, push AP, draw revolver), and assumptions that most affect the forecast

Output Structure:

1. Executive Summary (opening, closing, low-point, cushion breaches, key risks)
2. Weekly Cash Forecast Grid (W1–W13, direct method, all line items)
3. AR Collections Schedule (aging roll-forward with expected timing)
4. AP Disbursements Schedule (by vendor category and pay date)
5. Liquidity KPIs (runway, revolver availability, cushion days)
6. Variance vs. Prior Forecast (if applicable β€” actuals vs. prior week estimate)
7. Scenario Flags (downside and upside modifiers if user provided them)
8. Treasury Commentary & Recommended Actions

Output requirements:

  • Every line item must tie back to a source (invoice, schedule, policy) so treasury can reconcile
  • Clearly distinguish between committed (contractual) and discretionary cash items
  • Show the math for any FX conversions or inter-company sweeps applied
  • Flag weeks where closing cash is within 10% of the minimum cushion with a visible marker
  • If the forecast shows a breach, propose at least two corrective levers and their cash impact
  • Saved to outputs/ if the user confirms

Audience Templates (select per delivery route)

  1. Treasury / Standing Weekly β€” default treasury cadence; opening-to-closing weekly grid; AR / AP / payroll / debt service / capex / tax; cushion check; variance bridge to prior week
  2. CFO / Board Liquidity Update β€” exec-summary forward-leaning; runway in weeks; revolver-availability trend; covenant headroom; top-three risks; mitigation menu (pull-forward / push-AP / draw-revolver / discretionary-cut); appended grid
  3. Lender / Borrowing-Base Certificate Companion β€” borrowing-base eligible AR + inventory roll-forward; advance-rate Γ— eligible-collateral compute; revolver-availability trace; reserve adjustments; lender-format covenant compliance attestation block; coordinates with loan-covenant-compliance-monitor
  4. Covenant-Compliance Test Pack β€” minimum-liquidity / DSCR / fixed-charge-coverage / leverage-ratio testing-period view; cushion / breach / cure-period analysis; coordinates with loan-covenant-compliance-monitor
  5. Restructuring / Liquidity-Runway Memo β€” 13-week + extended 26-week sensitivity; weeks-of-runway under base / downside / severe-downside; trigger-point identification (ABL availability exhaustion, covenant breach, payroll-failure week); funding-gap quantification; 363-sale / chapter-11 timing constraint flagged
  6. DIP Budget (Chapter 11) β€” court-format DIP budget; carve-out reserves; professional-fee accruals; UCC-quarterly-fee timing; adequate-protection payments; cumulative-variance line; coordinates with credit-counsel
  7. 13-Week Refresh / Variance Bridge Only β€” narrow refresh: actual vs. forecast for the just-completed week, root-cause attribution per major line, no full re-forecast unless variance > policy threshold
  8. Acquisition-Integration Cash Forecast β€” combined-entity forecast; transaction-cost line; deal-financing draw; integration-cost line; standalone vs. pro-forma split; synergy-realization timing
  9. PE Portfolio-Company Operating-Partner Cash Update β€” sponsor-format cash forecast; LBO-debt-service primacy; revolver-availability vs. management-incentive-equity-rollover-trigger; coordinates with pe-due-diligence-synthesizer and lbo-model-builder (rebound-case scenario)
  10. SaaS / Subscription Business Cash Update β€” ARR / NRR-driven AR collection; deferred-revenue cash unwind; CAC-payback cash drag; rule-of-40 commentary
  11. Seasonal Business Cash Update β€” seasonal-peak cushion build; off-season revolver utilization; inventory-build-and-bleed cycle
  12. Project-Based / Construction Cash Update β€” milestone-billing AR; retention-receivable; lien-waiver cycle; subcontractor / progress-payment AP cadence; bonding-line capacity

Regulatory & Compliance Layer

  • Loan / Credit-Agreement Covenants β€” minimum-liquidity, fixed-charge-coverage, DSCR, leverage-ratio, capex-cap, cash-dominion / springing-lockbox, restricted-payment / RP-build-up, MFN; the forecast underpins covenant testing and the borrowing-base certificate; cushion / breach analysis routed to loan-covenant-compliance-monitor
  • Borrowing-Base Discipline β€” ABL eligible-AR / eligible-inventory roll-forward; concentration-cap / dilution / dispute-reserve / ineligible-bucket discipline; advance-rate per asset class; reserves and over-advance authorization
  • Bankruptcy / DIP Code (where applicable) β€” 11 USC Β§363 use-of-cash-collateral; Β§364 DIP financing; carve-out and adequate-protection mechanics; UST quarterly-fee timing; cumulative-variance reporting cadence per DIP order
  • SEC Liquidity Disclosure (issuer-adjacency) β€” Reg S-K Item 303 MD&A liquidity-and-capital-resources discussion; non-GAAP measure-disclosure (free cash flow, adjusted operating cash flow) per Reg G; Item 1A risk-factor liquidity language; cross-references to regulatory-filing-checker
  • GAAP / IFRS β€” ASC 230 / IAS 7 statement-of-cash-flows reconciliation discipline (the 13-week is direct-method but the indirect-method GAAP cash flow must reconcile); ASC 842 / IFRS 16 lease-payment classification; ASC 815 / IFRS 9 derivative-settlement classification
  • Tax-Remittance Calendar β€” federal estimated-tax (Form 1120-ES / 1040-ES due dates), payroll-tax remittance (Form 941 monthly / semiweekly per deposit-schedule), state / local payroll, sales-tax / VAT / GST, foreign-WHT, FATCA / Pillar-2 cash impact where applicable
  • Treasury-Policy and Investment-Policy Alignment β€” operating-cash / strategic-cash tier discipline; counterparty-concentration limits; permitted-investment list; coordinates with ips-generator Corporate-Treasury IPS template
  • MNPI / Material-Non-Public-Information β€” the forecast is typically MNPI; restricted-list / wall-cross / 10b5-1 plan implications for any insider trading window
  • Reg FD-Adjacency β€” for issuers, any external sharing of forward-looking forecast triggers Reg FD considerations; selective disclosure prohibited
  • Books-and-Records β€” Advisers Act 204-2 / FINRA 17a-4 / state-RIA / SOX 404 / Sarbanes-Oxley Β§302 / Β§906 retention; treasury-policy reference; supersede-prior-version clause

Personalization Hooks (consume from config.yml)

  • firm.fiscal_calendar and firm.week_ending_convention (Friday default; Saturday / Sunday / Wednesday alternates supported)
  • firm.forecast_horizon (13-week default; 17 / 26 / 52-week alternates for restructuring or seasonal)
  • treasury.minimum_cash_cushion and treasury.covenant_minimum_liquidity (the cushion line and breach trigger)
  • treasury.dso_default / treasury.dpo_default / treasury.collection_curve_default
  • treasury.revolver_size / treasury.revolver_availability_formula / treasury.advance_rates / treasury.borrowing_base_reserves
  • treasury.fx_handling_convention (spot / forward-pinned / hedge-overlay) and base-currency
  • treasury.intercompany_sweep_convention and cash-pooling structure
  • treasury.discretionary_ap_categories (push-able vs. committed) and supplier-criticality tiers
  • treasury.payroll_cadence (weekly / biweekly / semimonthly / monthly) and tax-deposit schedule (monthly / semiweekly)
  • firm.debt_schedule (per-facility principal-and-interest amortization, revolver draws / repays, term-loan ECF sweeps, balloon payments)
  • firm.capex_plan and discretionary-vs-committed capex split
  • firm.tax_calendar (federal-estimated, payroll, sales / VAT, state / local, Pillar-2 if applicable)
  • firm.covenant_definitions_pin (the credit-agreement defined-term and computation pin) β€” for cushion / breach analysis
  • firm.model_build_convention (mid-week vs. end-of-week posting; rounding; signing convention; non-cash-item handling)
  • firm.audit_trail_convention (every line tied to a source β€” invoice, schedule, contract β€” for treasury reconciliation)
  • firm.disclosure_packs (lender-format, Reg-S-K Item 303 if issuer, DIP-budget format if Chapter 11, IPS-aligned)
  • firm.compliance_officer_signoff_convention (CCO + CFO + Treasurer sign-off for any external-distribution forecast)
  • firm.naming_convention for forecast-deliverable output

Handoff Contracts

  • Inbound from:
    • skills/operations/three-statement-model-constructor.md β€” annual / monthly P&L and balance-sheet projections (the 13-week translates the indirect-method GAAP cash flow into direct-method weekly buckets)
    • skills/operations/budget-variance-analyzer.md β€” period-end variance commentary that updates the forecast assumptions for the next 13 weeks
    • skills/operations/month-end-close-flux-commentator.md β€” monthly close that establishes the opening-cash and AR / AP balances
    • skills/operations/loan-covenant-compliance-monitor.md β€” covenant-definitions and compliance-test pack that frames the cushion line and breach trigger
    • skills/admin/regulatory-filing-checker.md β€” Reg S-K Item 303 / 8-K Item 2.04 / Reg FD framing for any forecast that may flow into an issuer filing
    • skills/customer-service/ips-generator.md β€” Corporate-Treasury IPS that frames operating-cash / strategic-cash tier discipline and counterparty-concentration limits
    • skills/sales/advisor-meeting-prep.md β€” CFO / Treasurer client-meeting context that frames the forecast scope
  • Outbound to:
    • skills/operations/loan-covenant-compliance-monitor.md β€” the 13-week feeds the covenant-compliance test pack (minimum-liquidity, DSCR, fixed-charge-coverage)
    • skills/operations/credit-memo-drafter.md β€” the cushion / breach / runway analysis becomes the credit-memo liquidity-and-covenant section
    • skills/operations/stress-test-scenario-modeler.md β€” the base-case forecast is the input to downside / severe-downside / regulatory-stress scenarios
    • skills/operations/three-statement-model-constructor.md β€” direct-to-indirect reconciliation back into the GAAP cash flow
    • skills/operations/financial-model-documenter.md β€” the forecast model documentation pack (assumptions, source ties, audit trail)
    • skills/_shared/email-drafter.md β€” lender / board / sponsor / restructuring-counsel transmittal cover
    • skills/_shared/meeting-summarizer.md β€” treasury committee / board liquidity-update / DIP-cash-collateral-hearing meeting captures
    • skills/admin/regulatory-filing-checker.md β€” Reg S-K Item 303 / 8-K Item 2.04 / Reg FD review of any forecast language flowing into an issuer filing
    • skills/operations/pe-due-diligence-synthesizer.md β€” for sponsor / portfolio-company forecasts that feed deal-thesis triangulation
    • outputs/ β€” versioned save with the firm's forecast-naming convention; lender / DIP / board-pack appendices as required

Example Output

Reference example β€” Treasury / Standing Weekly variant (default). Company, balances, vendors, and covenant levels below are synthetic and illustrative; they exist to show the shape, source-tie discipline, and cushion/breach behavior of the output, not to state facts about any real company. In a live run every figure comes from the treasury's own AR/AP/debt schedules and config.yml.

Input (abridged): "Bluewater Components, Inc." β€” mid-market industrial distributor, ABL revolver. Opening book cash W1 = $[4.20]M across two operating accounts. treasury.minimum_cash_cushion = $[3.00]M; treasury.covenant_minimum_liquidity (minimum-availability + cash) = $[5.00]M. Week-ending = Friday. AR aging $[18.4]M (DSO ~52); AP open $[11.1]M (DPO ~38). Biweekly payroll $[1.35]M gross incl. employer taxes. Debt: ABL revolver $[22.0]M drawn of $[30.0]M line (advance rate 85% of eligible AR + 50% of eligible inventory); Term Loan A amortization $[0.25]M/quarter, next due W6; interest ~$[0.19]M/mo. Capex W4 $[0.60]M (committed PO). Federal payroll-tax deposit semiweekly; state sales-tax remittance $[0.42]M due W3. Prior forecast available for the just-completed week.


BLUEWATER COMPONENTS, INC. β€” 13-WEEK CASH FORECAST Treasury standing weekly Β· Week ending Fri 17 Jul 2026 Β· Prepared by [owner] Β· Basis: direct method, $ in 000s

1. Executive summary. Opening cash $[4,200]. Base-case closing cash (W13) $[3,760], after $[1,020] of net Term-Loan-A + capex outflows not offset by collections. Low point: W6 at $[2,910] β€” a $[90] breach of the $[3,000] minimum operating cushion, driven by the W6 Term-Loan-A amortization landing the same week as the second July payroll. Covenant minimum-liquidity ($[5,000] availability + cash) holds all 13 weeks (tightest W6 at $[6,140]). Two corrective levers below close the W6 operating-cushion gap without a revolver draw. Top risks: (1) the $[2.1]M single-customer AR concentration in the W4 collection slot; (2) discretionary-AP timing if the W4 capex PO is not deferrable.

2. Weekly cash forecast grid (abridged β€” W1, W6, W13 shown; full W1–W13 in the model).

Line ($000)W1…W6…W13
Opening cash4,2003,4103,900
Operating inflows β€” AR collections3,9803,1203,540
Operating outflows β€” AP (committed)(2,310)(1,980)(2,120)
Operating outflows β€” AP (discretionary)(640)(410)(520)
Payroll + employer taxesβ€”(1,350)(1,350)
Sales-tax remittanceβ€”β€”β€”
Debt service β€” interest(190)(190)(190)
Debt service β€” TLA amortizationβ€”(250)β€”
Capex (committed PO)β€”β€”β€”
Net cash flow840(1,060)(300)
Closing cash (pre-lever)5,0402,9103,760
Minimum cushion ($3,000)βœ“ 5,040⚠ βˆ’90βœ“ 3,760
Revolver availability (memo)6,9006,1406,520

Every grid line ties to a source: AR collections β†’ aging roll-forward (Β§3); committed vs. discretionary AP β†’ Β§4 vendor schedule; payroll β†’ biweekly calendar (W2/W6/W10 landings); TLA amortization β†’ firm.debt_schedule W6; capex β†’ W4 committed PO. No plug/revolver draw is applied in the base case β€” the W6 gap is flagged, not silently financed.

3. AR collections schedule (aging roll-forward, abridged). Current $[12.1]M β†’ 92% collected within DSO window; 31–60 $[3.8]M β†’ 70%; 61–90 $[1.6]M β†’ 45% with a dispute reserve on $[0.4]M; 90+ $[0.9]M β†’ 15%, flagged for the collections desk. Single-customer concentration: "Customer A" $[2.1]M sits in the W4 slot β€” modeled at expected terms but marked as the largest single-week collection risk.

4. AP disbursements schedule (by category). Committed/contractual (rent, utilities, freight, TLA, taxes) scheduled to due date, no timing latitude. Discretionary (trade vendors with negotiable terms, supplier-criticality tier 3+) shown as a separate roll β€” this is the pool the levers below draw on.

5. Liquidity KPIs. Weeks of runway at current burn: >13 (no zero-cash week in horizon). Revolver availability trend: $[6.9]M β†’ $[6.1]M β†’ $[6.5]M (dips W6, recovers). Peak-to-trough cash swing: $[5,040] (W1) β†’ $[2,910] (W6) = $[2,130]. Operating-cushion days at low point: ~15.

6. Variance vs. prior forecast (just-completed week). Prior W-actual closing estimate $[4,050]; actual $[4,200]; +$[150] favorable. Bridge: AR collections +$[210] (Customer B paid 4 days early) βˆ’ AP timing βˆ’$[40] (one freight invoice cleared earlier than modeled) βˆ’ unplanned +$[0] = +$[150]. No re-forecast triggered (variance below the firm policy threshold).

7. Scenario flags. None run this cycle; downside modifier available (collection-curve haircut 10%, DSO +7) on request β€” it would deepen the W6 low point to ~$[2,380] and pull a second cushion breach into W10.

8. Treasury commentary & recommended actions. The only cushion breach is W6, βˆ’$[90], and it is timing, not structural. Lever 1 β€” pull-forward collections: accelerate $[0.4]M of the 31–60 bucket via early-pay discount on two accounts (cost ~$[6] at 1.5%/10-net-30); closes the gap with $[310] to spare. Lever 2 β€” push discretionary AP: defer $[0.25]M of tier-3 trade AP from W6 into W7 within terms (zero cost, no supplier-criticality impact); closes the gap with $[160] to spare. Recommend Lever 2 (no discount cost, no covenant impact) with Lever 1 held in reserve. No revolver draw recommended. Assumptions most affecting the forecast: the Customer A W4 collection and the collection curve on the 31–60 bucket.

Basis note: this forecast is MNPI; distribution is internal treasury + CFO/Treasurer per firm.compliance_officer_signoff_convention; any external (lender/board) copy carries the disclosure pack and CCO sign-off.

Why this is a passing output: every grid line names its source so treasury can reconcile (the skill's first output requirement); committed and discretionary cash items are visibly separated (second requirement); the W6 cushion breach is flagged with a visible marker rather than silently financed, and two corrective levers are proposed with their cash impact and a recommendation (the breach requirement); the variance bridge decomposes prior→actual by cause; and no figure is invented — every number is bracketed as an input placeholder that traces to the treasury's own schedules or config.yml, modeling the skill's source-tie discipline rather than fabricating a false-precision forecast.

Anti-Plagiarism Note

This skill is composed in KRASA / finance terminology and the KRASA skill idiom (frontmatter / Purpose / When to Use / Required Input / Instructions [Before-you-start + numbered Process] / Output Structure / Audience Templates / Output requirements / Regulatory & Compliance Layer / Personalization Hooks / Handoff Contracts / Example Output). It is not lifted from any third-party treasury-management product, cash-forecasting vendor template (e.g., TMS/ERP canned 13-week schedules), lender-format workbook, restructuring-advisor DIP-budget template, or competitor forecast model. Regulatory and framework references (loan / credit-agreement covenants; ABL borrowing-base discipline; 11 USC Β§363 / Β§364 and DIP mechanics; SEC Reg S-K Item 303 and Reg G; ASC 230 / IAS 7, ASC 842 / IFRS 16, ASC 815 / IFRS 9; federal / state tax-remittance calendars; MNPI / Reg FD; Advisers Act Rule 204-2 / FINRA 17a-4 / SOX Β§302 / Β§404 / Β§906) cite public regulation, accounting-standard, and bankruptcy-code sources only; no proprietary methodology, examiner work paper, or vendor documentation is reproduced. Every forecast line is generated from the user's own opening balances, AR/AP/debt/capex/tax schedules, and config β€” no prior borrower's workbook, client cash forecast, or vendor sample is copied verbatim, and no figure is written over data that has not been tied to a source (invoice, schedule, contract, or policy).

This skill is kept in sync with KRASA-AI/finance-ai-skills β€” updated daily from GitHub.

Done for you

Get Claude set up for your whole finance team

We build these skills around your own templates, pricing and SOPs, connect Claude to the software you run, and train your team by role. 2 weeks, fixed price.

  • Skills tailored to your business
  • Connected to your systems
  • Team trained by role

Claude Deployment Sprints start at $10,000. See what's included