Tidy

From davepoon/buildwithclaude · View interactive version

Tidy is an AI agent skill from the GitHub repository davepoon/buildwithclaude. Triggered by "tidy up", "clean up transactions", "categorize uncategorized", "organize my transactions

How to use this skill

Skill file

Tidy Up Uncategorized Transactions

Batch-categorize uncategorized transactions by clustering similar ones and applying categories in bulk.

Workflow

  1. Fetch uncategorized transactions. Call the query MCP tool:

```json

{ "detail": true, "is_uncategorized": true, "period": "last_90d", "limit": 200, "sort": "-amount" }

```

If $ARGUMENTS contains a time period (e.g. "this month", "last 30 days"), use that instead of last_90d.

  1. Research unknown transactions. For transactions you can't identify from the description alone:
  1. Cluster by pattern. Group the results by normalized description or party name. For each cluster, note the count and total amount.
  1. Suggest categorization. For each cluster, propose:
  1. Present to the user. Show a table or list of clusters with:

Ask the user to approve, modify, or skip each cluster.

  1. Prefer rules over one-off annotations. If a cluster has more than one transaction, or the merchant is likely to appear again (subscriptions, regular stores, utilities, etc.), create a rule rather than annotating individual transactions. Rules automatically categorize future transactions too.
  1. Annotate the rest. For truly one-off transactions where a rule wouldn't help, apply directly:

```json

{ "action": "categorize", "filter": { "search": "<pattern>" }, "category_name": "<approved_category>" }

```

Also set the party if one was approved:

```json

{ "action": "set_party", "filter": { "search": "<pattern>" }, "party_name": "<approved_party>" }

```

  1. Summarize. Report how many transactions were categorized, how many rules were created, and how many uncategorized transactions remain.

Tone

Stick to the facts. Present findings and suggestions without judgement — no commentary on spending habits. Just clear, plain-language observations and actionable options.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.