用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/openaccountant/skills --skill smart-categorize命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | smart-categorize |
| description | Auto-categorize uncategorized transactions using vendor pattern matching. |
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.
categorize — apply pattern-based categorization rules to transactionstransaction_search — find uncategorized transactionstransaction_search to find all transactions where category is null or empty.categorize to apply existing categorization rules (pattern matching on description field).You can categorize transactions manually in a spreadsheet:
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:
=IFERROR(INDEX(Rules!B:B,MATCH("*"&"AMAZON"&"*",Rules!A:A,0)),"Uncategorized") — but this only works for exact matches.=SUMPRODUCT or VBA macro to do partial matching.=IFERROR(VLOOKUP("*"&A2&"*",Rules!A:B,2,FALSE),"Uncategorized") does not support wildcards in VLOOKUP.=IF(REGEXMATCH(A2,"(?i)amazon"),"Shopping",
IF(REGEXMATCH(A2,"(?i)whole foods|trader joe"),"Groceries",
IF(REGEXMATCH(A2,"(?i)shell|chevron|exxon"),"Transportation",
"Uncategorized")))
| 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 |
categorization_rules table so they persist across sessions and apply to future imports automatically.