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