add-account

add-account is a command for Claude Code from peerjakobsen/smartspender. It costs 14 tokens per session (2,379 once invoked), scanned A, original, MIT.

A guided command for adding a Danish bank account through Enable Banking and starting the first transaction sync.

In plain words
What is it for?
Use it to connect supported Danish banks, configure Enable Banking when needed, and begin importing transactions.
Why use it?
It helps set up bank access and initial data import without requiring you to know the provider's setup steps. Some commands must be run locally and their output pasted back.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to connect supported Danish banks, configure Enable Banking when needed, and begin importing transactions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/peerjakobsen/smartspender/add-account
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.

Clone the repo
git clone --depth 1 https://github.com/peerjakobsen/smartspender

Made for: Claude Code.

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 add-account

README.md
[![agentmods](https://agentmods.dev/badge/commands/peerjakobsen/smartspender/add-account.svg)](https://agentmods.dev/commands/peerjakobsen/smartspender/add-account)
Your own site
<a href="https://agentmods.dev/commands/peerjakobsen/smartspender/add-account"><img src="https://agentmods.dev/badge/commands/peerjakobsen/smartspender/add-account.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,379 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00014 $0.02379
Opus 5 $0.00007 $0.01189
Sonnet 5 $0.00003 $0.00476
Haiku 4.5 $0.00001 $0.00238

Measured 7d ago against content hash 2ad4fce0da14, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

add-account 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 7d 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/add-account.md · 181 lines

How it starts

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

/smartspender:add-account

Trigger

  • /smartspender:add-account [bank]
  • "Tilfoej en bankkonto"
  • "Set up my bank account"
  • "Add my bank account"

Arguments

Argument Required Values Default
bank no danske-bank, nordea, nykredit, jyske-bank, sydbank, etc. -

Supported banks via Enable Banking API: Nykredit, Danske Bank, Nordea, Jyske Bank, Sydbank, Spar Nord, Lunar, Arbejdernes Landsbank, and 50+ other Danish banks.

Prerequisites

  • Python 3 installed on user's local machine
  • Internet access

Vigtigt: Enable Banking API-kald koerer lokalt via eb-api.py — Cowork kan ikke koere dem direkte. Denne kommando guider brugeren til at koere terminale kommandoer og indsaette output.

Workflow

  1. Check if Enable Banking is configured by asking user to check for ~/.config/smartspender/eb-config.json:
    • Tell user: "Tjek om Enable Banking er konfigureret — koer dette i din terminal:" ls ~/.config/smartspender/eb-config.json
    • [USER ACTION]: User pastes output
  2. Parse the output:
    • If file exists: skip to step 18 (Enable Banking workflow)
    • If "No such file": proceed to First-Time Setup (step 3)

First-Time Setup (if Enable Banking not configured)

  1. Announce: "Enable Banking er ikke konfigureret endnu. Vi saetter det op foerst."
  2. Announce: "Denne guide opsaetter Enable Banking, saa du kan synkronisere transaktioner fra din bank via API."
  3. Tell user: "Tjek at Python 3 er installeret — koer dette i din terminal:" python3 --version
  4. If user reports Python 3 not found: "Python 3 er noedvendig. Installer fra python.org og proev igen."
Step 1: Create Enable Banking Account
  1. Announce: "Trin 1: Opret Enable Banking konto"
  2. Announce: "Aabn https://enablebanking.com i din browser. Opret en gratis konto — vaelg 'Restricted production', det er gratis til personligt brug. Sig til, naar du har oprettet kontoen."
  3. [USER ACTION]: User creates account and confirms

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

Subscribe to this mod's changes

add-account 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,379 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.