ワンクリックで
csv-rule-reviewer
Analyze a CSV before import and suggest categorization rules for unmatched transactions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyze a CSV before import and suggest categorization rules for unmatched transactions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | csv-rule-reviewer |
| description | Analyze a CSV before import and suggest categorization rules for unmatched transactions |
Analyze a bank CSV file before importing and suggest nigel rules add commands for transactions that would otherwise be flagged as uncategorized.
The user provides a bank CSV file path. They may also specify the importer format or account name.
Read the provided file and identify:
Run nigel rules list to get current rules, or read the rules from the database directly:
nigel rules list
Note the pattern, match type, category, and vendor for each rule.
For each unique description from the CSV:
contains — description contains the pattern (case-insensitive)starts_with — description starts with the pattern (case-insensitive)regex — description matches the regex patternCluster unmatched descriptions by common substrings:
Query the database for valid category names:
sqlite3 ~/Documents/nigel/nigel.db "SELECT name, category_type, description FROM categories WHERE is_active = 1 ORDER BY category_type, name"
Use the settings data dir if it differs from the default.
For each cluster of unmatched descriptions, suggest a nigel rules add command:
contains for most patterns, starts_with if the pattern is a prefixFormat each suggestion as a ready-to-run command:
nigel rules add "PATTERN" --category "Category Name" --vendor "Vendor Name" --match-type contains
Present a summary:
The user can copy/paste commands directly or approve them interactively.