import-transactions — скилл для Claude Code: обзор и установка
Скилл импортирует финансовые выписки в форматах CSV, OFX и QIF, распознаёт банки по колонкам и убирает повторы. Помогает загружать банковские транзакции в базу без ручной правки таблиц.
npx skills add openaccountant/skills --skill import-transactions -a claude-codeЧто делает import-transactions
Скилл считывает файлы банковских выписок с расширениями .csv, .ofx, .qfx и .qif. Для CSV-таблиц он автоматически распознаёт разметку Chase, American Express или Bank of America, а также принимает общие форматы с полями даты, описания и суммы. Перед загрузкой скилл нормализует знаки сумм: траты становятся отрицательными, а доходы — положительными.
Перед внесением записей в базу агент показывает превью из первых пяти разобранных операций. Для поиска дубликатов скилл сверяет дату, точную сумму и текст описания через системный инструмент transaction_search. Если в выписке больше 1000 строк, скилл разбивает обработку на пачки по 500 штук ради стабильности. После успешного импорта запускается утилита categorize для назначения категорий новым расходам.
Если изменить описание операции в мобильном банке до выгрузки, скилл посчитает её новой записью из-за несовпадения текста.
Какие задачи решает
- загрузить банковские выписки в форматах CSV, OFX или QIF
- отфильтровать дубликаты операций по дате, сумме и описанию
- нормализовать знаки сумм для расходов и поступлений
- разбить обработку выписок длиннее 1000 строк на пакеты
Примеры запросов агенту
- Импортируй банковскую выписку из файла
~/Downloads/chase_january.csv - Проверь файл
export.ofxна дубликаты и внеси новые транзакции - Разбери выписку Amex
activity.qfxи распредели операции по категориям
Как установить import-transactions
1Через Skills CLI (Vercel)
npx skills add openaccountant/skills --skill import-transactions -a claude-code2Вручную: положить файлы
~/.claude/skills/import-transactions/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/import-transactions/
1Через Skills CLI (Vercel)
npx skills add openaccountant/skills --skill import-transactions -a codex2Вручную: положить файлы
.agents/skills/import-transactions/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add openaccountant/skills --skill import-transactions -a cursor2Вручную: положить файлы
.cursor/skills/import-transactions/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install openaccountant/skills import-transactions2Вручную: положить файлы
.github/skills/import-transactions/SKILL.md1Через Skills CLI (Vercel)
npx skills add openaccountant/skills --skill import-transactions -a gemini-cli2Командой платформы
gemini skills install https://github.com/openaccountant/skills --path shared/import-transactionsВручную: положить файлы
.devin/skills/import-transactions/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add openaccountant/skills --skill import-transactions -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о import-transactions
Как установить import-transactions в Claude Code?
Выполните в терминале команду npx skills add openaccountant/skills --skill import-transactions -a claude-code. Файл скилла сохранится по пути ~/.claude/skills/import-transactions/SKILL.md.
Выписки каких банков поддерживает скилл?
Скилл распознаёт структуру заголовков Chase, American Express и Bank of America, а также стандартные таблицы с колонками даты, описания и суммы. Помимо CSV поддерживаются форматы OFX, QFX и QIF.
Как устроен поиск дубликатов?
Скилл сопоставляет дату, сумму и текст описания с уже сохранёнными транзакциями через инструмент transaction_search. В файлах OFX окно поиска дополнительно ограничивается диапазоном дат из заголовка.
Исходный текст
SKILL.md · MIT
--- name: import-transactions description: > Import transactions from CSV, OFX, or QIF bank exports and deduplicate. --- # Import Transactions ## Overview Import financial transactions from bank export files. Automatically detects file format by extension (.csv, .ofx, .qif) and identifies the bank (Chase, Amex, BofA, or generic) by inspecting column headers. Previews parsed transactions, deduplicates against existing data, and inserts new records. ## Wilson Tools Used - `transaction_search` — check for existing transactions to prevent duplicates - `categorize` — apply categorization rules to newly imported transactions ## Workflow 1. Ask the user for the file path to their bank export. 2. Detect the file format by extension: - `.csv` — parse as CSV, inspect headers to identify bank - `.ofx` / `.qfx` — parse as OFX (Open Financial Exchange) - `.qif` — parse as QIF (Quicken Interchange Format) 3. For CSV files, identify the bank by header patterns: - **Chase**: `Transaction Date,Post Date,Description,Category,Type,Amount,Memo` - **Amex**: `Date,Description,Amount` (or `Reference,Date,Description,Card Member,Amount`) - **Bank of America**: `Date,Description,Amount,Running Bal.` - **Generic**: any CSV with recognizable date, description, and amount columns 4. Preview the first 5 parsed transactions for the user to confirm. 5. Deduplicate by matching date + amount + description against existing transactions. 6. Report how many new vs. duplicate transactions were found. 7. Insert new transactions into the database. 8. Offer to run `categorize` on the newly imported transactions. ## Without Wilson You can import transactions manually into any spreadsheet or accounting tool: ### Downloading Exports **Chase:** 1. Log in at chase.com 2. Go to the account > **Statements & Documents** 3. Click **Download account activity** (top right of transaction list) 4. Select date range and format: **CSV**, **OFX/QFX**, or **QIF** 5. File downloads to your computer **American Express:** 1. Log in at americanexpress.com 2. Go to **Statements & Activity** 3. Click **Download your Transactions** (right side or under the kebab menu) 4. Select date range, choose **CSV** or **OFX/QFX** 5. Download **Bank of America:** 1. Log in at bankofamerica.com 2. Go to the account > **Information & Services** tab 3. Click **Download transactions** 4. Select date range and format: **Microsoft Excel (.csv)**, **Quicken (.qfx)**, or **QuickBooks (.qbo)** 5. Download **Generic / Other Banks:** Most banks offer CSV or OFX export from their transaction history page. Look for "Download," "Export," or a download icon near the date range selector. ### Manual Import into a Spreadsheet 1. Open the CSV in Excel or Google Sheets. 2. Normalize columns to: `Date`, `Description`, `Amount`, `Category`. 3. Make amounts negative for expenses, positive for income/credits. 4. Remove duplicate rows using **Data > Remove Duplicates** (Excel) or the `=UNIQUE()` function (Sheets). 5. Sort by date. ### OFX/QIF Files - OFX files are XML-based. You can open them in a text editor to inspect, or import directly into GnuCash, Quicken, or YNAB. - QIF files are plain text. Each transaction starts with `D` (date), `T` (amount), `P` (payee). You can convert QIF to CSV with online tools like qif2csv.com. ## Important Notes - Chase CSV exports use negative amounts for payments/credits and positive for charges. Wilson normalizes this (negative = expense, positive = income). - Amex CSV has amounts where charges are positive. Wilson inverts the sign on import. - OFX files contain a date range in the header — Wilson uses this to scope deduplication. - Deduplication is based on date + amount + description. If you manually edited a transaction description in your bank's app, the edited version may import as a new record. - Large imports (1000+ transactions) are batched in groups of 500 for performance.
© openaccountant · MIT · openaccountant/skills