/finance-skills:variance-reportfrom finance-skills
Turns a budget-vs-actuals export into a written variance report: the largest variances by absolute value, their direction, and the driver behind each — only when the driver is actually stated in the input.
Ships in finance-skills. 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.
Turn a budget-vs-actuals export into a written variance narrative: the largest variances, their direction, and the driver behind each — only when the driver is actually in the data. Use this when you have a period's budget and actuals by line item and need the "why are we over/under" write-up, not a flash-report reformat.
This is not GL to Report. GL to Report starts from a raw, unmapped GL export and reformats it into your reporting template (the flash report), with variance commentary as one part of that larger reformatting job, and it requires a Rules block (mappings, threshold, layout) before it will run. This skill skips all of that: it expects a budget-vs-actuals table that is already in line-item form, and its only output is the variance narrative — no template, no reformatting.
Required, at minimum, one row per line item with:
Optional columns, used only when present:
File-level precondition, checked before any per-row logic runs: if a required column (label, budget, or actual) is missing from the header entirely, stop the run and name the missing column. Do not proceed to per-row exclusion in this case — a missing header is a file problem, not a row problem, and applying the per-row rule here would silently exclude every row and emit an empty report instead of stopping.
Per-row exclusion, applied only once the required columns are confirmed present in the header: if the label, budget, or actual value is missing or unparseable for a specific row, exclude that row from the analysis and list it under "Excluded rows" with the reason. Do not guess a missing figure from context, and do not drop the row silently.
Accepted numeric forms. A budget or actual value is parsed if it is, after trimming whitespace: a plain number (1000, 1000.50); a number with thousands separators (1,000, 1,000.50); a number with a leading currency symbol ($1,000, €1,000); a parenthesized number, treated as negative ((1,000) → -1000); or a number using a European decimal comma with period thousands separators (1.000,50 → 1000.50, resolved per cell — see "Numeric-format precedence" under Conventions below for exactly how ambiguous cells are resolved). A cell that is blank, n/a, N/A, -, or any other non-numeric text is excluded, not coerced — treat it exactly like a missing value under the per-row exclusion rule above, and name the original cell content in the "Excluded rows" reason. Never guess a numeric value for a form not on this list.
Duplicate line items. If the same label appears on two or more rows, treat each occurrence as a distinct row — never sum them and never silently keep only one. Rank them separately in the "largest variances" step like any other rows, and state explicitly in the output that the label is duplicated (e.g. "note: 'Travel' appears on 2 rows in the input, ranked separately").
If the file has no period column and no period is stated by the user, state that the period is unspecified and proceed — do not invent a period label.
|Actual| − |Budget|: a positive result means the actual magnitude of spend exceeded budget (over budget), a negative result means actual spend came in below budget (under budget). Example: Budget -1000, Actual -900 → |−900| − |−1000| = 900 − 1000 = −100 → under budget by $100, even though the raw Actual − Budget is +100 — the raw subtraction is not used for these rows because it inverts the direction.-1000, Actual +200): do not apply the magnitude-only formula (|Actual| − |Budget|), since it understates a materially different event — a swing from an expense to a credit (or vice versa), not an ordinary over/under-spend. Instead compute the dollar change as the raw signed subtraction Actual − Budget (which correctly captures the full magnitude of the swing across the sign change), and explicitly label the line as a sign flip, e.g. "budgeted and actual figures have opposite signs — treating this as a sign flip; verify this reflects the underlying transaction," rather than presenting it as an ordinary over/under-budget line. Example: Budget -1000, Actual +200 → 200 − (−1000) = 1200 → flagged as a sign flip with a $1,200 swing, not reported as "under budget by $800."Actual − Budget. A positive result means over budget, a negative result means under budget — same words, same polarity, just no magnitude step needed because the raw subtraction already points the right way.Actual − Budget is wrong.−100 / |−1000| × 100 = −10.0% → under budget by 10.0%. Percent variance is never computed from the raw, un-corrected Actual − Budget — that would reintroduce the same inversion.Actual − Budget, i.e. Actual) but state "percent variance undefined (zero budget)" rather than dividing by zero or omitting the line, and judge materiality for that line on the absolute-dollar threshold arm only (the percent-of-budget arm is undefined at zero and never applies). If Budget is negative and does not fit the negative-for-expense pattern above (e.g. a contra line with no expense reading), still compute Actual − Budget and state the direction in words; flag the line as having a negative budget so the reader knows the sign math is unusual.$ sign on some rows and a € sign on others within the same numeric column. Stop and report the ambiguity (rather than guessing) if any of the following holds: (a) an inline marker conflict exists in the numeric column, regardless of whether a units column is also present; (b) a units column is present but its own values are not internally consistent (e.g. it contains more than one distinct value across rows); (c) a units column is present and consistent but does not actually resolve an inline conflict still visible in the numeric column (e.g. the units column says "USD" while the numeric column still mixes $ and € markers). If no conflict is found by any of these checks, assume a single consistent unit for the file and state which one at the top of the output (e.g. "all figures in USD, whole dollars," or "all figures in USD thousands" if a units column or explicit note says so).1.234,56 (period thousands-separator, comma before exactly 2 trailing digits) is unambiguously European; 1,234.56 (comma thousands-separator, period before exactly 2 trailing digits) is unambiguously the standard US form; a bare comma-grouped integer with 3+ digits after the LAST comma-or-period separator (e.g. 12,345, 1,234,567) is unambiguously US (a European decimal fraction never has more than 2 digits after its final comma). Parse each such cell according to its own unambiguous shape, regardless of how other cells in the file are shaped, and never let one cell's shape override another cell's own already-unambiguous shape. A cell that is genuinely ambiguous on its own — bare 1,000-style, exactly one separator with exactly 3 digits after it, no decimal point elsewhere in the same cell — is resolved using file-wide evidence, but ONLY the "3+ digits after the last separator" evidence above counts as usable evidence (it has one unambiguous direction: US). Do NOT treat "a cell elsewhere containing both a period and a comma" as evidence on its own — that description matches both the US form (1,234.56) and the European form (1.234,56), so it asserts no direction and cannot resolve anything; if a mixed-punctuation cell doesn't already match one of the two unambiguous two-separator shapes above, it doesn't count as evidence at all, it's itself unparseable per the accepted-numeric-forms rule. Unambiguous cells never need this evidence step at all — a 12,345 and a 1.234,56 cell can coexist in the same file with no conflict, since each parses from its own shape. Evidence only matters when there is at least one genuinely ambiguous bare-comma cell that needs it: in that case, if the only usable evidence in the file (the "3+ digits after the last separator" rule) is present, apply it (always resolves to US, since that's its only direction); if no such evidence exists anywhere in the file, default the ambiguous cell(s) to the standard US reading, per the general "comma is always a thousands separator" fallback. There is no scenario in which usable evidence points to European, so a stop-and-ask is never needed for this rule — the only two outcomes for an ambiguous bare-comma cell are "US, backed by evidence" or "US, by default."Actual − Budget) per the "Variance formula, sign-corrected per row" rule above, or, if that row's convention can't be determined with confidence, stop and report the ambiguity for that row.driver: unknown — not stated in input and a one-line note that the size or direction of the variance alone is not treated as evidence of cause.Emit the report in this shape. Sections marked "even if empty" are never omitted — say "none" instead.
## Variance Report — [period from input, or "period unspecified"]
[One line stating the unit, e.g. "All figures in USD, whole dollars."]
[One line stating the sign convention read for each affected column, per the Conventions disclosure rule.]
[One line stating which materiality threshold(s) were applied — default, user-supplied, or disabled.]
### Top variances by absolute dollar variance
1. [Label] — [over/under] budget by $[X] ([Y.Y]%)
Budget: $[budget] | Actual: $[actual]
Driver: [closely paraphrased from the input's own note text] OR driver: unknown — not stated in input
[Any per-line flags: tie at this rank, duplicate label, sign flip, zero/negative budget, driver text generalized]
2. [Label] — ...
3. [Label] — ...
[More than 3 lines appear here when tied at the #3 cutoff; fewer when fewer than 3 lines are material.]
### Excluded rows (even if empty)
[Label or row reference — reason, naming the original cell content. First 20 rows, then a count of the rest.]
[If the 500-row analysis cap applied, the excluded-by-cap count goes here too.]
### Below threshold (even if empty)
[Count and total value of lines omitted as immaterial.]
### Summary
[Total lines reviewed, how many were material, and how many of the ranked lines had a driver stated in the input versus unknown. Plus any data-quality flags raised.]
This shape is a layout, not an override. Where a rule above calls for different wording on a line, the rule wins:
([Y.Y]%) figure.driver: unknown — not stated in input — never drop the line to silence, and never omit the variance itself just because the cause is missing.Input row: Software Subscriptions | 2026-06 | Budget 12000 | Actual 21400 | Note: added Snowflake enterprise tier mid-month per invoice #4471
Output line:
Software Subscriptions — over budget by $9,400 (78.3%)
Budget: $12,000 | Actual: $21,400
Driver: an enterprise-tier subscription was added mid-month, per invoice #4471 referenced in the export. (driver text generalized to remove a named vendor)
Note what the driver line does and does not carry. The named vendor from the input note is generalized out per the identifier rule in step 7, and the generalization is disclosed inline so a reader comparing against the source isn't misled into reading it as a direct quote. The invoice reference is kept — it's a traceability pointer back into the input, not a personal identifier.
Input row: Contract Labor | 2026-06 | Budget 15000 | Actual 26800 (no notes column, no reference)
Output line:
Contract Labor — over budget by $11,800 (78.7%)
Budget: $15,000 | Actual: $26,800
driver: unknown — not stated in input
The size and direction of this variance are not treated as evidence of cause. The export contains no note, memo, or reference field for this line. Confirm with the budget owner before this goes into a report.
Note that the second line still leads the report if it ranks first. A line is never demoted or dropped because its driver is missing.
Before finalizing the ranking, do a lightweight, instructional (not statistical) check for column mislabeling — e.g. Budget and Actual headers swapped, or an Actual column present but entirely blank. Only apply this check when at least 8 rows survive parsing (on smaller files, "every row shows the same direction" is trivially true and not a meaningful signal). Two cheap signals: every row shows the same direction (all over or all under budget) with no exceptions, or the "budget" column's values all look suspiciously like actuals (e.g. all unusually round numbers where the "actual" column has realistic cents/detail). If either pattern is present, flag suspected column mislabeling explicitly in the output rather than proceeding as if the data were confirmed correct — this is a flag for the reader to check, not a hard stop.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub skills-agents-co/skills-and-agents-library --plugin finance-skills7 skills in this plugin
/board-deckTurns a period's financials into the finance section of a board deck. It takes a P&L export, plus optional prior-period and plan figures, and drafts structured text: headline metrics, period-over-period movement, the narrative behind each move, and an always-present list of what it could not figure out from the input. Hand it a past board deck and it matches that deck's format, swapping in this period's numbers and commentary. It never invents a figure and never guesses at a cause it cannot trace back to the input. Text only, no slides, charts, or images.
/cancel-subscriptionsScans your Gmail for recurring charges, maps your active subscriptions, and cancels the ones you don't want/Other plugins' skills for the same job