import

import is a command for Claude Code from michielinksee/bantou. It costs 14 tokens per session (476 once invoked), scanned A, original, MIT.

A command that imports CSV files exported by Japanese accounting software and automatically classifies their transactions. CSV is a plain-text table format commonly used to move data between programs.

In plain words
What is it for?
Use it with exports from Yayoi, freee, MoneyForward, or generic CSV files. It accepts comma-, tab-, or semicolon-separated data and reports items that need review.
Why use it?
It removes much of the manual work of identifying the file format, converting Japanese text encodings, checking the data, and assigning accounting categories.

Command for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is /jp-accounting:import ./exports/yayoi_202601.csv.

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

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/michielinksee/bantou
agentmods
npx agentmods add commands/michielinksee/bantou/import

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 import

README.md
[![agentmods](https://agentmods.dev/badge/commands/michielinksee/bantou/import.svg)](https://agentmods.dev/commands/michielinksee/bantou/import)
Your own site
<a href="https://agentmods.dev/commands/michielinksee/bantou/import"><img src="https://agentmods.dev/badge/commands/michielinksee/bantou/import.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 476 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00014 $0.00476
Opus 5 $0.00007 $0.00238
Sonnet 5 $0.00003 $0.00095
Haiku 4.5 $0.00001 $0.00048

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

Security

Grade A, and why

import 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 6d 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/commands/import.md · 73 lines

What it actually says

/bantou:import

Import a CSV file from Japanese accounting software and classify all transactions automatically.

Usage

/jp-accounting:import <file-path>

Examples

/jp-accounting:import ./exports/yayoi_202601.csv
/jp-accounting:import C:\Users\会計\freee_export.csv
/jp-accounting:import ~/Downloads/mf_journal.csv

Input

An absolute or relative path to a CSV file. The importer auto-detects:

  • File format — Yayoi (Format A/B), freee, MoneyForward, or generic
  • Encoding — UTF-8, Shift_JIS, CP932 (auto-converted to UTF-8)
  • Delimiter — comma, tab, or semicolon

Processing flow

  1. Parse the CSV file and detect format
  2. Validate headers and data structure
  3. Run each row through the classification pipeline:
    • Stage 0: Exclusion filter
    • Stage 1: Memory recall + keyword matching
    • Stage 2: AI fallback (for unmatched rows)
  4. Generate a summary report

Output

After processing, a summary table is displayed:

インポート結果: yayoi_202601.csv
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
総行数:           142
除外 (Stage 0):    12
自動分類 (高信頼):  98
自動分類 (中信頼):  18
要確認 (低信頼):    14
Memory ヒット:     34 (26.2%)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Low-confidence items are listed individually for review.

Encoding troubleshooting

If characters appear garbled (文字化け), try:

  1. Open the CSV in a text editor and re-save as UTF-8
  2. Specify encoding explicitly when prompted
  3. Check that the file was not corrupted during download

Notes

  • Large files (>1,000 rows) are processed in batches of 100
  • Progress is shown during processing
  • Results can be exported or used with /jp-accounting:report
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. 6d ago First seen · 73 lines · 14 tokens per session scan A b2aee7d7165d

Subscribe to this mod's changes

import is a command published in the GitHub repository michielinksee/bantou (2 stars, last pushed 15d ago), licensed MIT. It adds 14 tokens to every session and 476 once invoked, about $0.0001 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.