overview

overview is a command for coding agents from peerjakobsen/smartspender. It costs 14 tokens per session (2,793 once invoked), scanned A, original, MIT.

A command for viewing spending by month or merchant, with category totals and an optional detailed report.

In plain words
What is it for?
Use it to review a month’s spending, see what you spend at a particular merchant, compare categories, and get savings suggestions.
Why use it?
It turns transaction records into a clear view of where money goes, so you do not have to add up purchases yourself.

Command

Part of the smartspender plugin — 13 skills, 19 commands shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/peerjakobsen/smartspender/overview
Clone the repo
git clone --depth 1 https://github.com/peerjakobsen/smartspender

Or install smartspender, the plugin that ships this one along with the rest of its 13 skills, 19 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for overview

README.md
[![agentmods](https://agentmods.dev/badge/commands/peerjakobsen/smartspender/overview.svg)](https://agentmods.dev/commands/peerjakobsen/smartspender/overview)
Your own site
<a href="https://agentmods.dev/commands/peerjakobsen/smartspender/overview"><img src="https://agentmods.dev/badge/commands/peerjakobsen/smartspender/overview.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,793 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00014 $0.02793
Opus 5 $0.00007 $0.01396
Sonnet 5 $0.00003 $0.00559
Haiku 4.5 $0.00001 $0.00279

Measured 3d ago against content hash 20027e214fbb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

overview scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/overview.md · 267 lines

How it starts

The opening of the file, as written. The whole thing — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/smartspender:overview

Trigger

  • /smartspender:overview [month]
  • /smartspender:overview [month] --detailed
  • /smartspender:overview [merchant] [month]
  • /smartspender:report [month] — Alias for overview --detailed
  • "Vis mit forbrugsoverblik"
  • "Hvordan ser mit forbrug ud?"
  • "Show my spending overview"
  • "Lav en rapport for januar" — triggers detailed mode
  • "Maanedlig rapport" — triggers detailed mode
  • "Hvad bruger jeg hos {merchant}"
  • "Fortael mig hvad jeg bruger hos {merchant}"
  • "{merchant} forbrug"
  • "{merchant} breakdown"

Arguments

Argument Required Values Default
merchant no Merchant name (e.g., Bilka, Foetex, Netto) none
month no januar, februar, ..., 2026-01, etc. Current month (or all-time if merchant is set)
--detailed no flag false

Accepts Danish month names (januar, februar, marts, april, maj, juni, juli, august, september, oktober, november, december) or YYYY-MM format.

When merchant is provided, the command switches to receipt-level breakdown mode. The month argument becomes optional (defaults to all-time when used with merchant).

Prerequisites

  • Standard overview: Transactions analyzed (categorized.csv and monthly-summary.csv have data)
  • Merchant breakdown: At least one receipt in receipts.csv for the specified merchant

Workflow

  1. Parse arguments. Determine if a merchant argument is present.
  2. Convert Danish month name to YYYY-MM format if needed (e.g., "januar" -> "2026-01" assuming current year)
  3. Determine mode:
    • If --detailed flag present: detailed mode
    • If trigger contains "rapport" or "report": detailed mode
    • If end of month (day >= 26): detailed mode automatically
    • If merchant provided: merchant breakdown mode
    • Otherwise: concise overview mode

Standard Overview (no merchant, not detailed)

  1. If no month provided, use the current month.
  2. Read monthly-summary.csv, filtered to the target month
  3. If no data for the target month: "Ingen data for {month}. Koer /smartspender:analyze foerst."
  4. Read subscriptions.csv (filter to status: active)
  5. Calculate totals:
    • Total spending (sum of all category totals, excluding Indkomst and Opsparing)
    • Category percentages
    • Subscription monthly total and annual total
  6. Format using the spending overview template from skills/spending-analysis/SKILL.md
  7. Generate savings recommendations:
    • Check for duplicate streaming subscriptions
    • Check for subscriptions with no recent usage signals
    • Check for categories with significant month-over-month increases
  8. Present the formatted overview in Danish

Read the full file on GitHub · 267 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 267 lines · 14 tokens per session scan A 20027e214fbb

Subscribe to this mod's changes

overview is a command published in the GitHub repository peerjakobsen/smartspender (5 stars, last pushed 7mo ago), licensed MIT. It adds 14 tokens to every session and 2,793 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.