mcpbeat Sign in

Smart Categorize Agent Skill

> Auto-categorize uncategorized transactions using vendor pattern matching.

820 tokens
context cost
SKILL.md, read when the skill is used
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
101
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/openaccountant/skills --skill smart-categorize

The instruction itself

8 sections, as written by the author

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

  • Use transaction_search to find all transactions where category is null or empty.
  • Run categorize to apply existing categorization rules (pattern matching on description field).
  • Report how many transactions were categorized by existing rules.
  • For remaining uncategorized transactions, group by vendor/description similarity.
  • Suggest category assignments for each vendor group (e.g., "SPOTIFY" -> Entertainment, "SHELL OIL" -> Transportation).
  • Ask the user to confirm or adjust the suggested categories.
  • 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

  • Create a reference sheet called "Rules" with two columns: Pattern and Category.
  • Add your vendor patterns:

| Pattern | Category |

|---------|----------|

| AMAZON | Shopping |

| WHOLE FOODS | Groceries |

| SHELL | Transportation |

| NETFLIX | Entertainment |

| STARBUCKS | Dining |

  • 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 Pattern | Suggested Category |

|---|---|

| AMAZON, TARGET, WALMART | Shopping |

| WHOLE FOODS, TRADER JOE, KROGER, SAFEWAY | Groceries |

| UBER EATS, DOORDASH, GRUBHUB | Dining |

| NETFLIX, SPOTIFY, HULU, DISNEY+ | Entertainment |

| SHELL, CHEVRON, BP, EXXON | Transportation |

| AT&T, VERIZON, T-MOBILE, COMCAST | Utilities |

| CVS, WALGREENS, PHARMACY | Healthcare |

| 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.

Other skills for the same job

different authors, same section of the catalogue
Executing Plans
by ZhanlinCui
×5

Use when you have a written implementation plan to execute in a separate session with review checkpoints

542 tokens
Protocolsio Integration
by christophacham
×4

Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.

3.9k tokens
Tailored Resume Generator
by frostant
×4

Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances

3.1k tokens
Excalidraw Diagram Generator
by github
vendor ×3

Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

5.9k tokens scripts
Expo Dev Client
by openai
vendor ×3

Build and distribute Expo development clients locally or via TestFlight

878 tokens
Anndata
by christophacham
×3

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

2.8k tokens
Benchling Integration
by christophacham
×3

Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.

3.5k tokens
Biopython
by christophacham
×3

Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.

3.7k tokens

How to use it

Copy the folder

Take openaccountant/smart-categorize from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.