Skip to content
The Liberation Engine

Build your own AI setup / Lesson 3 of 8 · Data

See where your money actually goes, then make it a monthly habit

Three months of fictional bank exports become a row-traceable report and a reusable skill for checking next month's file.

What the agent made

Ran it for real with OMP 18.17.0 on 2026-11-06. The first session started with no saved memory; each later session was a new one that kept only the files in the folder. Your result will differ.

1 · Build the money check

The piece it left behind

It saved a skill any later session can use: .claude/skills/money-check/SKILL.md.

SAVED IN THE FOLDER · .claude/skills/money-check/SKILL.md
name: money-check
description: Use when a new monthly bank export arrives in this practice folder and the categorized ledger, independent reconciliation, and sourced Markdown and offline HTML money reports need updating.
Read the whole result

Monthly money check

Boundaries

Work only inside the practice folder containing money-referee.py, categories.csv, earlier YYYY-MM.csv exports, and the next YYYY-MM.csv export at the same folder level. Use only installed Python 3 and its standard library. No network, packages, browser launch, or reads or writes outside this folder, including temporary files or browser caches. Never edit exports or rewrite earlier categorized rows. If python3 is unavailable, say checks could not run; never claim a pass. Create only requested deliverables. Do not ask for a reply. Do not use em dashes or en dashes. Do not offer advice about transactions. Do not claim browser rendering, width, or interaction was tested in the recording; a human checks the saved page later.

Read and categorize

  1. Read every data row from each CSV using csv.DictReader; data row 1 is immediately after the header date,description,amount. A new month, for example 2026-04.csv, sits alongside 2026-01.csv, 2026-02.csv, and 2026-03.csv in the practice folder. Spending is negative; payroll, refunds, and reversals are credits, not charges. Distinguish payroll deposits from refunds or reversal credits even if the descriptions do not establish the exact reason for a credit.
  2. categories.csv header is exactly source_file,row,date,description,amount,category. Keep earlier lines byte-for-byte in their original order; append one new line per new export data row with its filename, original 1-based data row number, unchanged date, description, amount, and exactly one nonempty consistent category. Use csv to quote fields when needed. No export row may be omitted or categorized twice.
  3. Current category names: Books, Coffee, Dining, Fitness, Fuel, Gifts, Groceries, Household, Housing, Internet, Mobile, Payroll, Pharmacy, Refunds, Streaming, Transit, Utilities. Positive Hollow Hardware credit is Refunds, separate from Household outflows; payroll is Payroll. Keep those names consistent; introduce another category only for a genuinely different kind of transaction and name it in the report.
  4. Calculate money with Decimal or integer cents, never floats. Independently read all export files, including the new one. Run the exact base command python3 money-referee.py categories.csv 2026-01.csv 2026-02.csv 2026-03.csv. For the next month, run python3 money-referee.py categories.csv 2026-01.csv 2026-02.csv 2026-03.csv 2026-04.csv; replace or extend the filenames to include every export for later months. Also run python3 money-referee.py --self-test. Record each command's actual output and exit status in both reports. The self-test uses in-memory mutations and the same validation logic; do not describe it as reading stdin. Do not state a pass if the command did not pass.

Analyze source evidence

  • Compare category signed totals and net totals for each month, with outflows, payroll, and other credits separate. Show every category, including zero months, and preserve the full baseline even if evidence is filtered.
  • Recurring outflows: flag the same merchant and exact negative amount returning at a regular interval, monthly or more often. Include a series that first starts and repeats within the newest month. Match monthly series by calendar-month position before considering nearby dates: early and late charges of the same amount from one merchant belong to separate series. Never greedily use an early event to complete a late series. Record source dates, amounts and file-specific row citations. Analyze recurring payroll deposits separately; credits are never charges.
  • Compare differing transaction amounts for the same merchant: show both amounts and call the later transaction larger or smaller, never give a signed difference. Different items, usage, or quantities can explain differing totals. Never call this a unit-price increase or decrease without invoices establishing the same item, plan, or unit rate.
  • Flag merchants whose first appearance among the provided exports is in the newest month. Possible duplicates are outflows from the same merchant on the same date for the same amount; a flag is not a determination of error. The exact-amount recurrence rule can miss a recurring charge whose amount changes. The same-date duplicate rule can miss a duplicate posted on another day. Absence of a flag is not evidence of absence. Include this limitation in both reports and this skill.
  • Before writing either report, verify every cited prose row against the export itself: filename, data row, date, merchant and amount. Only give a shared row number if that number is identical in every named export. Otherwise write each month's row number separately. Any visible phrase inside quotation marks or blockquotes must be copied exactly from the export and immediately followed by a <cite> containing the source filename. Prefer unquoted plain-sentence summaries. Source citations do not turn assumptions into evidence.

Publish

For the newly arrived YYYY-MM.csv, create money-report-YYYY-MM.md and money-report-YYYY-MM.html in this folder, comparing the new month to earlier months. The original January through March baseline was published as money-report.md and money-report.html; keep it intact. Both new reports have the same complete findings: lead with the newest month's actual net, source rows for flags and comparisons, every category's monthly signed baseline, recurring outflows and separate recurring deposits, amount comparisons, new merchants, possible duplicates, limitations, and both real check receipts with actual exit statuses. Include a complete accessible source ledger in HTML with filename and row number per row. Make HTML self-contained, with inline style, script, data and artwork only; no external assets or requests. Keep a no-script path to every row. A labeled keyboard-friendly category/flag selector must change the visible evidence and selected count, not the overall baseline; failed checks remain visible. On 360-pixel screens or wider nothing should scroll sideways, including tables, charts or code; use stacked labeled entries, no mid-word breaks, legible focus and tap targets, and reduced-motion-safe controls. State browser rendering was not tested in this recording.

Receipt rule: Any additional check reported in either report or final reply must include its exact repeatable command and its actual output. Otherwise omit the check claim. Never invent output, browser checks, proof badges, source quotes, charts, or live features. Run the changed path using Python 3 before claiming it works; preserve failing status and output if a check fails.

Then a brand-new session used what it saved on new input: see the proof.

Make your own

  1. Get the files

    Download the practice folder (ZIP)

    Unzip it: you get a folder called cli-practice with 3 practice files. Download three fictional bank exports, 2026-01.csv, 2026-02.csv and 2026-03.csv, for a made-up household in a made-up town. It also has a for-later folder with the new files for the fresh sessions.

  2. Open your agent in that folder

    Open a terminal in cli-practice and type claude or omp --approval-mode always-ask. First time? Set up in about five minutes, with steps for Mac, Windows, and Linux.

  3. Paste this prompt

    Work only inside this practice folder, which holds three fictional bank exports named 2026-01.csv, 2026-02.csv and 2026-03.csv (columns date,description,amount; spending is negative). Do not use the network, install anything, read outside this folder, or edit the exports. Do not write any file outside this folder, including temporary files in /tmp. Do not launch a browser in this recording: its profile and cache write outside the folder. A person will check the saved HTML in a browser afterward. Do not claim you checked any browser width or interaction. Do not ask me to reply. Do not use em dashes or en dashes. Use only Python 3 and its standard library already on this computer. If python3 is unavailable, report that the checks could not run and never claim they passed.
    Build a money check I can repeat every month. Read every row, then write categories.csv with the header source_file,row,date,description,amount,category: one line per export row (row is the data row number, starting at 1), each row in exactly one category that you choose and keep consistent. Write money-referee.py, which takes categories.csv followed by the export files as arguments, re-reads the exports on its own without trusting categories.csv, and checks that every export row appears in categories.csv exactly once with the same date, description and amount and a nonempty category, and that the category totals add up to the total of the export files to the cent (use Decimal or integer cents, never floats). It prints every mismatch and exits nonzero on any mismatch, zero otherwise. Give the checker a --self-test mode that uses only in-memory data and calls the same validation logic to prove it detects a removed row, duplicated row, one-cent amount error and blank category. It prints each mutation result and exits zero only if all four are rejected. Run python3 money-referee.py categories.csv 2026-01.csv 2026-02.csv 2026-03.csv and python3 money-referee.py --self-test; capture their real exit statuses and output in the report. If you perform any other mutation check, name the actual file arguments or in-memory function you used; never say data was piped through stdin unless the checker actually reads stdin. Then write money-report.md covering all three months: totals by category per month, recurring outflows (state the rule: the same merchant and amount returning at a regular interval, monthly or more often, including an outflow that starts and repeats within the latest month), recurring deposits separately if helpful, changes in amount charged by the same merchant (show both amounts and say whether the charge is larger or smaller, never use a plus or minus sign on the difference), merchants first appearing in the latest month, and possible duplicates (same merchant, date and amount). A merchant's differing charges do not prove its unit price changed: different items, usage or quantities may explain them. Do not label a transaction amount change a price increase or decrease without invoices establishing the same item, plan or unit rate. Match monthly recurring series by calendar-month position before nearby dates; do not greedily consume a transaction in one monthly series when it belongs to another. Distinguish outflows from payroll deposits and other credits; never call a deposit a charge or claim no credits when payroll deposits appear. Use only flags and numbers from the files and never say what I should do about any of them. Put both checks' real exit statuses in the report. Anything inside quotation marks or a blockquote must be copied exactly from the files; put the file name in a <cite> after it, and write summaries as plain sentences, never as quotations.
    Verify every prose row citation against the export itself before writing either report. Write a shared row number only when it is identical in every export named; otherwise write each month's row number separately. Include this citation rule in the saved skill. The recurrence and duplicate rules can miss a recurring charge whose amount changes and a duplicate posted on a different day: absence of a flag is not evidence of absence. Include this limitation in both reports and the saved skill. Any additional check reported in a report or final reply must include its exact repeatable command and actual output; otherwise omit the check claim. Include this receipt rule in the saved skill.
    Also write money-report.html as the main result, with the same complete findings, dates, amounts, category totals, and check statuses as money-report.md. Make it a self-contained page that opens from disk or on a static website. Lead with the actual monthly finding and give the report the feel of an annotated bank statement, not a generic dashboard. Show every category's baseline total and every source row in ordinary HTML with source filename and row number. A labeled, keyboard-friendly category or flag control must reveal the exact rows behind that category or flag and visibly update the selected count or evidence summary; keep the full baseline and an accessible complete row list available when scripts are off. Never substitute a filtered subtotal for the overall total or hide a failed check. Put all styles, scripts, data and artwork inline, with no external assets, dependencies or network requests. At 360 pixels wide and wider, the page must fit the screen and nothing may scroll sideways, not even inside a table, chart or code box; stack wide tables as labeled entries; no word or dollar amount may break mid-word; stamps, labels and long file names must stay inside the edge. Design for phone and desktop but state browser rendering was not tested in the recording; the independent human checker tests it afterward. Use readable focus and tap targets, legible contrast, and a static path through all evidence without JavaScript. Make the result look designed for its subject: a clear display heading, readable body text, restrained accent and one source-led visual motif. A touch or keyboard action must change substantive evidence, not just decoration, and reduced motion must preserve it. No invented chart, source quote, proof badge or model-powered live feature: report only checks actually run, with their actual exit statuses.
    Finally write the native skill .claude/skills/money-check/SKILL.md (frontmatter with name: money-check and a description saying when to use it) that captures this exact monthly method, so a fresh session that knows nothing else can run it on a new export: where a new month's CSV will sit, the categories.csv layout and the category names in use, how to append the new month's rows without rewriting earlier rows, the exact referee command and --self-test command to run, the rules for recurring outflows (including one that started within the new month, and calendar-month position before nearby matches), recurring deposits kept separate, changes in transaction amounts rather than unproven unit prices, new merchants and possible duplicates, the report layout, that the new Markdown report is named money-report-YYYY-MM.md and its matching interactive HTML page is named money-report-YYYY-MM.html for the new month and compares against earlier months, that both state each check's real exit status, and the same no-advice, no-browser-in-recording and safety rules listed above. Require the report to distinguish payroll deposits from refunds and reversal credits. Create only these files: categories.csv, money-referee.py, money-report.md, money-report.html and the skill.

    The prompt asks the agent to stay in this folder; it cannot enforce that. Read each file change and command before you approve it.

  4. Check it yourself

    Open cli-practice/money-report.html in your web browser (double-click it), then:

    Human check: Open both reports and find three things from the numbers alone, then check each against the CSV files. An outflow that first appears in March, a change in the amount charged by the same merchant in each month (not proof of a unit-price change), and two charges with the same date, merchant and amount in February. In the HTML, inspect a category and a flag to see their exact source rows. Confirm the referee's exit status in both reports matches a run you do yourself, and that neither report gives financial advice.

    When we checked the recording above: Independent scratch runs: referee exit 0, PASS: 85 export rows matched exactly once; category and export totals both 10379.21. Self-test exit 0, removed row, duplicated row, one-cent amount error and blank category all REJECTED. Inputs unchanged. Source citations and category totals checked against exports; February Mobile citation resolves to its correct row. Category and duplicate controls reveal exact rows and update the count. Browser widths 360, 375, 390 and 400 to 1300 px checked in every selector state, no sideways overflow; no disclosures. JavaScript off retains complete baseline, source ledger and receipts. Phone appearance inspected. Browser checks were performed afterward, not by the recording.

Then prove it: fresh sessions

Each run below is a brand-new session, recorded for real in OMP. It remembers nothing from the run before except the files saved in the folder, so the short prompt is the whole instruction.

2 · A fresh session, a new month

Before this run, copy the files from for-later/next-month in the ZIP into cli-practice: 2026-04.csv.

Quit the agent, start it again in cli-practice, and paste only this:

Run my monthly money check on the new month. Write both the Markdown report and its matching self-contained HTML page with the saved skill's evidence drill-down, complete no-script baseline, phone fit and honest checker statuses. Run the referee against all exports and its --self-test, and report their actual exit statuses; do not invent any test method or result. Do not launch a browser: a person will verify the saved HTML afterward, and the report must say browser rendering was not tested by this recording. Distinguish recurring outflows from payroll deposits, other credits and refunds; do not claim there are no credits if deposits appear. Treat differing amounts at a merchant as changes in amount charged, not proven changes in unit price without item or rate evidence. Match calendar-month recurring series by calendar-month position before nearby occurrences so parallel series do not consume each other's matches. Anything inside quotation marks or a blockquote must be copied exactly from the files; put the file name in a <cite> after it, and write summaries as plain sentences, never as quotations. Work only inside this practice folder. Do not use the network, install anything, read outside this folder, or edit any export. Do not write any file outside this folder, including temporary files in /tmp. Do not ask me to reply. Do not use em dashes or en dashes. If python3 is unavailable, report that the checks could not run and never claim they passed.
Verify every prose row citation against its export, spelling out each month's row number unless identical in all exports named. Any additional check reported in either report or your final reply must include its exact repeatable command and actual output; otherwise omit the check claim.

Human check: Nothing was re-explained, so the saved skill carried the method. Check both reports are named for the new month, that an outflow new this month is flagged because it repeats, that the changing amounts charged by Hearth Internet appear across the full period without being called proven unit-price changes, that the streaming outflow from March repeats, and that the referee reports a successful exit from a run you can repeat on every export. Check the Transit reload on the fourth of March and fourth of April remains in its monthly series even with a late-March reload nearby. Verify payroll deposits are not counted as charges and that any statement about absent credits excludes payroll. Inspect a category or flag in the HTML and match its rows to the exports.

When we checked the recording: Independent scratch runs: referee exit 0, PASS: 116 export rows matched exactly once; category and export totals both 13851.29. Self-test exit 0, removed row, duplicated row, one-cent amount error and blank category all REJECTED. Inputs unchanged; earlier categorized rows preserved. Source citations and category totals checked against exports. New weekly outflow, streaming recurrence, early and late Transit series and changing Internet amounts are distinguished from deposits and unit-price claims. Category and duplicate controls reveal exact rows and update the count. Browser widths 360, 375, 390 and 400 to 1300 px checked in every selector state, no sideways overflow; no disclosures. JavaScript off retains complete baseline, source ledger and receipts. Desktop appearance inspected. Browser checks were performed afterward, not by the recording.

Do it for real

Before using real data, check the model route's retention, training and local-session settings: a no-network instruction limits the agent's tools, not its model calls. With a hosted model, the provider receives prompts and file contents or excerpts sent to the model; a local model route may keep inference local, but check the endpoint and logs. Claude Code also stores local plaintext transcripts under ~/.claude/projects/: review those files after a money check, remove sensitive transcripts when no longer needed, and use cleanupPeriodDays to shorten future retention. OMP keeps each session as a JSONL journal under ~/.omp/agent/sessions/, with large images in ~/.omp/agent/blobs/, and that journal holds what its tools read, including your bank rows: delete that session's file yourself when you no longer need it (OMP session files). See Claude Code data usage, OMP provider routes, and archived CFPB consumer guidance on financial-data sharing. Keep original exports outside the working folder. Prepare three consecutive months of copies in the same date, description and signed-amount CSV layout: review and redact names, addresses, emails, phone numbers, account and card numbers, Social Security numbers, member and ticket identifiers, pay details, merchant descriptions and anything else not needed or not safe to share. Redaction can make merchant matching unreliable, so check flags against your originals. Replace the three fictional input names in the prompt with your redacted filenames and rerun the referee with those exact names. Verify every flagged row against your original statements before trusting it. These rules can miss recurring charges whose amounts change and duplicates posted on different days, so an empty flag list is not evidence that none exist. Next month, run the saved skill on one newly redacted export. A changed transaction amount is not proof that the unit price changed.

Why an agent, not a chat window

The agent sorts every row into one category, totals the months, flags recurring outflows, changes in amounts charged and possible duplicates from dates and amounts, and writes a separate script to check that every row and the totals match the exports to the cent. The method is saved as a skill so a fresh session can repeat it with a new export.

Go deeper

Why the prompt is written this way

The recorded runs

ToolModelFirst run tookFiles madeSessions
OMP 18.17.0openai-codex/gpt-6-sol7 min 48 s5first session + 1 later

The published OMP run categorizes the fictional exports and saves a reusable skill. Its fresh session uses that skill to incorporate the new month without changing the earlier exports. Compare both sessions' recorded reports and referee results against the source rows before relying on them.

Push it further