Smart Categorize logo

Smart Categorize

Organization
openaccountant
smart-categorize

Auto-categorize uncategorized transactions using vendor pattern matching.

Overview

Publisheropenaccountant
Repositoryskills
Skill namesmart-categorize
Stars
106
Forks
18
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by openaccountant on GitHub. Read the source before you install it.

Installation

Install the Smart Categorize AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/openaccountant/skills/tree/main/shared/smart-categorize
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/openaccountant/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/shared/smart-categorize .claude/skills/smart-categorize
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Smart Categorize in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Smart Categorize on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Smart Categorize is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Smart Categorize

Overview

Automatically categorize uncategorized transactions by matching vendor/description patterns against known rules. Uses existing categorization rules first, then suggests new rules for unmatched transactions based on common vendor names.

Wilson Tools Used

  • categorize — apply pattern-based categorization rules to transactions
  • transaction_search — find uncategorized transactions

Workflow

  1. Use transaction_search to find all transactions where category is null or empty.
  2. Run categorize to apply existing categorization rules (pattern matching on description field).
  3. Report how many transactions were categorized by existing rules.
  4. For remaining uncategorized transactions, group by vendor/description similarity.
  5. Suggest category assignments for each vendor group (e.g., "SPOTIFY" -> Entertainment, "SHELL OIL" -> Transportation).
  6. Ask the user to confirm or adjust the suggested categories.
  7. Apply confirmed categories and optionally save new categorization rules for future imports.

Without Wilson

You can categorize transactions manually in a spreadsheet:

Setting Up Category Rules in Excel/Sheets

  1. Create a reference sheet called "Rules" with two columns: Pattern and Category.

  2. Add your vendor patterns:

    PatternCategory
    AMAZONShopping
    WHOLE FOODSGroceries
    SHELLTransportation
    NETFLIXEntertainment
    STARBUCKSDining
  3. In your transactions sheet, use a lookup formula in the Category column:

    • Excel: =IFERROR(INDEX(Rules!B:B,MATCH("*"&"AMAZON"&"*",Rules!A:A,0)),"Uncategorized") — but this only works for exact matches.
    • Better approach with Excel: Use a helper column with =SUMPRODUCT or VBA macro to do partial matching.
    • Google Sheets: =IFERROR(VLOOKUP("*"&A2&"*",Rules!A:B,2,FALSE),"Uncategorized") does not support wildcards in VLOOKUP.
    • Practical Google Sheets approach:
      =IF(REGEXMATCH(A2,"(?i)amazon"),"Shopping",
       IF(REGEXMATCH(A2,"(?i)whole foods|trader joe"),"Groceries",
       IF(REGEXMATCH(A2,"(?i)shell|chevron|exxon"),"Transportation",
       "Uncategorized")))

Common Category Mapping

Vendor PatternSuggested Category
AMAZON, TARGET, WALMARTShopping
WHOLE FOODS, TRADER JOE, KROGER, SAFEWAYGroceries
UBER EATS, DOORDASH, GRUBHUBDining
NETFLIX, SPOTIFY, HULU, DISNEY+Entertainment
SHELL, CHEVRON, BP, EXXONTransportation
AT&T, VERIZON, T-MOBILE, COMCASTUtilities
CVS, WALGREENS, PHARMACYHealthcare
VENMO, ZELLE, PAYPAL (person-to-person)Transfers

Important Notes

  • Pattern matching is case-insensitive and matches against any part of the transaction description.
  • Rules are applied in the order they were created. If a transaction matches multiple rules, the first match wins.
  • Categorization does not overwrite transactions that already have a category unless you explicitly ask.
  • Wilson stores rules in the categorization_rules table so they persist across sessions and apply to future imports automatically.

Frequently asked questions

What does the Smart Categorize AI skill do?

Auto-categorize uncategorized transactions using vendor pattern matching.

Why use Smart Categorize on TypingMind?

Because you install it once and use it with any model. Smart Categorize is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Smart Categorize in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/openaccountant/skills/tree/main/shared/smart-categorize. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Smart Categorize?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Smart Categorize?

As many as you like. As long as a model supports skills, you can use Smart Categorize with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Smart Categorize AI skill free?

Yes. It is published on GitHub by openaccountant under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇