banktivity

banktivity is a skill for Claude Code from sflinter/banktivity-swift-mcp. It costs 38 tokens per session (2,036 once invoked), scanned A, original, MIT.

A skill for querying and managing personal-finance data stored in Banktivity, a finance app for tracking accounts and transactions. It uses the Banktivity command-line tool and requires the path to your database file.

In plain words
What is it for?
Use it to list accounts, review transactions, and work with spending, categories, tags, or investments in a Banktivity database.
Why use it?
It lets an agent work with Banktivity data through defined commands instead of manually inspecting the database.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to list accounts, review transactions, and work with spending, categories, tags, or investments in a Banktivity database.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sflinter/banktivity-swift-mcp/banktivity
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 sflinter/banktivity-swift-mcp --skill banktivity
Clone the repo
git clone --depth 1 https://github.com/sflinter/banktivity-swift-mcp

Made for: Claude Code.

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 banktivity

README.md
[![agentmods](https://agentmods.dev/badge/skills/sflinter/banktivity-swift-mcp/banktivity/github.svg)](https://agentmods.dev/skills/sflinter/banktivity-swift-mcp/banktivity)
Your own site
<a href="https://agentmods.dev/skills/sflinter/banktivity-swift-mcp/banktivity"><img src="https://agentmods.dev/badge/skills/sflinter/banktivity-swift-mcp/banktivity/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 banktivity

Your own site · 80×15
<a href="https://agentmods.dev/skills/sflinter/banktivity-swift-mcp/banktivity"><img src="https://agentmods.dev/badge/skills/sflinter/banktivity-swift-mcp/banktivity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,036 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.00038 $0.02036
Opus 5 $0.00019 $0.01018
Sonnet 5 $0.00008 $0.00407
Haiku 4.5 $0.00004 $0.00204

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

Security

Grade A, and why

banktivity 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 12d 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.

skills/banktivity/SKILL.md · 116 lines

How it starts

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

Banktivity CLI Skill

You have access to banktivity-cli, a fast CLI tool for querying and managing a Banktivity personal finance database.

Setup

  • Binary: ~/.local/bin/banktivity-cli (on PATH)
  • Database: ~/Documents/Banktivity/My Accounts.bank8edit this path
  • Required env var: BANKTIVITY_FILE_PATH must be set on every invocation

Invocation Pattern

BANKTIVITY_FILE_PATH="$HOME/Documents/Banktivity/My Accounts.bank8" banktivity-cli <tool> [--key value ...] 2>/dev/null

Always redirect stderr with 2>/dev/null — CoreData prints harmless warnings to stderr on every invocation.

Output Format

  • All tools return JSON on stdout
  • Most return a flat JSON array ([{...}, {...}]), NOT {"transactions": [...]} or similar wrappers
  • For large result sets (>50 items), redirect to a temp file first, then parse with python3, rather than piping directly into the conversation

Key Tools Reference

Querying

Tool Key Arguments Notes
list_accounts (none required) Returns array of {id, name, fullName, accountType, balance, ...}
get_transactions --account_id N --start_date YYYY-MM-DD --end_date YYYY-MM-DD --limit N Returns array of transaction objects with lineItems
search_transactions --query "text" --limit N Searches title and notes only. Does NOT search tags.
get_transaction --transaction_id N Single transaction with all line items
get_transactions_by_tag --tag_id N or --tag_name "name" The correct way to find tagged transactions
get_tags (none) List all tags with id and name
list_categories --type expense|income All categories; subcategories have fullName like "Motor:Tolls"
get_category --category_id N or --category_name "Name" Lookup by ID or path (e.g. "Insurance:Life")
get_category_tree --type expense|income Full hierarchy as a tree
get_spending_by_category --start_date --end_date Spending breakdown by expense category
get_income_by_category --start_date --end_date Income breakdown by income category
get_uncategorized_transactions --account_id N --limit N Transactions without a category
get_net_worth (none) Assets minus liabilities
get_account_balance --account_id N or --account_name "name" Balance for one account
get_summary (none) Database overview with account counts and totals
get_payee_category_summary --account_id N --min_transactions N Per-payee category breakdown; surfaces inconsistencies
review_categorizations --account_id N --category_name "name" --payee_pattern "pat" --limit N Review transactions by category for spotting errors
suggest_category_for_merchant --merchant_name "name" Suggest category based on rules and history
match_import_rules --description "text" Test which import rules match a description

Read the full file on GitHub · 116 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 116 lines · 38 tokens per session scan A 965b4d820231

Subscribe to this mod's changes

banktivity is a skill published in the GitHub repository sflinter/banktivity-swift-mcp (19 stars, last pushed 3mo ago), licensed MIT. It adds 38 tokens to every session and 2,036 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-30.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens