finance-sync

finance-sync is a skill for Claude Code, Codex from wcyiu/money-manager-mcp. It costs 48 tokens per session (733 once invoked), scanned A, original, MIT.

A workflow for checking Money Manager backup freshness and rebuilding the searchable text index for receipt photos. OCR means reading text from images automatically.

In plain words
What is it for?
It is for checking the newest backup, reporting its transaction coverage, and reindexing receipt photos after uploads. It can also report failed OCR attempts.
Why use it?
It helps detect when financial data is out of date and makes newly uploaded receipts searchable without reprocessing unchanged images.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for checking the newest backup, reporting its transaction coverage, and reindexing receipt photos after uploads. It can also report failed OCR attempts.

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

Made for: Claude Code, Codex.

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 finance-sync

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wcyiu/money-manager-mcp/finance-sync"><img src="https://agentmods.dev/badge/skills/wcyiu/money-manager-mcp/finance-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 733 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.00048 $0.00733
Opus 5 $0.00024 $0.00367
Sonnet 5 $0.00010 $0.00147
Haiku 4.5 $0.00005 $0.00073

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

Security

Grade A, and why

finance-sync 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 9d 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/finance-sync/SKILL.md · 70 lines

How it starts

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

finance-sync

Ingestion status and reindexing for the money-manager MCP server. The server picks up the newest .mmbak in the drop folder automatically — there is nothing to "import"; this skill checks freshness and refreshes the OCR index.

Status check

Call backup_status and report:

  • backup filename, size, active transaction count, date range, main currency
  • Freshness warning: if the newest data date (or the filename's embedded date, e.g. 20240115_093000.mmbak) is older than ~10 days, tell the user to export a fresh backup in Money Manager and upload it to the drop folder.

Receipt reindex

After the user drops new receipt photos (or asks to reindex):

  1. Call reindex_receipts (add force=true only if the user explicitly asks for a full rebuild — a normal run hash-skips unchanged images and is cheap).
  2. Report the counts: seen, skipped, ocr_ok, ocr_failed, indexed_total.
  3. If ocr_failed > 0, say how many and suggest re-running; repeated failures on the same files are worth listing.

Incremental runs are near-instant; a large batch of new images takes roughly 1–3 s per image on CPU.

Full / first-time index build

A full build (thousands of images, an hour or more) is too long for one tool call, but you can still run it:

  • If you have shell access: run the CLI as a background job and report the final stats when it finishes: money-manager ocr-index (env: MONEY_PHOTOS, MONEY_INDEX). Safe to interrupt — re-running resumes via hash-skip.
  • MCP-only: loop reindex_receipts(limit=50) — each call OCRs at most 50 new images (~1–2 min) then returns stats. Keep looping while ocr_ok + ocr_failed > 0, reporting cumulative progress against seen; when a call comes back all-skipped, the build is complete.

Index ownership

Every machine owns and writes its OWN index; indexes are disposable replicas, never a shared writable file.

  • Primary machine (authoritative): builds and reindexes locally (outside any sync folder), then copies a snapshot into the synced folder (Money Manager/receipt_index.db) for other machines to seed from.
  • Other machines / agent hosts: seed a local writable index once from the synced snapshot, then run incremental reindex_receipts locally. The photo source is read-only; seeded indexes diverging from the primary's is fine — every index rebuilds from source at any time.
  • Never point MONEY_INDEX at a live sync folder or network share during a build: sync clients upload half-written databases and can create conflict copies.

Read the full file on GitHub · 70 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. 9d ago First seen · 70 lines · 48 tokens per session scan A 63e9b3a0b8a9

Subscribe to this mod's changes

finance-sync is a skill published in the GitHub repository wcyiu/money-manager-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 733 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