원클릭으로
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.