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 skills add peerjakobsen/smartspender --skill enable-banking-apigit 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/skills/peerjakobsen/smartspender/enable-banking-api)<a href="https://agentmods.dev/skills/peerjakobsen/smartspender/enable-banking-api"><img src="https://agentmods.dev/badge/skills/peerjakobsen/smartspender/enable-banking-api/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/skills/peerjakobsen/smartspender/enable-banking-api"><img src="https://agentmods.dev/badge/skills/peerjakobsen/smartspender/enable-banking-api.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.00025 | $0.02144 |
| Opus 5.5 | $0.00010 | $0.00858 |
| Sonnet 5.5 | $0.00005 | $0.00429 |
| Haiku 4.5 | $0.00003 | $0.00214 |
Grade A, and why
enable-banking-api 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 3mo 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 — 236 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Enable Banking API
Purpose
Provides domain knowledge about the Enable Banking Open Banking API — endpoints, authentication, session lifecycle, transaction structure, rate limits, and supported Danish banks. Reference this when orchestrating tools/eb-api.py for API-based transaction sync.
API Overview
Enable Banking provides PSD2-compliant access to bank account data across 2,500+ European banks. SmartSpender uses it as an alternative to browser automation for faster, more reliable transaction sync.
- API Base URL:
https://api.enablebanking.com - Authentication: JWT signed with RSA private key (PS256 algorithm)
- Data Format: JSON, ISO 20022 inspired field names
- Rate Limit: Max 4 account information requests per day per account (PSD2 regulation)
Authentication
JWT Structure
The eb-api.py helper handles JWT generation. Conceptually:
- Issuer:
enablebanking.com - Audience:
api.enablebanking.com - Algorithm: PS256 (RSA-PSS with SHA-256)
- Expiry: 1 hour from creation
- Payload: includes
app_idfrom config
Config File
Stored at ~/.config/smartspender/eb-config.json:
{
"app_id": "your-application-id",
"key_path": "~/.config/smartspender/private.pem"
}
Session Lifecycle
Consent Flow
- Initiate:
eb-api.py auth --bank <name>sends POST to/authwith ASPSP details and redirect URL (https://smartspender.mentilead.com/callback.html) - MitID: User authenticates in browser (auto-opened)
- HTTPS Relay: Bank redirects to
callback.htmlwhich forwardscodetohttp://localhost:19876/callback - Capture: Localhost listener on port 19876 catches the authorization code
- Session: Code exchanged for session_id via POST to
/sessions - Active: Session provides access to account data for 90-180 days
Session States
| State | Meaning | Action |
|---|---|---|
active |
Consent valid, API accessible | Proceed with sync |
expired |
Consent period ended | Re-run auth for new consent |
revoked |
Bank-side revocation | Re-run auth |
no_session |
No session file exists | Run setup + auth |
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.
- 3mo ago First seen · 236 lines · 25 tokens per session scan A 0a434ac4d7f9
enable-banking-api is a skill published in the GitHub repository peerjakobsen/smartspender (5 stars, last pushed 10mo ago), licensed MIT. It adds 25 tokens to every session and 2,144 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.
enable-banking-api compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| enable-banking-apipeerjakobsen/smartspender | Skill | 5 | 10mo ago | MIT | A | 25 | Claude Code |
| better-authsecondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 53 | Claude Code |
| cloudflare-durable-objectssecondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 43 | Claude Code |
| cloudflare-imagessecondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 104 | Claude Code |
| cloudflare-queuessecondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 78 | Claude Code |
| cloudflare-r2secondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 41 | Claude Code |
| hono-routingsecondsky/claude-skills | Skill | 257 | 2d ago | MIT | A | 41 | Claude Code |