Timetable MD · open-source agent skill
Turn a list of stops and times into a timetable people can read at a glance.
Tell your coding agent about your route or your school week. It writes a short YAML file, checks every time, and renders a page you can print, pin up or fold into a pocket.
npx skills add isatimur/timetable-md
- Footnote letters
- Every 30 minutes
- Line diagram
- Bold PM times
- Pocket fold-out
- School week grid
- Right to left
How it works
“Make a pocket timetable for our island ferry. Two directions, winter times, and the Skerry Rock stop on request.”
-
Describe
Your agent asks for the stops, the times and the notes. It writes them as a short YAML file. It never invents a time.
stops: - Port Selkie - name: Skerry Rock note: a - Brae Head trips: - [07:10, "-", 07:40] - every: 60 until: "16:00" times: [10:00, 10:15, 10:30] -
Check
The engine checks that times increase along every trip, that every trip has a time for every stop, and that every footnote is defined.
error: ferry.yaml: 1 problem - timetables[0].trips[1]: times must increase along a trip: 09:00 at "Skerry Rock" is earlier than 09:10 at "Port Selkie" -
Print
You pick a theme from a side-by-side preview. The agent renders one HTML file. Print it, save it as PDF, or fold it.
npx github:isatimur/timetable-md \ render ferry.yaml \ --theme harbour --pocket
What is in a timetable
- Stops down, trips across. The layout riders know, with a line diagram strip that shows interchanges and loops.
- Regular runs, compressed. “Then every 30 minutes until 4:00 pm” instead of twenty columns of times.
- Footnotes by letter. Calls on request. School days only. Each letter sits on a stop, a time or a trip.
- 12-hour or 24-hour. PM times set in bold, the way printed timetables do it.
- A school week too. Days across, periods down, double lessons, breaks and a tint for every subject.
- Any script. User text is escaped, and Arabic or Hebrew timetables run right to left.
Five themes
Each theme has its own type, colour and layout. Every image here is real output from the engine. Open one to see the page itself.
Install
Claude Code plugin
/plugin marketplace add isatimur/timetable-md
/plugin install timetable-md@timetable-md
Any agent, via skills.sh
npx skills add isatimur/timetable-md
Command line
npx github:isatimur/timetable-md render ferry.yaml --out ferry.html
Node 20 or newer. Nothing else to install. Playwright is optional, for PDF export.
Examples
Five invented timetables, with invented places. Each one opens as the page the engine made.
- FerrySelkie Island FerryTwo directions, footnotes, hourly runs.
- Bus loopLanterndown Village BusA circular route with a request stop.
- RailwayKestrel Peak RailwayA mountain line as a pocket fold-out.
- SchoolYear 8, Class 8BA week grid with double lessons.
- TramFlower Valley TramA Hebrew line, set right to left.