Treasury Cash Forecast
A 12-month direct cash forecast with scenarios. A tested engine does the maths. The AI never calculates a number; it only explains the result.
How it works
Four tables, as an Excel workbook or CSV files: inputs, your past cash-flow statement, cash flows you already know, and your scenarios.
The plugin checks that every past month ties, runs the forecast model on each line, then applies known amounts and scenario changes.
A cash-flow statement per scenario with opening and closing cash, a summary, and a sheet that splits every figure into model, known amount and scenario change.
The template
| Table | What goes in |
|---|---|
| inputs | Currency, last month of actuals, optional model and minimum cash |
| history | Past direct cash-flow statement, from opening cash to closing cash |
| known_events | Amounts you already know, by line and month |
| scenarios | What-ifs in percent or fixed amounts, by line and period |
The result workbook
| Sheet | What it shows |
|---|---|
| Summary | Closing cash per scenario, lowest month, minimum-cash breaches |
| How this is built | The method in plain words |
| One statement per scenario | Twelve months, every month tying from opening to closing cash |
| Where numbers come from | Model figure, known amounts, scenario change and total for each figure |
| Notes | Model used and library versions |
A made-up manufacturer: opening cash EUR 1.18m, minimum cash EUR 250k
A made-up seasonal hotel: opening cash EUR 690k, minimum cash EUR 150k
| Scenario | Closing cash after 12 months | Lowest month | Below minimum cash |
|---|---|---|---|
| Base case | EUR 766k | March 2027, EUR 181k | none |
| Group cancels | EUR 721k | March 2027, EUR 181k | none |
| More direct bookings | EUR 828k | February 2027, EUR 177k | none |
| Refurbishment overrun | EUR 706k | March 2027, EUR 121k | March to April 2027 |
| Weak season | EUR 192k | April 2027, EUR −30k | February to June 2027; below zero in March and April 2027 |
| Weak season with seasonal credit line | EUR 184k | July 2027, EUR 181k | none |
Treasury Cash Forecast 0.2.1, ETS model, 12 months from November 2026. Download the example (made-up data): filled template · result workbook
Choose your AI
| Claude | ChatGPT | DeepSeek Harness | Hermes Agent | |
|---|---|---|---|---|
| Where it runs | Claude chat on web, desktop and phone | ChatGPT desktop app (Work mode or Codex) | DeepSeek Harness on your own machine | Your own Hermes Agent server |
| What you need | A Claude account | ChatGPT desktop app, Python 3.9+, Terminal | DeepSeek Harness, Python 3.9+, git, Terminal | Hermes Agent 0.22.2 or later, terminal access |
| Install | Add the GitHub link under Customize → Plugins | Codex command line, five steps | Copy the skill folder, four steps | Two commands |
Claude
Where it runs: normal Claude chat on web, desktop and phone. The engine runs in Claude’s own sandbox.
You need: a Claude account. Nothing to install on your computer.
Install:
- Open Claude and go to Customize → Plugins.
- Click Add, then Add marketplace.
- Paste
https://github.com/Prabhusekaran/treasury-cash-forecastand confirm. - Find Treasury Cash Forecast in the list and click Install.
- Start a new chat. The plugin loads in new chats only.
First run: “Use the Treasury Cash Forecast plugin: create the hotel example and run the forecast.”
Update: Customize → Plugins → Treasury Cash Forecast → Update.
Your data: processed in Claude’s sandbox under your Claude account.
Claude Code users: /plugin install treasury-cash-forecast --marketplace Prabhusekaran/treasury-cash-forecast
ChatGPT
Where it runs: the ChatGPT desktop app, in Work mode or Codex. Not the website or the phone app. Tested on Mac; Windows not tested.
You need: the ChatGPT desktop app, Python 3.9 or newer (check with python3 --version), and the Terminal.
Install:
- Install OpenAI’s Codex tool:
curl -fsSL https://chatgpt.com/codex/install.sh | sh - Open a new Terminal window, type
codex, choose Sign in with ChatGPT, then press Ctrl+C twice to leave. - Add the plugin:
codex plugin marketplace add Prabhusekaran/treasury-cash-forecast - Install the two libraries:
python3 -m pip install "statsmodels>=0.14,<1" "openpyxl>=3.1,<4" - Restart the ChatGPT desktop app. Go to Work mode → Plugins → Treasury Cash Forecast → Install.
First run: open a new Work chat in an empty folder and type: “Use the Treasury Cash Forecast plugin: create the hotel example and run the forecast.”
Update: codex plugin marketplace upgrade treasury-cash-forecast, then restart the app.
Your data: stays on your own computer.
DeepSeek Harness
Where it runs: DeepSeek Harness on your own machine.
You need: DeepSeek Harness installed, Python 3.9 or newer, git, and the Terminal.
Install:
- Download the plugin:
git clone https://github.com/Prabhusekaran/treasury-cash-forecast.git - Copy the skill into the Harness skills folder:
mkdir -p ~/.agents/skills && cp -r treasury-cash-forecast/skills/cash-forecast ~/.agents/skills/ - Install the two libraries:
python3 -m pip install "statsmodels>=0.14,<1" "openpyxl>=3.1,<4"(if your system refuses, add--break-system-packages) - Restart the Harness: stop
dsh web, then start it again.
First run: in a new Harness chat: “Use the Treasury Cash Forecast plugin: create the hotel example and run the forecast.”
Update: cd treasury-cash-forecast && git pull, then repeat step 2 and restart.
Your data: stays on your own machine.
Hermes Agent
Where it runs: your own Hermes Agent server.
You need: Hermes Agent 0.22.2 or later, and terminal access to the server.
Install:
- Install the plugin:
hermes plugins install Prabhusekaran/hermes-treasury-cash-forecast - Switch it on:
hermes plugins enable treasury-cash-forecast - Restart Hermes.
First run: in a Hermes chat: “Use the Treasury Cash Forecast plugin: create the hotel example and run the forecast.”
Update: see the README at github.com/Prabhusekaran/hermes-treasury-cash-forecast
Your data: stays on your Hermes server.
Listed in the Hermes plugin catalog (version 0.2.1).
What to know before you use it
- Validated on made-up data only. No claim is made about accuracy on any real company.
- The model comparison shows how much the result depends on the model. It is not an accuracy test.
- Default model is ETS; SARIMA and four simple models can be selected.
- No network calls and no credentials. Where your data is processed depends on the AI you use (see each install block above).
- The workbook holds values, not live formulas, so the reconciliation cannot be broken by accident.
- More than 100 automated tests cover the engine and the plugin.
- Same engine everywhere: Claude, ChatGPT and DeepSeek Harness use the package at github.com/Prabhusekaran/treasury-cash-forecast (version 0.2.5); Hermes uses its own package (version 0.2.1).