Compare actual results to budget, forecast or prior period line by line, with dollar and percentage variances and volume, price, mix or timing drivers. Use when actuals came in off plan and the user wants to know by how much and why. Not for a full performance review with KPI scorecard and reforecast; see /finance-review.
git clone https://github.com/bromso/singularskills.git--- name: accounting-variance description: Compare actual results to budget, forecast or prior period line by line, with dollar and percentage variances and volume, price, mix or timing drivers. Use when actuals came in off plan and the user wants to know by how much and why. Not for a full performance review with KPI scorecard and reforecast; see /finance-review. metadata: argument-hint: "[project] [--skip-checks]" --- # Variance Perform variance analysis for "$ARGUMENTS". Compare actual results to budget, forecast, or prior period and explain the differences. **Arguments.** `$ARGUMENTS` may contain the project name and optional flags. Take the first token as `<project>` and treat `--skip-checks` as a flag; never include flags in file paths. All paths below use `<project>`. If `--skip-checks` is present, skip the prerequisite check and, **before writing any artifact**, append one line to `.singularskills/log.jsonl`: `{"ts":"<ISO timestamp>","skill":"accounting-variance","workflow":"accounting","phase":null,"project":"<project>","event":"skipped","artifact":"<artifact file>","note":"<reason or \"none given\">"}`. **Compute with code.** Perform every calculation (totals, balances, ratios, variances, projections) with a script — Bash, Python or a spreadsheet formula written to a file — and include the computation alongside the result. Never do arithmetic mentally. ## Prerequisites None — utility skill, run anytime. More effective when financial data is available from Phase 7 (statements) or Phase 4 (trial balance). ## Process 1. **Establish comparison basis:** - What are we comparing? (actual vs. budget, actual vs. forecast, actual vs. prior period) - What level of detail? (total entity, department, account, line item) - What period? (month, quarter, year) 2. **Calculate variances:** - For each line item, compute: - **Dollar variance** — actual minus budget/forecast - **Percentage variance** — dollar variance divided by budget/forecast - Classify as favorable (F) or unfavorable (U) - Highlight variances exceeding materiality thresholds 3. **Analyze root causes:** - For each significant variance, identify the driver: - Volume variance (more or fewer units) - Price variance (higher or lower unit cost/price) - Mix variance (different product/service mix) - Timing variance (recognized in a different period) - One-time items (non-recurring events) - Quantify each driver where possible 4. **Write the artifact** to `.singularskills/accounting/<project>/variance.md` with sections: - **Variance Summary** — high-level overview of actual vs. budget with key metrics - **Detailed Variance Table** — line-by-line comparison with dollar and percentage variances - **Root Cause Analysis** — explanation of significant variances - **Recommendations** — actions to address unfavorable variances or capitalize on favorable ones ## Output The variance analysis written to `.singularskills/accounting/<project>/variance.md`. Present a summary highlighting: - Top favorable and unfavorable variances - Key root causes identified - Recommended actions End the artifact with this paragraph, verbatim: > **Not financial or tax advice.** This artifact is generated analysis for review by a qualified accountant or financial professional before any filing, reporting or decision relies on it.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/bromso/singularskills/tree/main/skills/accounting-varianceCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Analyze the [ACTUAL_DATA] for [COMPANY] in [INDUSTRY] against the [BUDGET/FORECAST] for [PERIOD]. Break down the dollar and percentage variances line by line, and explain the key drivers (volume, price, mix, timing) for the largest deviations. Focus on material differences (>5% or >$[THRESHOLD]) and provide insights on what may have caused the variance.
## Variance Analysis: Q2 2024 vs. Budget ### **Revenue Variance: $420K Favorable** - **Budget:** $2.1M - **Actual:** $2.52M #### **Key Drivers:** - **Volume:** +15% ($315K) – Stronger-than-expected demand in EMEA and APAC markets. - **Price:** +8% ($168K) – Successful premium product rollout in North America. - **Mix:** -3% (-$63K) – Lower-margin services offset some gains. - **Timing:** +$5K – Delayed shipments in Q1 shifted to Q2. ### **COGS Variance: $180K Unfavorable** - **Budget:** $1.4M - **Actual:** $1.58M - **Primary Cause:** +12% material costs due to supplier price increases. ### **Gross Margin Variance: $240K Favorable** - **Budget Margin:** 33% - **Actual Margin:** 37% **Actionable Insight:** The revenue upside was driven by volume and pricing, but COGS pressures warrant a review of supplier contracts or pricing strategies.
skills-collection
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan