convert

A command for turning a bank-statement PDF into structured financial data. It can report account and statement details and provide exports such as CSV, XLSX, QBO, or Xero files.

In plain words
What is it for?
Use it when you have a bank-statement PDF and need its balances, period, transaction count, or a downloadable file for spreadsheets or accounting systems.
Why use it?
It removes the need to copy transactions manually from a PDF into accounting or spreadsheet software.

Command

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.

agentmods
npx agentmods add commands/bankstatemently/plugins/convert
Clone the repo
git clone --depth 1 https://github.com/bankstatemently/plugins
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 346 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 $0.00047 $0.00346
Opus 5 $0.00023 $0.00173
Sonnet 5 $0.00009 $0.00069
Haiku 4.5 $0.00005 $0.00035

Measured yesterday against content hash 4dd15ba13792, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

convert 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 yesterday.

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.

bankstatemently/commands/convert.md · 25 lines

What it actually says

Input: $ARGUMENTS

Convert

Input: a public HTTPS PDF URL, host-provided PDF attachment, or local file path the host cannot pass directly. Output: the conversion summary, key account details, statement period, balances, transaction count, and optional CSV/XLSX/QBO/Xero download links.

Follow this sequence:

  1. If the input is a public HTTPS URL or host-provided PDF attachment, call convert_statement.
  2. If the input is a local file path and the host cannot pass the file directly, call request_upload, upload the PDF bytes to the returned URL, then call convert_statement with the upload id.
  3. If conversion is still processing, poll get_statement until the statement is ready or the tool returns a terminal summary.
  4. Present the tool summary, key account details, statement period, balances, and transaction count. Use the response summary as the source of truth when present.
  5. Ask which export the user wants. For CSV, XLSX, QBO, or Xero, call get_statement with the requested output format and present the returned link.

Example prompt: Convert this bank statement PDF and give me a CSV download: https://bankstatemently.com/benchmark/statements/bsb-004-statement.pdf

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. yesterday First seen · 25 lines · 47 tokens per session scan A 4dd15ba13792

Subscribe to this mod's changes

convert is a command published in the GitHub repository bankstatemently/plugins (1 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 346 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.