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/subscriptions)<a href="https://agentmods.dev/commands/peerjakobsen/smartspender/subscriptions"><img src="https://agentmods.dev/badge/commands/peerjakobsen/smartspender/subscriptions/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/subscriptions"><img src="https://agentmods.dev/badge/commands/peerjakobsen/smartspender/subscriptions.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.00009 | $0.00611 |
| Opus 5.5 | $0.00004 | $0.00244 |
| Sonnet 5.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 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 — 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.
- 1mo 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 8mo ago), licensed MIT. It adds 9 tokens to every session and 611 once invoked, about $0.0000 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.