- Home
- Skills
- Finance & Accounting
- Budget Variance — Paste Budget and Actuals, Get Gap per Line
Budget Variance — Paste Budget and Actuals, Get Gap per Line
Paste one item, budget and actual amount per row; get the actual-minus-budget gap, the gap percentage, and totals when the currency markers are compatible. No good or bad judgment is attached to a gap.
$5
Works with the AI Agents you already use
Budget Variance — Paste Budget and Actuals, Get Gap per Line
Example session with this skill installed
python3 scripts/budget_variance.py examples/budget.csv
- Read your context and instructions
- Compiled the budget variance
A positive gap has opposite implications for expense and revenue lines; this report assigns no good or bad judgment.
Formula: gap = actual − budget; gap % = gap ÷ budget × 100.
A zero budget has no gap percentage; it is shown as -- with the reason.
row | item | budget | actual | gap | gap % | status / note
1 | Office supplies | $1000 | $1120 | $120 | 12.00% | ok
2 | Course revenue | €500 | €650 | €150 | 30.00% | ok
Totals omitted: currency markers are mixed or include marked and unmarked rows.
Connects securely to your tools. The creator never sees your data.
About this skill
Paste one item, budget, and actual amount per row, and get the actual-minus-budget gap, the gap percentage, and aggregate totals when currency markers are compatible. A positive or negative gap can have opposite implications for expense and revenue lines, so the report assigns no good or bad judgment and adds no advice.
Input
CSV or TSV, one budget item per row. Required columns: item, budget, actual (any order; unknown or duplicate headers are errors). Currency markers ($, ¥, €, £, US$, USD, JPY, EUR, GBP) are preserved per amount row; budget and actual on a row must use the same marker. Amounts are read exactly with Decimal, including 1,234.56 grouped values; (250), ($250), −250 and -$250 are read as negative. Values such as 12%, 12kg and malformed grouping are marked unreadable, and a blank amount is marked missing; neither is ever converted to zero. Input may be UTF-8 or UTF-16, up to 100,000 bytes and 2,000 data rows.
Calculations
- Gap = actual − budget.
- Gap % = gap ÷ budget × 100, shown to two decimal places (half up); with a zero budget the percentage is -- with a reason.
- Totals use readable rows only and appear only when all readable amounts share the same currency marker state; mixed currencies, or marked and unmarked values, suppress totals but keep row results.
- The aggregate percentage is total gap ÷ total budget, not the mean of line percentages.
Run it
python3 scripts/budget_variance.py examples/budget.csv (also --format markdown, json, csv). Requires Python 3.9+ and the standard library only. Tests: python3 -m unittest discover tests.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Finance & Accounting.
No good or bad judgment: a positive gap has opposite implications for expense and revenue lines. Totals are omitted when currency markers are mixed or marked and unmarked rows are combined. Blank, percentage, unit-suffixed and malformed amounts are marked missing or unreadable, never zero. Input limited to 100,000 bytes and 2,000 data rows; UTF-8 or UTF-16.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python 3.9+