categorization

categorization is a skill for Claude Code, Codex from peerjakobsen/smartspender. It costs 23 tokens per session (3,475 once invoked), scanned A, original, MIT.

A rule set for recognising Danish merchants and assigning transactions to spending categories such as housing, groceries, transport, subscriptions, and income.

In plain words
What is it for?
Use it when classifying transactions, matching merchant names, and placing purchases into categories and subcategories.
Why use it?
It gives raw bank descriptions a consistent meaning, making spending totals easier to understand.

Skill for Claude CodeCodex

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

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 skills/peerjakobsen/smartspender/categorization
Any agent
npx skills add peerjakobsen/smartspender --skill categorization
Clone the repo
git clone --depth 1 https://github.com/peerjakobsen/smartspender

Made for: Claude Code, Codex.

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 categorization

README.md
[![agentmods](https://agentmods.dev/badge/skills/peerjakobsen/smartspender/categorization.svg)](https://agentmods.dev/skills/peerjakobsen/smartspender/categorization)
Your own site
<a href="https://agentmods.dev/skills/peerjakobsen/smartspender/categorization"><img src="https://agentmods.dev/badge/skills/peerjakobsen/smartspender/categorization.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,475 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.00023 $0.03475
Opus 5 $0.00012 $0.01737
Sonnet 5 $0.00005 $0.00695
Haiku 4.5 $0.00002 $0.00347

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

Security

Grade A, and why

categorization 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 3d 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.

skills/categorization/SKILL.md · 283 lines

How it starts

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

Categorization

Purpose

Provides Claude with Danish merchant knowledge and categorization rules for classifying bank transactions into spending categories.

Categories

15 Danish spending categories with subcategories:

Category Subcategories Description
Bolig Husleje, El, Vand, Varme, Forsikring Housing costs
Dagligvarer Supermarked, Specialbutik Groceries
Transport Offentlig, Bil, Taxi, Cykel Transportation
Abonnementer Streaming, Fitness, Software, Telefon Subscriptions
Restauranter Restaurant, Café, Takeaway Dining out
Shopping Tøj, Elektronik, Bolig, Andet Shopping
Sundhed Apotek, Læge, Tandlæge Health
Underholdning Biograf, Koncert, Spil Entertainment
Rejser Fly, Hotel, Ferie Travel
Børn Daginstitution, Tøj, Legetøj Children
Personlig pleje Frisør, Kosmetik Personal care
Uddannelse Kurser, Bøger, Materialer Education
Opsparing Overførsler til opsparing Savings transfers
Indkomst Løn, Refusion Income
Andet Ukategoriseret Other / fallback

Merchant Pattern Database

Map raw transaction text patterns to normalized merchant names and categories. Patterns use * as wildcard.

Dagligvarer (Groceries)

Pattern Merchant Subcategory
*NETTO* Netto Supermarked
*FØTEX* or *FOETEX* Føtex Supermarked
*REMA*1000* or *REMA1000* Rema 1000 Supermarked
*IRMA* Irma Supermarked
*LIDL* Lidl Supermarked
*ALDI* Aldi Supermarked
*BILKA* Bilka Supermarked
*MENY* Meny Supermarked
*SPAR* Spar Supermarked
*FAKTA* Fakta Supermarked
*COOP* Coop Supermarked
*DAGLIG*BRUGSEN* or *DAGLI*BRUGSEN* Dagli'Brugsen Supermarked
*SUPER*BRUGSEN* SuperBrugsen Supermarked
*KVICKLY* Kvickly Supermarked

Transport

Pattern Merchant Subcategory
*DSB* DSB Offentlig
*REJSEKORT* Rejsekort Offentlig
*MOVIA* Movia Offentlig
*Q8* Q8 Bil
*CIRCLE*K* Circle K Bil
*SHELL* Shell Bil
*OK BENZIN* or *OK PLUS* OK Bil
*UBER* Uber Taxi
*TAXA* or *DANTAXI* Taxa Taxi
*DONKEY*REPUBLIC* Donkey Republic Cykel

Read the full file on GitHub · 283 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. 3d ago First seen · 283 lines · 23 tokens per session scan A 37f52cac0989

Subscribe to this mod's changes

categorization is a skill published in the GitHub repository peerjakobsen/smartspender (5 stars, last pushed 7mo ago), licensed MIT. It adds 23 tokens to every session and 3,475 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.

Related

Other skills, from other repositories

dummy-dataset

Generate realistic dummy datasets for testing with customizable columns, constraints, and output formats (CSV, JSON, SQL, Python script). Use when creating test data, building mock datasets, or generating sample data for development and demos.

phuryn/pm-skills · 48 tokens

strategy-red-team

Red-team a PRD, roadmap, or strategy by attacking its load-bearing assumptions before reality does. Steelmans then attacks each claim, ranks failure modes by impact × likelihood × cheapness-to-test, and returns the cheapest test and kill criteria for each. Use when stress-testing a plan, pressure-testing a strategy…

phuryn/pm-skills · 78 tokens

retro

Facilitate a structured sprint retrospective — what went well, what didn't, and prioritized action items with owners and deadlines. Use when running a retrospective, reflecting on a sprint, creating action items from team feedback, or learning how to run effective retros.

phuryn/pm-skills · 52 tokens

release-notes

Generate user-facing release notes from tickets, PRDs, or changelogs. Creates clear, engaging summaries organized by category (new features, improvements, fixes). Use when writing release notes, creating changelogs, announcing product updates, or summarizing what shipped.

phuryn/pm-skills · 57 tokens

setup-timescaledb-hypertables

Use this skill when creating database schemas or tables for Timescale, TimescaleDB, TigerData, or Tiger Cloud, especially for time-series, IoT, metrics, events, or log data. Use this to improve the performance of any insert-heavy table. Trigger when user asks to: Create or design SQL schemas/tables AND…

timescale/pg-aiguide · 219 tokens

competitive-battlecard

Create sales-ready competitive battlecards comparing your product against a specific competitor — positioning, feature comparison, objection handling, and win/loss patterns. Use when preparing sales teams, creating competitive materials, or responding to 'why not competitor X?'.

phuryn/pm-skills · 52 tokens