Finance variance analysis

From frumu-ai/tandem · View interactive version

Finance variance analysis is an AI agent skill from the GitHub repository frumu-ai/tandem. Decompose variances into drivers with narrative explanations and waterfall analysis

How to use this skill

Skill file

Variance / Flux Analysis

If you see unfamiliar placeholders or need to check which tools are connected, please ask about available integrations.

Important: This skill assists with variance analysis workflows but does not provide financial advice. All analyses should be reviewed by qualified financial professionals before use in reporting.

Decompose variances into underlying drivers, provide narrative explanations for significant variances, and generate waterfall analysis.

Usage

You can ask to analyze variances for a specific area (e.g., "Analyze revenue variance for Q4" or "Explain the flux in OPEX").

Arguments

Workflow

1. Gather Data

If an ERP or data warehouse is connected:

If no data source is connected:

Connect an ERP or data warehouse to pull financial data automatically. To analyze manually, provide:

1. Actual data for both comparison periods (at account or line-item detail)

2. Budget/forecast data (if comparing to plan)

3. Any operational metrics that drive the financial results (headcount, volumes, pricing, etc.)

2. Calculate Top-Level Variance

VARIANCE SUMMARY: [Area] — [Period 1] vs [Period 2]

                              Period 1   Period 2   Variance ($)   Variance (%)
                              --------   --------   ------------   ------------
Total [Area]                  $XX,XXX    $XX,XXX    $X,XXX         X.X%

3. Decompose Variance by Driver

Break down the total variance into constituent drivers. Use the appropriate decomposition method for the area:

Revenue Decomposition:

Operating Expense Decomposition:

CapEx Decomposition:

Headcount Decomposition:

4. Waterfall Analysis

Generate a text-based waterfall showing how each driver contributes to the total variance:

WATERFALL: [Area] — [Period 1] vs [Period 2]

[Period 2 Base]                           $XX,XXX
  |
  |--[+] [Driver 1 description]          +$X,XXX
  |--[+] [Driver 2 description]          +$X,XXX
  |--[-] [Driver 3 description]          -$X,XXX
  |--[+] [Driver 4 description]          +$X,XXX
  |--[-] [Driver 5 description]          -$X,XXX
  |
[Period 1 Actual]                         $XX,XXX

Variance Reconciliation:
  Driver 1:    +$X,XXX  (XX% of total variance)
  Driver 2:    +$X,XXX  (XX% of total variance)
  Driver 3:    -$X,XXX  (XX% of total variance)
  Driver 4:    +$X,XXX  (XX% of total variance)
  Driver 5:    -$X,XXX  (XX% of total variance)
  Unexplained: $X,XXX   (XX% of total variance)
               --------
  Total:       $X,XXX   (100%)

5. Narrative Explanations

For each significant driver, generate a narrative explanation:

[Driver name] — [Favorable/Unfavorable] variance of $X,XXX (X.X%)

[2-3 sentence explanation of what caused this variance, referencing specific operational factors, business events, or decisions. Include quantification where possible.]

_Outlook:_ [Whether this is expected to continue, reverse, or change in future periods]

6. Identify Unexplained Variances

If the decomposition does not fully explain the total variance, flag the residual:

Unexplained variance: $X,XXX (X.X% of total)

Possible causes to investigate:

- [Suggested area 1]

- [Suggested area 2]

- [Suggested area 3]

Ask the user for additional context on unexplained variances:

7. Output

Provide:

  1. Top-level variance summary
  2. Detailed variance decomposition by driver
  3. Waterfall analysis (text format, or suggest chart if spreadsheet tool is connected)
  4. Narrative explanations for each significant driver
  5. Unexplained variance flag with investigation suggestions
  6. Trend context (is this variance new, growing, or consistent with recent periods?)
  7. Suggested actions or follow-ups
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.