Use when categorizing transactions or building the money-map categories & rules. Explains the taxonomy, how rules apply, and how to propose new rules from uncategorized items.
Scanned 8/31/2026
Install to Claude Code
npx -y skills add localplugins/plugins --skill categorization --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Categorization?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/localplugins-categorization)More formats (shields.io, HTML) on the badges page.
---
name: categorization
description: Use when categorizing transactions or building the money-map categories & rules. Explains the taxonomy, how rules apply, and how to propose new rules from uncategorized items.
---
# Categorization
money-map assigns each transaction a category using **rules** in `money/categories.json`, applied by the toolkit's `categorize(txns, rules)` — the **first matching rule wins**.
## The config
```json
{ "categories": ["Income", "Groceries", "..."],
"rules": [ { "match": "(?i)stripe", "category": "Software" } ] }
```
`match` is a Python regex tested with `re.search` against the transaction description; `category` must be one of `categories`.
## Decision guide
- **Always categorize via the toolkit** — never hand-label by eyeballing amounts.
- **Order rules most-specific → most-general.** First match wins, so a broad rule placed early will shadow a specific one.
- **Uncategorized transactions are surfaced, never guessed.** For each, propose one concrete new rule (a merchant substring → category) for the user to approve, then append it.
- **Keep categories few and stable.** Add a category only when several transactions genuinely need it.
- **Start from `templates/categories.json`** when no config exists.
## References
- **`references/rule-examples.md`** — a library of real merchant→category rules, how to write a regex `match` (anchoring, alternation, escaping `+`), ordering pitfalls with worked before/after cases, and how to turn an uncategorized batch into proposed rules.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!