Gary Chou

experiment

Things I'm trying out: AI tools for Bible study and investing research, and fun extras for our small group.

bible study engine · runs on my mac

Bible Study Planner

Bible Study Planner turns a Bible passage into next Sunday's lesson for the Sunday School Assistant. It's a local tool that drives Claude Code through about 15 steps: an independent Bible study first, then the classroom and Solo lessons, then reviews, play-throughs and checks. When it's done, it waits for me to read its notes and press Deploy.

The study comes first

Three researchers read the passage through different lenses (text and flow, historical background, and words and theology) using public sources. A “professor” drafts the study, a critic attacks it, and a revision produces the final version. The critic checks for ten failure modes: eisegesis, allegorizing, moralism, overreaching typology, proof-texting, ignoring context, factual slips, overclaiming, missed emphasis and copyright.

The method is grammatical-historical: observation, interpretation, correlation, application. Stories are read as describing what happened, not as “be like David” morals. Any line drawn to Christ has to say what justifies it: an explicit New Testament link, a type or a theme. The study never sees the curriculum or the lessons, so it can check them honestly.

Then it writes, and checks its own work

A brief sets the big idea, the memory verse and the game lineup. Then the classroom lesson, the Story Theater art and the Solo lesson are written in parallel. Reviewers check the facts, and a comparison step flags every place where the study and the curriculum disagree. Facts are corrected to the text, interpretive differences keep the curriculum's framing with a note for the teacher, and moralizing gets reworded. Finally, bots play through every lesson in a real browser before the code checks run.

1. Ask
teacher
New run
passage, date, age group, study guide
2. Study
opus
Text & flow
Background
Words & theology
Professor
drafts the study
Critic
10-point checklist
Revise
final study, schema-checked
Independent: never reads the curriculum or the lessons.
3. Write
opus
Brief
big idea, memory verse, game lineup
Classroom lesson
Story Theater art
Solo lesson
Intake (Sonnet) paraphrases the study guide in parallel with the study.
4. Review
opus + sonnet
Fact reviews
Study vs. lesson
raises flags
Fix
Play-throughs
bots play every lesson in a browser
Checks + report
5. Ship
teacher
Review flags
preview every page
Deploy
lock, commit, push
6. Live
vercel
Classroom show
/pebbles/<lesson>
Solo journey
/pebbles/solo/<lesson>
Teacher study page
Under the hood
Dashboard & chat
localhost only; 404 in production
Runner
up to 4 steps at once, retries, resumes after usage limits
Headless Claude Code
claude -p, JSON schemas, tool allow-lists
Run folder
status + events; dashboard polls every 3 s
Schema validationFile-scope guardRepo checksSHA-256 lesson locksDeploy is the only git writer
How a passage becomes a lesson. Stacked boxes run in parallel.

Architecture

  • Local and private. A run starts from a dashboard that only answers on localhost (it returns 404 in production) or from a chat command. A detached runner works through the steps, up to four at a time. Each step writes its status, events, token use and cost to a run folder, which the dashboard polls every few seconds.
  • Every AI step is headless Claude Code (claude -p) with a prompt template, a JSON schema for its output and an allow-list of tools. Opus handles the thinking steps, and Sonnet handles summarizing, QA and quick fixes. It runs on my Claude subscription, so there's no API key to manage.
  • Guardrails. Outputs are schema-validated. A file-scope guard reverts any edit outside the run's own files. The agents can't run git, npm or curl. Lessons that have already been taught are frozen with SHA-256 locks, and Deploy is the only step allowed to touch git.
  • Resilient. A stalled step is retried once. If Claude hits a usage limit, the run waits and picks up where it left off.
  • Plain data out. Lessons and studies are typed TypeScript modules registered in the app. The classroom show, the Solo journey and the teacher's study page are generated from them as static pages and deployed by Vercel.
Emoji Board: pinned emoji messages from small group members, one revealed to show the original sentence (sample data)
small group game · sws hub lab

Emoji Board

A playful bulletin board for our small group. You write a sentence, it gets turned into emoji, you tweak the result and pin it to the board. Everyone else sees only the emoji, and can try to guess what you meant before clicking the card to reveal the original sentence.

The conversion uses a built-in emoji dictionary rather than an AI service, so it's instant, and the board refreshes on its own as new posts come in.

Screenshot uses made-up sample posts.

Stock Smackdown: a $10k portfolio of four stocks with entry price, current price and gain, above the group leaderboard (sample data)
paper-trading contest · sws hub lab

Stock Game

A friendly stock-picking contest for our small group, called Stock Smackdown in the app. Everyone gets a pretend $10,000 to split across up to five stocks in whole percentages, with anything left over kept as cash. Each game runs 30 days, and the leaderboard ranks everyone by their return.

Each ticker can be held by only one player at a time, so good picks go first come, first served. You can also sell everything and exit early to lock in a result. Orders run on a shared paper-trading account, so the prices are real but the money isn't.

Screenshot uses made-up players and prices.

Small-cap research dashboard: a table of companies with thesis score, direction, valuation note, red flags and catalysts
ai research · runs every day

Small-Cap Investment Analysis

An AI research assistant that reads the SEC filings almost nobody else reads. A screener picks 100 neglected US small caps: roughly $300M to $2B in market value, with few or no analysts covering them. Every day, a scheduled Claude Code job pulls only the new filings (annual and quarterly reports, 8-Ks and insider trades) from SEC EDGAR.

For each company that filed, it writes a short report: a 1–10 thesis score on a strict rubric, a direction (long watch, hold or avoid), red flags, catalysts and a valuation note, followed by what changed, the bull and bear case, and open questions. It's grounded on purpose: it may use only the filings, not the web or its own memory, and any score move of two points or more has to cite the filing behind it.

There's no database. The reports are Markdown files kept in git, and a small dashboard sorts and filters them. It's research only: it never trades, and every decision stays with a person.

A personal research experiment, not investment advice.