/au-fpa-pack:fpa-cash-runwayfrom au-fpa-pack
Use when answering "when do we run out of cash", building a 13-week cash forecast, sizing a credit line, or analysing near-term liquidity and payment timing in openfpa.
Ships in au-fpa-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Build the 13-week direct-method cash forecast - the operator's near-term liquidity view. Schedule the known weekly receipts and disbursements, show the raw cash position (no automatic LOC draws), and report the trough and first negative week.
Core principle: Show the unfinanced position. A visible shortfall is the whole point - it sizes the credit line.
openfpa entrypoint-list <company-root> --kind cash. Use the registered cash
workflow when one exists.Cash13Config: opening_cash, weeks (default 13), and receipts/disbursements lists of WeeklyFlow(name, amount, start_week, recurrence). Recurrence is once, weekly, biweekly, monthly or quarterly. A monthly or quarterly flow also takes an anchor_date and needs the config's window_start, the first day of week 1: it recurs every 1 or 3 months from anchor_date on that day of month, or on the month's last day when that is earlier (the 31st falls on 28 or 29 February), and each date lands in the week that contains it. Dates before week 1, outside start_week to end_week or past the horizon are dropped. Take BAS settlements from gst_weekly_flows (fpa-au-gst-bas) rather than a quarterly flow, so they keep their BAS due dates. Model what you actually know: AR collections on their expected weeks, payroll on its cadence, inventory POs on their due dates, quarterly tax. With the customer's paid invoices and their receipts, place open invoices with pyfpa.predicted_receipts(invoices, receipts, open_invoices, window_start) and pyfpa.predicted_receipt_flows: each lands on the median days its customer has taken, or every customer's with fewer than 6 comparable payments. Only paid invoices count, so a customer whose slowest invoices are still open may be forecast early: check its oldest open invoices before relying on a date. Report the rows with basis none as owed but not forecast, and show each receipt's basis and sample size so the operator can challenge it.import pyfpa
from pyfpa.io.loaders import load_cash13_config
weekly = pyfpa.cash13_forecast(load_cash13_config("examples/ridgeline/cash13.yaml"))
runway = pyfpa.runway_summary(weekly)
# {'min_cash': -146000.0, 'min_week': 7, 'first_negative_week': 3, 'negative_weeks': [3, 6, 7, 8, 11]}
min_cash means 'needs a draw of at least this much,' not "insolvent." first_negative_week is the deadline to act, and negative_weeks names every week that ends below zero, so a short dip reads apart from a long one. Size the credit line to the trough plus a buffer.
With an approved overdraft or facility, set facility_limit (and optionally headroom_buffer) on the config: the forecast adds a headroom column, and pyfpa.runway_summary(weekly, cfg.headroom_buffer) adds min_headroom, first_headroom_breach_week and headroom_breach_weeks. The limit is capacity only, so ending_cash stays the raw position; take the limit from the facility document, not from memory.pyfpa.risk_week_actions(cfg, receivables, payables) lists up to 3 actions for each risk week, ranked by amount: chase an overdue invoice the forecast expects after the week, or pay a bill on its due date instead of earlier. Each names its source row. Nothing moves past its due date, so give a tax payment its due date under the lodgment channel the business already lodges by, the one the forecast was built with, never another channel's later date or a payment plan date. An action that helps several weeks is listed in each, so add amounts within a week, never across weeks. A week with no rows has no such action: say so, and apply the guardrail below to any other option.pyfpa.cash_floor_bands runs the dated flows many times with each named flow late by a whole number of days from a stated DelayRange, from a stated seed. Report its P10, P50 and P90 floors and the runs below zero as a scenario range under those ranges, never as a forecast or a probability, and give the seed and each range's basis. To show which debtors matter, pyfpa.debtor_lateness(events, receivables) ranks debtors by amount times days past due, and pyfpa.pull_forward_levers(...) shows what collecting each one a stated number of days sooner, never before its due date, does to the floor. Present a lever as arithmetic on stated dates, never as a prediction that the debtor will pay.pyfpa.weekly_actuals_score(cfg, actuals_by_week) scores the forecast against them (see fpa-backtest-learn). Report its per-week errors beside the next forecast; it does not revise this one. To roll the forecast forward, pyfpa.reforecast_from_actuals(cfg, actuals_by_week, predicted, invoices, receipts, open_invoices) starts the window after the closed weeks from their actual closing balance, places open invoices again from the latest paid history, and lists each invoice as paid, new, changed or unchanged.Never present deferring tax, super or payroll as a source of cash without stating what it costs and that it may not be available. This applies to any scenario, recommendation or line of a briefing that stops, delays or defers a tax payment, a super contribution or wages.
payment_plan_estimate (pyfpa.au), label it an estimate, and put its payment_plan_weekly_flows in place of the tax's own flow.payment_plan_estimate refuses a date outside gic.yaml, which starts on 1 January 2026 and ends at the last GIC rate the ATO has published. When it does, state that the cost can't be estimated yet, and why, give no figure, and still state the other consequences here.State these consequences beside the option and leave the decision with a person, advised by a registered tax agent.
Feed runway into fpa-board-briefing for the writeup.
What SKILL.md sets; muted values are Claude Code's defaults
17 skills in this plugin
/fpa-au-driversUse when an Australian forecast needs official economic drivers - RBA cash rate and exchange rates, ABS CPI/WPI/retail/labour series - snapshotted with provenance for reproducible scenarios./fpa-au-gst-basUse when forecasting cash for a GST-registered Australian entity - net GST positions, BAS settlement timing (monthly or quarterly), GST-free and input-taxed categories, 13-week cash impacts./fpa-au-payrollUse when forecasting payroll costs for an Australian employer - superannuation guarantee, state payroll tax, workers compensation, leave provisions, headcount plans with start dates and vacancies.Other plugins' skills for the same job
npx claudepluginhub ryanduguid/ozfpa --plugin au-fpa-pack