All plugins

ghost-subscriptions

Detects subscriptions and recurring charges in a bank statement export (CSV from 17 bank profiles or any CSV by column mapping, OFX 1.x/2.x), reports their yearly cost per currency, price increases, duplicate charges, overlapping services, stopped subscriptions and payment plans, and writes a cancellation pack (one letter per subscription in English or French, a CSV summary and an .ics file with reminders 7 days before each charge). Disclosure: reads only the statement file the user names and its own bundled profile and alias data; stores dates, amounts and sanitised descriptions (IBANs masked, full card numbers removed, file path not stored) in SQLite under its plugin data folder, where the cancellation packs are also written; statement_purge deletes all of it; makes no network requests and imports no networking modules; sends, cancels or pays nothing; no shell commands, background processes, credentials, telemetry, self-updating code, binaries or Python dependencies.

Max35j1Toolsv1.0.0Updated 21 days ago

About

Detects subscriptions and recurring charges in a bank statement export (CSV from 17 bank profiles or any CSV by column mapping, OFX 1.x/2.x), reports their yearly cost per currency, price increases, duplicate charges, overlapping services, stopped subscriptions and payment plans, and writes a cancellation pack (one letter per subscription in English or French, a CSV summary and an .ics file with reminders 7 days before each charge). Disclosure: reads only the statement file the user names and its own bundled profile and alias data; stores dates, amounts and sanitised descriptions (IBANs masked, full card numbers removed, file path not stored) in SQLite under its plugin data folder, where the cancellation packs are also written; statement_purge deletes all of it; makes no network requests and imports no networking modules; sends, cancels or pays nothing; no shell commands, background processes, credentials, telemetry, self-updating code, binaries or Python dependencies.

Ghost Subscriptions: find the charges still haunting your bank statement

👻 Ghost Subscriptions

Ghost subscriptions are the charges that keep haunting your bank statement long after you forgot them.
This plugin finds every one of them.

Then see what they cost per year, what went up, what is billed twice, and get a ready-to-send
cancellation pack to bust the ones you no longer want.

A Hermes Agent plugin. No typing your subscriptions in, no bank login,
no API key, no network: you hand it the CSV or OFX file your bank already lets you download.

/subs
👻 14 active subscriptions: 3089.88 EUR/yr (257.49/month)
Top: EDF 779 · Basic-Fit 360 · Canal+ 336
Alerts: 1 price increase (+60.00/yr), 1 duplicate charge, 2 overlaps, 1 stopped subscription, 1 payment plan

Why another subscription plugin?

Because the catalog had none that reads your statement:

Where the data comes fromWhat it does
subscription-sheriffYou type each subscription in plain EnglishRegistry and renewal reminders
hermes-financeA separate finance app with Plaid bank syncFull personal-finance database
ghost-subscriptionsThe CSV/OFX export from your bank, nothing elseAutomatic detection of recurring charges, price increases, duplicates, overlaps, plus a cancellation pack

It is not a fork of either: a different engine on a different source. The point is the subscriptions you
would never think of typing in: the €9.95 audiobook plan, the second cloud storage, the gym that charged
twice in January. It is also the only one that produces cancellation letters.

What it finds

On the 12-month synthetic statement in examples/ (a fictional person, fictional numbers):

ServiceEveryAmountLast chargePer yearConfidenceStatus
EDFmonthvariable51.86779.110.94active
Basic-Fitmonthfixed29.99359.881.00active
Canal+monthfixed27.99335.880.99active
ChatGPT Plusmonthfixed23.00276.000.99active
Freemonthfixed19.99239.881.00active
Spotify Familymonthfixed17.99215.880.99active
Veolia Eauquartervariable45.50188.450.85active
Netflixmonthfixed13.49161.880.99active
Xbox Game Passmonthfixed12.99155.880.99active
Audiblemonthfixed9.95119.401.00active
Notionmonthfixed9.50114.000.99active
Amazon Primemonthfixed6.9983.880.99active
iCloud+monthfixed2.9935.880.99active
Google Onemonthfixed1.9923.880.99active
Disney+monthfixed9.990.000.99probably cancelled

And the alerts:

  • Duplicate charge: Basic-Fit 29.99 EUR on 2026-01-27 and again on 2026-01-29.
  • Price increase: Canal+ 22.99 → 27.99 EUR since 2026-05-04 (+22 %, +60.00 EUR a year).
  • Overlap: iCloud+ and Google One are both cloud storage; Canal+, Netflix and Prime are all video. Shown as a choice, not an error.
  • Stopped: Disney+ has not charged since June: left out of the yearly total.
  • Refund neutralised: an Amazon order refunded two weeks later.
  • Payment plan, not a subscription: three FNAC payments of 133.30 EUR.
  • Left out: 12 transfers to the person's own savings account, 12 cash withdrawals.

See it in a real session

Real Hermes Agent 0.23 sessions on the fictional statement in examples/. The text is verbatim;
it was re-typeset from the exported session so the pictures stay readable.

Hunting the ghostsBusting two of them
Audit of a 12-month statement in HermesCancellation pack for two subscriptions

The /subs summary and a generated cancellation letter

Install

From the Hermes plugin catalog, once the entry is listed (the reviewed, pinned commit):

hermes plugins install ghost-subscriptions

Straight from this repository, today (Hermes warns that the source is not from the catalog):

hermes plugins install Max35j/ghost-subscriptions --enable

Requires Hermes 0.21.5 or newer. No Python dependency beyond the standard library.

Use it

Just talk to your agent:

I downloaded my bank transactions to ~/Downloads/export.csv. What subscriptions am I paying for?

Did any of them go up this year?

Write the cancellation letters for Audible and Google One.

/subs

The agent calls four tools:

ToolWhen the agent uses it
statement_importYou give it a CSV/OFX file. Detects the bank format, reports rows read, skipped and rejected with reasons. Re-importing an overlapping export does not duplicate anything.
statement_auditYou ask what you pay for. Returns stable JSON: totals per currency, every subscription with its confidence, top 10, anomalies, warnings.
statement_cancel_packYou decide to cancel. Writes cancel-summary.csv, cancel-letters.md (one letter per subscription, English or French) and cancel-reminders.ics (a reminder 7 days before each next charge). Sends nothing.
statement_purgeYou ask to delete your data. Wipes everything the plugin stored, after you confirm.

Plus a /subs slash command (three-line summary) and a bundled skill,
ghost-subscriptions:monthly-audit, that teaches the agent how to run a monthly review, read the confidence
scores and state the limits honestly.

Supported banks

Profiles are plain JSON files in profiles/: delimiter, encoding, rows to skip, date format,
decimal separator, sign convention and column names. The format is detected by trying each profile.

CountryBanks
FranceBNP Paribas, Société Générale, Crédit Agricole, Boursobank, La Banque Postale, LCL, Caisse d'Épargne, Qonto
EuropeRevolut, N26, Wise
UKMonzo, Starling
USChase, Bank of America, Capital One, American Express (purchases are positive amounts in its export; the profile flips the sign)
AnyOFX 1.x (SGML) and 2.x (XML), and any CSV with recognisable column names (Date, Description, Amount, Debit/Credit...)

Bank export layouts change without notice. The profiles were written from the banks' documented or commonly
observed export formats, not from live exports of every bank. If yours is not recognised, the import tells you
the columns it found; set column_mapping (below) and import again with profile="custom". A pull request
with a new profile is a 20-line JSON file.

The American Express profile rests on its documented sign convention (purchases positive, payments negative)
and on column names reported by third-party converters; it has not been checked against a live export. A file
with plain Date, Description, Amount columns is read as the generic layout, and the import warns when nearly
every amount is positive.

How detection works

Everything below is plain Python in engine/, tested without Hermes.

1. Clean the description. PRLV SEPA SPOTIFY AB ECH/111126 ID EMETTEUR/FR12ZZZ…, CB SPOTIFY P1234ABCD 03/10
and Spotify France all become spotify:

  1. Unicode decomposition, accents removed, upper case;
  2. transaction-type prefixes removed (CB, PRLV SEPA, VIR, CARD PAYMENT TO, DIRECT DEBIT, ATM…);
  3. dates, times, masked card numbers, store numbers, 3+ digit codes, SEPA reference tails and country suffixes removed;
  4. punctuation and repeated spaces removed;
  5. matched against data/aliases.json (290 aliases for 134 services); a specific service beats a
    generic billing name (APPLE.COM/BILL ICLOUD → iCloud, not Apple);
  6. unknown merchants keep their cleaned name, with 10 % lower confidence.

2. Find the rhythm. Per merchant, debits only: intervals between charges, their median m and median
absolute deviation mad. Weekly if m is 5-9 days, monthly 26-35, quarterly 80-100, yearly 350-380; anything
else is not concluded. Interval regularity = max(0, 1 − mad/m), at least 0.6 for monthly, 0.5 otherwise.
Three charges make a subscription; two only a lead.

3. Score it.

confidence = 0.4 × min(occurrences, 6)/6 + 0.4 × interval regularity + 0.2 × amount regularity

Amounts varying by less than 5 % (coefficient of variation) are fixed; above, the charge is a variable bill
(energy, water, phone usage) and is always labelled as such. Below the threshold (0.6 by default) a charge is
listed as low confidence, never counted.

4. Look for trouble.

AlertRule
Price increaseLast charge vs the median of the six before: +3 % and +0.50. Also a step between two stable price levels (6 × 9.99 then 6 × 12.99). Yearly impact computed.
DuplicateSame merchant, amount within 1 %, under 4 days apart, on a recurring charge.
OverlapTwo active services of the same family (video, music, cloud, VPN, AI assistant, gym…).
StoppedToday is more than 10 days past the expected next charge: probably cancelled, out of the total.
RefundA credit from the same merchant within 45 days, close amount: both left out.
Internal transferDebit/credit transfer pair of the same amount within 3 days, or your own name (holder_aliases). Left out and counted.
Payment planThree identical payments within 90 days with no rhythm, or a 3X / 1/3 marker: not a subscription.

5. Add up. Monthly × 12, weekly × 52, quarterly × 4, yearly × 1, in the original currency. Several currencies
are reported side by side and never converted unless you give rates.

Settings

Set in the Desktop plugin settings or config.yaml under plugins.entries.ghost-subscriptions.settings:

KeyDefaultMeaning
confidence_threshold0.6Below it, a recurring charge is listed as low confidence.
languageenen or fr: /subs and the cancellation letters.
holder_aliases[]How your name appears on transfers between your own accounts.
holder_name""Signature for the letters.
column_mapping{}Fallback for unknown CSV layouts: {"date": "...", "label": "...", "amount": "..."}, or debit/credit, plus optional delimiter, date_format, decimal, sign, currency.
fx_rates{}e.g. {"base": "EUR", "USD": 0.92} to add currencies up.
contract_refs{}Customer numbers per subscription id for the letters.

Privacy

  • No network. The plugin imports no networking module and makes no request. A test checks it.
  • Local storage only, in Hermes' per-plugin data folder (<HERMES_HOME>/plugin-data/ghost-subscriptions/).
  • IBANs are masked to their last four characters, full card numbers are removed before anything is
    stored (Luhn check), account numbers from OFX files are kept as ****1234.
  • The path of your statement file is never stored, only a hash of its content to recognise a re-import.
  • statement_purge deletes everything: transactions, import history and generated packs.
  • No telemetry, no background process, no self-update, no credentials.

Disclosure

  • Reads the statement file you point it to (anywhere you choose, since that is where your download lands).
    It reads no other file outside its own install folder and data folder.
  • Writes only to its data folder: a SQLite database and the cancellation packs you ask for.
  • Network: none.
  • Shell commands, background processes, stored credentials, telemetry: none.
  • Cancels nothing and sends nothing: the letters are files you review and send yourself.

Limits

  • Yearly subscriptions need three charges, so more than two years of history, to be confirmed.
  • What you pay with another card, account or PayPal balance is not on this statement.
  • Notice periods and recipients in the letters are generic: check your contract and fill in the bracketed fields.
  • Detection is statistical: low-confidence items are suggestions to check, not facts.

Development

python -m pytest tests                 # 115 tests, no Hermes needed
python examples/generate_example.py    # rebuild the synthetic demo statement
hermes plugins validate . --install-deps
hermes plugins doctor .

Layout: plugin.yaml (manifest), __init__.py (register(ctx)), schemas.py (tool schemas),
engine/ (parsing, normalisation, detection, pack, storage: pure and testable), profiles/, data/,
skill/SKILL.md, examples/, tests/.

License

MIT, see LICENSE.

README from the reviewed commit e31a8f6; it updates when the author re-pins.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section