csv-importer

csv-importer is a skill for Claude Code from michielinksee/bantou. It costs 31 tokens per session (637 once invoked), scanned A, original, MIT.

A tool for importing transaction CSV files—spreadsheet files separated by commas—from Japanese accounting software and classifying every imported row.

In plain words
What is it for?
For processing exports from Yayoi, freee, MoneyForward, or TKC, as well as generic bank and card CSV files.
Why use it?
It detects supported formats and reduces manual column matching and transaction classification.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the bantou plugin — 5 skills, 6 commands, 1 MCP server shipped together

Good fit For processing exports from Yayoi, freee, MoneyForward, or TKC, as well as generic bank and card CSV files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/michielinksee/bantou/csv-importer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add michielinksee/bantou --skill csv-importer
Clone the repo
git clone --depth 1 https://github.com/michielinksee/bantou

Made for: Claude Code.

Or install bantou, the plugin that ships this one along with the rest of its 5 skills, 6 commands, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for csv-importer

README.md
[![agentmods](https://agentmods.dev/badge/skills/michielinksee/bantou/csv-importer/github.svg)](https://agentmods.dev/skills/michielinksee/bantou/csv-importer)
Your own site
<a href="https://agentmods.dev/skills/michielinksee/bantou/csv-importer"><img src="https://agentmods.dev/badge/skills/michielinksee/bantou/csv-importer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for csv-importer

Your own site · 80×15
<a href="https://agentmods.dev/skills/michielinksee/bantou/csv-importer"><img src="https://agentmods.dev/badge/skills/michielinksee/bantou/csv-importer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 637 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00637
Opus 5 $0.00015 $0.00318
Sonnet 5 $0.00006 $0.00127
Haiku 4.5 $0.00003 $0.00064

Measured 10d ago against content hash b12c9c2b8251, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

csv-importer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/claude-for-jp-accounting/skills/csv-importer/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CSV Importer

Import transaction CSV files exported from Japanese accounting software. Auto-detects the file format and runs the full classification pipeline on every imported row.

When to use

Invoke this skill when the user wants to:

  • Import a CSV file from Yayoi, freee, MoneyForward, or TKC
  • Process a generic bank/credit-card CSV export
  • Bulk-classify transactions from a spreadsheet

Supported formats

Yayoi (弥生会計)

  • Format A — Journal entry export (仕訳日記帳) Columns: 日付, 借方勘定科目, 借方金額, 貸方勘定科目, 貸方金額, 摘要
  • Format B — Simplified ledger (簡易帳簿) Columns: 日付, 科目, 金額, 摘要

freee

  • Standard CSV export from the 取引一覧 screen Columns: 取引日, 勘定科目, 税区分, 金額, 備考

MoneyForward (MF クラウド会計)

  • Journal CSV export Columns: 取引日, 借方科目, 借方金額, 貸方科目, 貸方金額, 摘要

Generic CSV

For bank statements and credit card CSVs, the importer supports interactive column mapping. The user specifies which columns correspond to date, amount, and description.

Format auto-detection

The import_csv tool inspects the header row and first 5 data rows to determine the format. Detection heuristics:

  1. Check for known header patterns (e.g. "借方勘定科目" = Yayoi Format A)
  2. Count columns and match against known schemas
  3. Detect encoding (Shift_JIS vs UTF-8) and re-encode if needed
  4. Fall back to generic mode if no match

Encoding requirements

Japanese CSV files often use Shift_JIS or CP932 encoding. The importer handles conversion automatically, but for best results:

  • Re-save files as UTF-8 with BOM before importing
  • If garbled characters (文字化け) appear, specify encoding explicitly
  • Excel-exported CSVs from Japanese Windows are typically CP932

Post-import pipeline

After import, every row automatically flows through:

  1. Stage 0 exclusion check (filter non-classifiable rows)
  2. Memory recall (apply past corrections)
  3. Stage 1 keyword classification
  4. Stage 2 AI fallback (for unmatched items)
  5. Confidence routing (high/medium/low)

Results are returned as a summary table showing classified, excluded, and needs-review counts.

Read the full file on GitHub · 79 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 79 lines · 31 tokens per session scan A b12c9c2b8251

Subscribe to this mod's changes

csv-importer is a skill published in the GitHub repository michielinksee/bantou (2 stars, last pushed 19d ago), licensed MIT. It adds 31 tokens to every session and 637 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories