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.
git clone --depth 1 https://github.com/peerjakobsen/smartspenderWrote 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.
[](https://agentmods.dev/commands/peerjakobsen/smartspender/overview)<a href="https://agentmods.dev/commands/peerjakobsen/smartspender/overview"><img src="https://agentmods.dev/badge/commands/peerjakobsen/smartspender/overview/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/peerjakobsen/smartspender/overview"><img src="https://agentmods.dev/badge/commands/peerjakobsen/smartspender/overview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00014 | $0.02793 |
| Opus 5.5 | $0.00006 | $0.01117 |
| Sonnet 5.5 | $0.00003 | $0.00559 |
| Haiku 4.5 | $0.00001 | $0.00279 |
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 1mo 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.
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
- Parse arguments. Determine if a
merchantargument is present. - Convert Danish month name to YYYY-MM format if needed (e.g., "januar" -> "2026-01" assuming current year)
- Determine mode:
- If
--detailedflag present: detailed mode - If trigger contains "rapport" or "report": detailed mode
- If end of month (day >= 26): detailed mode automatically
- If
merchantprovided: merchant breakdown mode - Otherwise: concise overview mode
- If
Standard Overview (no merchant, not detailed)
- If no
monthprovided, use the current month. - Read monthly-summary.csv, filtered to the target month
- If no data for the target month: "Ingen data for {month}. Koer /smartspender:analyze foerst."
- Read subscriptions.csv (filter to
status: active) - Calculate totals:
- Total spending (sum of all category totals, excluding Indkomst and Opsparing)
- Category percentages
- Subscription monthly total and annual total
- Format using the spending overview template from
skills/spending-analysis/SKILL.md - 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
- Present the formatted overview in Danish
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.
- 1mo ago First seen · 267 lines · 14 tokens per session scan A 20027e214fbb
overview is a command published in the GitHub repository peerjakobsen/smartspender (5 stars, last pushed 8mo ago), licensed MIT. It adds 14 tokens to every session and 2,793 once invoked, about $0.0001 per session on Opus 5.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.
Other commands, from other repositories
research
Professional equity research analysis with institutional-grade formatting.
better-auth:add-plugin
Add a better-auth plugin to an existing project. Configures server and client plugins with proper imports.
better-auth:setup
Interactive setup wizard for better-auth authentication. Guides through database, framework, OAuth providers, and plugin configuration.
cloudflare-r2:presigned-url
Generate presigned URLs for secure client-side uploads or downloads.
bun:migrate
Migrate existing Node.js/npm projects to Bun.
cloudflare-turnstile:setup
Interactive wizard for setting up Cloudflare Turnstile. Generates templates, configuration, and provides step-by-step guidance based on framework and environment.