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.
npx agentmods add commands/peerjakobsen/smartspender/subscriptionsgit clone --depth 1 https://github.com/peerjakobsen/smartspenderWhat 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 | $0.00009 | $0.00611 |
| Opus 5 | $0.00005 | $0.00305 |
| Sonnet 5 | $0.00002 | $0.00122 |
| Haiku 4.5 | $0.00001 | $0.00061 |
Grade A, and why
subscriptions 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 2d 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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/smartspender:subscriptions
Trigger
/smartspender:subscriptions [filter]- "Vis mine abonnementer"
- "Hvilke abonnementer har jeg?"
- "Show my subscriptions"
Arguments
| Argument | Required | Values | Default |
|---|---|---|---|
| filter | no | active, cancelled, all | all |
Prerequisites
- Transactions analyzed (subscriptions.csv has data)
Workflow
- Read all rows from subscriptions.csv
- If no subscriptions found: "Ingen abonnementer fundet. Kør /smartspender:analyze først."
- Apply filter:
active: only show rows wherestatusisactivecancelled: only show rows wherestatusiscancelledall(default): show all rows
- Sort by
amountdescending (most expensive first) - Calculate totals:
- Monthly total: sum of
amountfor active subscriptions - Annual total: sum of
annual_costfor active subscriptions
- Monthly total: sum of
- Format as a Danish-language table
Output
## Dine abonnementer
### Aktive ({count})
| Tjeneste | Kategori | Månedlig | Årlig | Sidst set |
|----------|----------|----------|-------|-----------|
| Fitness World | Fitness | 299 kr | 3.588 kr | 1. jan 2026 |
| Spotify Family | Streaming | 179 kr | 2.148 kr | 1. jan 2026 |
| Netflix | Streaming | 149 kr | 1.788 kr | 1. jan 2026 |
| HBO Max | Streaming | 149 kr | 1.788 kr | 15. dec 2025 |
| Viaplay | Streaming | 99 kr | 1.188 kr | 1. dec 2025 |
| ... | ... | ... | ... | ... |
**Total**: {monthly_total} kr/måned ({annual_total} kr/år)
### Opsagte ({count})
| Tjeneste | Beløb | Opsagt |
|----------|-------|--------|
| ... | ... | ... |
If filter is active, only show the active section. If cancelled, only show the cancelled section.
Error Cases
| Error | Message |
|---|---|
| No subscriptions found | "Ingen abonnementer fundet. Kør /smartspender:analyze først." |
| No active subscriptions | "Ingen aktive abonnementer fundet." |
Side Effects
None — this is a read-only command.
Related Commands
/smartspender:analyze— Detect subscriptions from transactions/smartspender:cancel— Cancel a specific subscription/smartspender:overview— Full spending overview including subscriptions
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.
- 2d ago First seen · 75 lines · 9 tokens per session scan A ee8384ee06ae
subscriptions is a command published in the GitHub repository peerjakobsen/smartspender (5 stars, last pushed 7mo ago), licensed MIT. It adds 9 tokens to every session and 611 once invoked, about $0.0000 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.
Other commands, from other repositories
understand
Understand a bank or card export — categorize every transaction, summarize cash flow, and flag anomalies. The hero command.
clean
Turn messy or multi-format CSV exports into one clean, categorized, analysis-ready file.
money-setup
Set up money-map for your data — create the categories & rules file and confirm how your export's columns map.
reconcile
Reconcile two sets of records (e.g. bank vs books) and list every mismatch with the source rows.
report
Generate a shareable report (spending report / cash-flow summary) from an analyzed export.
imperium:metrics-dashboard
Build a startup metrics dashboard. Calculates SaaS metrics (MRR, ARR, CAC, LTV, churn, NRR), provides benchmarks, identifies health issues, and creates an investor-ready metrics report.