Operations
Cards, waybills and traffic: the paperwork and software that decide which cars move in a session, and how a new car joins them.
The first operating session ran on Post-it flags. Since then AI has helped with nearly every layer of operations, and this is the topic where one rule mattered most: decide which system is the master of each fact, and let the others copy it.
01Car cards from photos
- Tool
- Cursor, later Claude
- When
- Summer 2026 on
- Status
- A repeatable workflow
The job
A railroad that runs needs car cards and waybills. I had a roster and photographs of the fleet, but no cards.
What AI did
Each photo was cropped and its reporting marks read by OCR and matched against the roster. The small stencils gave up details such as built dates and weights. Each photographed car got a printed card with its own picture, and waybills were worked out for the industries and moves on the layout.
What came out
One of the biggest workflows on the project and one of the best uses of AI on it. What began as a one-time job now starts from a photo: a small tool crops it, reads what it can, asks about the rest and queues a card to print.
- Worked well: reading marks and stencils across a whole fleet, and cards that look like the car in your hand.
- Watch for: stencilled lettering is hard for a computer to read. A number it is unsure of should come to a person.
Make your own
The same workflow is a free plugin anyone can install, car-cards, for AI coding agents such as Claude Code, Cursor or Codex. It crops your photos, reads the numbers, gives you a review page to check in the browser, and prints car and locomotive cards nine to a sticker sheet. The Car Cards Plugin says what you need, how to install it and how far to trust it, and the getting-started page has the prompts.
See it: Car Cards & Waybills · The Car Cards Plugin · car-cards plugin (GitHub) · Getting started
02The traffic simulator
- Tool
- Cursor, later Claude
- When
- Summer 2026 on
- Status
- Runs every session
The job
Cars should move because shippers want them, not at random. STS, the Shipper-driven Traffic Simulator, works that way, but it needed this railroad's data, a few extra tools, and its traffic tuned so a session felt right.
What AI did
The card and waybill data became the seed for STS. AI helped extend it with a clearer operating desk, a virtual track scale for the coke hoppers and a saved session recipe, and then ran hundreds of simulated sessions, scoring each and adjusting the traffic between runs. In November STS gained a REST interface with access tokens, a Claude Code plugin built on it so an agent can check a session or find a car, and tighter sign-in and security.
What came out
Repeatable session traffic, an article in The Cannon Ball, and an operating session in November that ran well.
- Worked well: simulating more sessions than a person could fairly compare at the keyboard, and spotting where the traffic quietly got worse.
- Needed me: what "feels right" means. The score is only a stand-in for the crews' experience.
See it: Setting up car movement · sts-docker on GitHub
03The Operations Pro plugin
- Tool
- Claude
- When
- November 2026
- Status
- Public; in development
The job
Operations Pro, part of JMRI (Java Model Railroad Interface), can run a whole railroad's freight, but it is hard to read when it fails. A car sits on a track and nothing says why.
What AI did
It built a public plugin for Claude Code that sets up, checks, changes and explains an Operations Pro railroad. Its rules were checked against the JMRI 5.16 source. To prove it, the plugin built an invented railroad from a blank folder, the Juniper Falls & Northern, and the result was written up as a walkthrough of 43 cases.
What came out
A plugin anyone can install, and a walkthrough you can follow in your own copy of JMRI.
- Worked well: explaining why a car will not move, from the build report, in plain words.
- Rule: it changes files, so it shows a plan and waits for approval before writing anything.
See it: The Operations Pro plugin · The walkthrough
04Operations Pro for this railroad
- Tool
- Claude
- When
- November 2026
- Status
- On every computer
The job
Early experiments with Operations Pro in late 2025 had gone nowhere. With the plugin in hand, it was time to set it up properly.
What AI did
The locations, trains, cars and the automation that runs a whole session were rebuilt from blank, starting from where the traffic simulator left off: 13 locations, 6 trains, 99 cars, 10 locomotives and two automations. I reviewed the decisions before it went live.
What came out
The same Operations Pro railroad on all three computers. The files in the repository are the master: a session on the layout computer is brought back, looked at, and only then sent out again.
- Worked well: a rebuild that spans many screens done in one step, with a written list of every decision.
- Lesson: a setting turned off in the rebuild was quietly pushed to every computer at each deploy, until it was noticed. The repository wins, so it has to be right.
05Keeping STS and JMRI in step
- Tool
- Claude
- When
- November 2026
- Status
- In service
The job
Two systems now held the same cars: STS, which runs the sessions, and JMRI, which has the locomotives, manifests and dispatcher desks.
What AI did
I set the rule: STS is the master of where each car is, what it carries and where it is going, and JMRI is a copy. AI built a one-way sync. After a session one button sends the car positions, loads and final destinations across, and a car already on a built JMRI train is left alone. Nothing in the sync is specific to this railroad; the railroad's own values are kept as settings.
What came out
One answer to "where is that car?", whichever screen you look at.
- Worked well: a small, one-way job with a clear owner.
- Needed me: deciding which system is the master. AI can build either direction; picking one was my job.
06Letting new stock in
- Tool
- Claude
- When
- November 2026
- Status
- First batch done
The job
Adding a car had become easy, perhaps too easy. A bad crop or a misread number could reach the simulator and JMRI before anyone looked. Locomotives had no process at all.
What AI did
New stock now comes in by stages, and nothing moves on until I approve the one before.
- Photos in, cropped, numbers read
- Review sheet
- Records
- Simulator and Operations Pro
- JMRI roster
- Cards and gallery
- Decoder and speed matching
The AI looks over each photo and suggests a reading, but only suggests. Everything lands on a review sheet of thumbnails where I fix a number, mark the locomotives and approve the rest. The simulator step takes a backup and a trial run first, and each batch leaves a record of what was approved.
What came out
The first batch was ten CSX hoppers and two locomotives, CSX 2121 and 2738. It taught plenty about crops, stencilled lettering and a review sheet that needed to be editable on the page, and the lessons went straight back into the written steps.
- Worked well: AI doing the slow part, reading and checking, with a person approving in bulk.
- Lesson: the gates matter more than the automation. The first batch tested the process as well as the cars.
See it: Rolling stock photos