subscriptions

A command for listing detected subscriptions with their monthly and yearly costs.

In plain words
What is it for?
It helps show active, cancelled, or all subscriptions from subscriptions.csv in a Danish-language table.
Why use it?
It makes recurring charges easier to review by sorting them by price and calculating the total cost of active subscriptions.

Command

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/subscriptions
Clone the repo
git clone --depth 1 https://github.com/peerjakobsen/smartspender
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 611 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.00009 $0.00611
Opus 5 $0.00005 $0.00305
Sonnet 5 $0.00002 $0.00122
Haiku 4.5 $0.00001 $0.00061

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

Security

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.

commands/subscriptions.md · 75 lines

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

  1. Read all rows from subscriptions.csv
  2. If no subscriptions found: "Ingen abonnementer fundet. Kør /smartspender:analyze først."
  3. Apply filter:
    • active: only show rows where status is active
    • cancelled: only show rows where status is cancelled
    • all (default): show all rows
  4. Sort by amount descending (most expensive first)
  5. Calculate totals:
    • Monthly total: sum of amount for active subscriptions
    • Annual total: sum of annual_cost for active subscriptions
  6. 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.

  • /smartspender:analyze — Detect subscriptions from transactions
  • /smartspender:cancel — Cancel a specific subscription
  • /smartspender:overview — Full spending overview including subscriptions

Read the full file on GitHub · 75 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. 2d ago First seen · 75 lines · 9 tokens per session scan A ee8384ee06ae

Subscribe to this mod's changes

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.