- Home
- Skills
- Finance & Accounting
- Spend Spikes — Paste Daily Costs, Get Days Off the Usual
Spend Spikes — Paste Daily Costs, Get Days Off the Usual
Compare daily costs with a median and median absolute deviation threshold. Each report shows the exact multiplier used, row changes, and unreadable rows; dates remain labels and causes are not inferred.
$5
Works with the AI Agents you already use
Spend Spikes — Paste Daily Costs, Get Days Off the Usual
Example session with this skill installed
date,amount
2026-11-01,20
2026-11-02,21
2026-11-03,19
2026-11-04,22
2026-11-05,80
- Read your context and instructions
- Compiled the spend spikes
Spend Spikes Results
Outlier multiplier used: 3.00 × MAD
Formula: median = median(amount); MAD = median(abs(amount - median)); outlier when abs(amount - median) > multiplier × MAD
line | date | amount | median | abs deviation | threshold | deviation/MAD | previous change | outlier
2 | 2026-11-01 | 20.00 | 21.00 | 1.00 | 3.00 | 1.00x | n/a | no
3 | 2026-11-02 | 21.00 | 21.00 | 0.00 | 3.00 | 0.00x | 5.00% | no
4 | 2026-11-03 | 19.00 | 21.00 | 2.00 | 3.00 | 2.00x | -9.52% | no
5 | 2026-11-04 | 22.00 | 21.00 | 1.00 | 3.00 | 1.00x | 15.79% | no
6 | 2026-11-05 | 80.00 | 21.00 | 59.00 | 3.00 | 59.00x | 263.64% | yes
Unreadable rows: none
Previous change follows input row order.
No cause is inferred from the amounts.
Connects securely to your tools. The creator never sees your data.
About this skill
Paste daily costs as date and amount rows. Spend Spikes returns a median baseline, each day's absolute deviation and previous-row change, and the rows beyond a median absolute deviation (MAD) threshold. The report prints the exact multiplier used (default 3 × MAD) and the formula; malformed rows are listed with their line number.
When MAD is zero, the report marks the outlier judgment undetermined and lists non-zero deviations separately instead of calling rows normal. Dates must be valid YYYY-MM-DD; the tool never fills in a missing year or infers today's date.
How to use: run python3 scripts/spend_spikes.py examples/daily_costs.csv on a UTF-8 CSV or TSV with date and amount columns. Options: --multiplier (greater than 0 through 100), --format text|markdown|json|csv, --delimiter auto|comma|tab, --output PATH (writes a new file and refuses existing paths). Input is limited to 100,000 bytes and 2,000 data rows. Requires Python 3.9 or later; standard library only.
Limits: the threshold is one configurable choice, not a universal definition of an unusual day. The tool describes numeric differences only; it does not identify a cause, forecast costs, or recommend a budget. Currency symbols are removed without conversion.
Included: README, SKILL.md, the script, tests, and examples with the expected output.
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.
The threshold is one configurable choice, not a universal definition of an unusual day. The tool describes numeric differences only; it does not identify a cause, forecast costs, or recommend a budget. Currency symbols are removed without conversion. Input is limited to 100,000 bytes and 2,000 data rows.
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 8 days ago
- Software
Python 3.9+