Inspiration Most students don't go broke from one big purchase. We lose our budget at 1:47 AM, $26 at a time: boba delivery, a gadget from a TikTok ad, an app we forgot to cancel. Budgeting apps tell you this with pie charts, then try to keep you engaged with streak confetti and notifications. We wanted the opposite: an app that makes the real cost of a small purchase hard to ignore, and then rewards you by leaving you alone.
What it does PennyGeist puts The Clerk, a 19th-century phantom accountant, in charge of your spending ledger.
True cost. Every impulse buy is shown as its 10-year cost at 8%, its yearly cost if it became a weekly habit, its share of your monthly budget, and home-cooked meals. A $26.40 boba is $57.00 in ten years, or 17 meals. It never asks for your income. Essentials vs. impulses. Groceries, rent and transit pass straight through while The Clerk sleeps. Takeout, shopping and subscriptions wake him up and reset your streak. Upload Statement. Drop in a bank CSV. Every line is sorted into Condemned to the Crypt (unnecessary) or Absolved in Peace (useful) on its own page. The sample statement gives $108.94 of impulses, 18% of a $600 budget. Pre-swipe séance. Before you buy something, confess it to The Clerk, see its ten-year cost, and Walk Away or Cave In. 24-hour card freeze. One long press freezes the card. Impulse swipes are declined and your streak survives. The menu. Today's Spending (with impulse risk by hour: 78% after 10 PM), Weekly and Monthly Spending, Budgeting History, and Investment Options, which shows what your monthly impulse spend would grow to over 5 to 30 years.
The twist: it gets quieter as you get better. Haunt intensity falls as your clean streak grows. From day 9 the drone goes silent, The Clerk fades out, and the dark ledger turns to morning light. Silence is the reward.
Everything runs in the browser. No accounts, no backend, no API keys. Data stays in your browser's local storage.
How we built it
We built PennyGeist inside Kiro from the ground up, using Kiro's spec-driven workflow, steering rules, hooks, custom MCP tooling, Powers, and Kiro Crew to keep the UI, financial math, and agent behavior locked in sync:
Kiro Specs (.kiro/specs/): Before writing UI code, we structured PennyGeist into three Kiro specs (01-haunting-engine, 02-statement-upload, and 03-ledger-and-menu), each containing EARS-formatted requirements.md, design.md with four formal correctness properties, and tasks.md implementation checklists. Kiro Steering (.kiro/steering/): Three always-on steering files (product.md, tech-and-ux.md, and structure.md) enforced our gothic counting-house aesthetic (exposed 1px ledger grid, Cormorant Garamond headlines, JetBrains Mono lining numerals, zero generic SaaS cards), shared financial formulas, and an explicit "removed features" guardrail so Kiro never reintroduced cut features like income/hourly-wage prompts. Custom MCP Server (mcp-pennygeist-math/server.py + .kiro/settings/mcp.json): Rather than letting an LLM guess at compound interest or exponential decay, we built a zero-dependency JSON-RPC 2.0 MCP server exposing calculate_true_life_cost and compute_quietness_decay so Kiro computes exact figures every time. Kiro Agent Hooks & 2,000 Property-Based Tests (.kiro/hooks/pbt-quietness-and-secrets.json): A PostFileSave hook automatically runs python3 scripts/verify_all.py on every save—verifying MIT/repo compliance, zero leaked secrets, exact formula parity across web/app.js, the MCP server, and the Kiro Crew backend, plus 2,000 randomized property-based test cases (4 properties × 500 runs): Silence never gets louder: longer clean streaks never increase haunt intensity. 10-year compound math is exact: amount × 1.08¹⁰, weekly-habit cost, and meal equivalents match to the cent. Frozen card blocks every swipe: while the 24-hour freeze is active, impulses cannot alter spend or streak. Budget adds up to the cent: essentials + impulses + safe-to-spend always equals the monthly cap, and essentials never break the streak. Kiro Power & Native Kiro Crew App (kiro-power/POWER.md + crew-app/): POWER.md equips Kiro with PennyGeist's domain rules on spending keywords, while PennyGeist Haunt Scribe (pennygeist-scribe) packages a full installable Kiro Crew app (app.json, /apps/pennygeist-scribe React UI, local Python backend, pennygeist-scribe agent, pennygeist-haunt-audit skill, and a scheduled 0 20 * * SUN Sunday reckoning cron) alongside a standalone CLI scribe (crew-bots/weekly_haunt_scribe.py). Zero-Dependency Gothic Front End (web/): Built with vanilla HTML5, CSS3, and ES6 JavaScript—no external runtime dependencies, no accounts, and zero API keys—hosted on GitHub Pages. A synthesized Web Audio API sub-bass drone, HTML5 Canvas ash particle system, painted chiaroscuro portraits of The Clerk, and CSS custom properties are all driven by a single hauntIntensity curve that blooms into warm morning parchment (0 dB) by Day 9.
Challenges we ran into Making quiet feel like a reward. A silent screen can feel like a broken screen. We tied the drone volume, the ghost's opacity, the ash and the colour temperature to one haunt value, so the fade to daylight reads as earned, not as missing content. Not looking like every other dashboard. Our first version used rounded cards, purple accents and emoji. We threw it out and wrote the visual rules into steering so they'd stay. Numbers that line up. Cormorant's default old-style numerals made amounts look uneven, so every figure now uses JetBrains Mono with lining numerals. Dropping the hourly-wage metric. "Hours of your life" needs your income, which most students don't want to enter. We replaced it with the 10-year cost, weekly-habit cost, budget share and meals. Messy CSV statements. Banks label columns differently. The parser finds the description and amount columns, handles tabs and quotes, and skips card payments and transfers. Keeping three copies of the math in sync. The formulas live in JavaScript, in the MCP server and in the tests. The hook now fails if app.js drifts from the server.
Accomplishments that we're proud of An app where good behaviour is rewarded with less noise, not more. A statement upload that sorts a real bank CSV in the browser with nothing sent anywhere. 2,000 property-based test cases that run on every save, testing the same functions Kiro's agent calls through MCP. It runs for free, forever: no keys, no server, MIT licensed.
What we learned Specs and steering are most useful when you keep them current. Adding a "removed features" list to steering stopped old ideas from coming back. A hook that checks formulas across files catches the kind of bug a person doesn't notice: two numbers that are almost the same. Giving the agent an MCP tool for money math removed a whole class of wrong numbers in UI copy.
What's next for PennyGeist Build the Weekly Spending and Budgeting History pages from your stored ledger. They use sample weeks and months today. Optional bank sync and a real card freeze through a card-issuing API, kept opt-in so the app still works with no keys. An installable mobile version, so the freeze button is one tap away at 1:47 AM. Built with javascript · html5 · css3 · python · kiro · mcp · web-audio-api · canvas · localstorage · github-pages eist