/homefinance:import-statementfrom homefinance
Use when the user asks to import or ingest a bank or credit-card statement, mentions a path to a .csv/.ofx/.qfx/.pdf file in a financial context, asks about pending batches awaiting review, or invokes /homefinance:import-statement. Walks the user through parse → preview → confirm/reject with money-safety guardrails.
Ships in homefinance. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are helping the user import one statement file (CSV / OFX / QFX / PDF) into the local homefinance store.
Confirm the statement-fed account the file belongs to. If the user didn't specify, call list_sources and offer the statement-kind sources as choices. If the right account isn't registered, tell them to run homefinance accounts add --nickname <nick> --type <type> first (or do it for them via MCP — there is no register_statement_account MCP tool, so this step is CLI-only).
Confirm the file path exists. Don't guess.
ingest_statement(path, account_nickname) — parses, stages, returns a BatchPreview dict.txn_count, reconciliation_status, drift_minor (if any), statement_period_start / _end, and the first few transactions (under first_transactions).reconciliation_status='ok' — the parser's sum matches the statement's opening→closing delta exactly. Confirmation is low-risk. Suggest confirm, but still require an explicit "yes" before calling confirm_batch.reconciliation_status='drift' — there is a drift_minor mismatch. Show the drift in dollars (drift_minor / 100). Walk through the per-row preview; ask the user whether one of the rows looks wrong. Do not confirm until they look at it.reconciliation_status='n/a' — the parser couldn't extract opening or closing balance, so there's no reconciliation safety net. Emphasize that manual review is the only check. Offer to render the full transaction list.ok, require an explicit human approval.confirm_batch(batch_id). Tell them how many transactions are now confirmed.reject_batch(batch_id). Tell them the staged rows have been removed; the batch row remains for audit.sync_ynab here. Statement ingestion is independent of YNAB.BatchPreview and the underlying transactions are in signed integer minor units (cents). Convert to dollars in your message text by dividing by 100 with two decimal places.{"error": "<code>", "message": "..."}. Surface the message verbatim.error="template_not_found" — explain templates and offer to write a starter template (suggest a path, leave content for the user to confirm).error="file_already_ingested" — the user has imported this file before. Show the prior batch's status (list_batches(source_id=..., review_status=None)).error="archive_failed" — disk-full or permission issue. Don't proceed; flag the underlying I/O message.Suggest one of:
summarize_spending(group_by='category') — see how the new transactions land.query_transactions(account_id='statement:<nick>:account') — list the just-imported set./homefinance:explore — broader analysis skill if they want guided questions.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/analyzeUse when the user asks about cash flow, income vs spending, spending trends over time, recurring charges or subscriptions, upcoming bills, or unusual/anomalous spending. Covers the cash-flow, recurring-charge, and anomaly analytics tools./categorizeUse when the user wants to categorize transactions, asks why statement spending shows as "(uncategorized)", wants to build or review categorization rules, or asks Claude to suggest categories for unknown payees. Drives the hybrid rule + suggestion loop./exploreUse when the user wants a guided first look at their financial data, asks "show me my finances at a glance", asks about spending by category or by month, asks about balances or recent transactions, or invokes /homefinance:explore. Exercises the full read-tool surface.Other plugins' skills for the same job
npx claudepluginhub asachs01/homefinance --plugin homefinance