categorize

Audit and correct transaction categorizations in the personaldb SQLite database.

Updated Oct 17, 2025
One-click install
npx skills add https://github.com/x85446/claudecodetricks --skill categorize
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: categorize
Source: https://github.com/x85446/claudecodetricks/tree/main/skills/categorize
Command: npx skills add https://github.com/x85446/claudecodetricks --skill categorize

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Maintain, audit, and fix categorizations in the personaldb SQLite database across personal and business datasets, ensuring consistency between human-readable category fields and their normalized IDs.

Core Features & Use Cases

  • Dual-Column Sync: Always update both textual columns (category, sub_category, sub_sub) and their corresponding tier1_id, tier2_id, tier3_id to keep denormalized and normalized data in sync.
  • Actionable Audits: Identify conflicts where items map to multiple categories, uncategorized transactions, and hierarchy mismatches; present guided recommendations for approval before applying changes.
  • Recover and Enforce Rules: Attempt #NAME? recovery from source mappings when possible and validate category assignments against company-specific rules before updates.

Quick Start

Run categorize to audit transactions, propose categorization improvements, and apply approved updates in bulk.

Frequently Asked Questions about categorize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit and fix transaction categorizations in a SQLite database?

Transaction categorization audits identify conflicts, uncategorized transactions, and hierarchy mismatches across personal and business datasets, then present guided recommendations for approval before applying bulk updates to the SQLite database.

Why do my category text fields and normalized IDs get out of sync during database updates?

Category text fields and normalized IDs get out of sync without dual-column synchronization, which enforces simultaneous updates to both human-readable category fields and their corresponding tier1_id, tier2_id, and tier3_id foreign keys.

Can I recover #NAME? errors in my transaction categorization data?

Yes, #NAME? errors in transaction categorization data can be recovered by attempting to remap them from their original source mappings and validating the assignments against company-specific rules before updating.

What is the best way to validate transaction categories against company-specific rules?

The best way to validate transaction categories against company-specific rules is to run an audit that checks existing assignments, enforces rule validation, and requires a database backup before applying any bulk category corrections.

Do I need to back up my SQLite database before fixing uncategorized transactions?

Yes, you must back up your SQLite database before fixing uncategorized transactions. A backup is explicitly required before applying any bulk categorization changes to ensure data can be restored if updates are incorrect.

Does this transaction auditing process work for both personal and business datasets?

Yes, this transaction auditing process works for both personal and business datasets across multiple companies, supporting categorization audits, hierarchy cleanups, and rule validation for varied financial data structures.