Skip to main content

Spend anomaly watch

A weekly read on charges that moved against their own history, with the arithmetic shown and no cause attached.

The prompt
Compare the period since this task last ran against the same length of
time before it. Read only. Change nothing.

Source: WHERE.
Threshold: flag a change above PERCENT percent or CURRENCY AMOUNT,
whichever is smaller.

State the two periods and both totals before anything else. Every
figure below sits inside those two windows.

Then four groups.

Larger. Line items above the threshold. Show the earlier figure, the
later figure, the difference and the percentage, with the subtraction
visible. Largest difference first.
Smaller. The same, for drops. A drop matters as much as a rise and is
noticed far less.
New. Line items present in the later period and absent in the earlier
one.
Stopped. Present earlier, absent later.

Then a line for what you could not compare: renamed line items,
currency changes, or a category that only exists on one side. Never
let one of those appear as New or Stopped without saying so.

Rules. Do not explain why anything changed. Do not call anything waste.
Currency is stated once, and mixed currencies are kept separate rather
than converted.

How to use it

This one is built to be scheduled. Scheduled tasks are time-based: they do not fire from an incoming email or a changed file.

Use when spend is spread across vendors and nobody notices a change until the quarter closes.

Vibe prepares and drafts. You verify and decide. Ask for a citation on every finding: a confident answer is not evidence.

What you get back

Ranked changes with both figures and the difference, new and stopped charges, and what could not be compared.

What it writes

Nothing. This one only answers.

From the source file in awesome-mistral-vibe-prompts, CC BY-SA 4.0. Not affiliated with, or endorsed by, Mistral AI.