Cash flow forecast

From WellApp-ai/Well · View interactive version

Cash flow forecast is an AI agent skill from the GitHub repository WellApp-ai/Well. Forecast cash flow and runway for a Well workspace from booked invoices and collected bank transactions. Use when the user asks for a cash-flow forecast, runway, how long until they run out of cash, projected balance, or expected inflows/outflows.

How to use this skill

Skill file

Cash-flow forecast from Well

A trustworthy forecast is grounded in what actually happened — invoices raised, cash collected, and observed days-to-pay — not in optimistic projections. Every forecast must state its time window and filters, and flag thin history explicitly.

Build it from booked + collected

  1. Discover the schema first (see well:querying-well-data).
  2. Starting position — current cash: well_get_schema("account_balances") / accounts, sum the latest balance per account (note the currency).
  3. Expected inflows (booked) — open invoices (issued, unpaid) with their due dates and outstanding amounts. Adjust each due date by the customer's observed days-to-pay where history exists (derive from past invoices + their settling transactions / invoice_transactions).
  4. Expected outflows (booked) — received/payable invoices with due dates; plus recurring outflows visible in transactions history (rent, payroll, subscriptions).
  5. Project the balance forward per period (week or month): starting cash + expected inflows − expected outflows. Report the projected balance per period and the runway (the period the balance crosses zero, if any).

Rules

Present it

A per-period table — opening balance, inflows, outflows, closing balance — the runway in plain terms ("≈ N weeks at current trajectory"), the stated window/filters, and an explicit confidence note when history is thin.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.