timetable-md

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

A school week timetable in the class theme: pastel subject cells, a double science lesson and a marker-pen headline A ferry timetable in the harbour theme: a dashed sailing route, four tables with footnote letters and an every-hour run A pocket fold-out for a mountain railway in the rail theme: a cover with the line diagram, then the way up and the way down

How it works

“Make a pocket timetable for our island ferry. Two directions, winter times, and the Skerry Rock stop on request.”
  1. 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]
  2. 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"
  3. 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.

Harbour theme: a ferry notice with a dashed sailing route, a brass ship's wheel and small-cap serif headings
harbour Sea-chart navy, brass and signal red. For ferries and island boats.
Rail theme: a pocket fold-out with black table bars, one signal red and condensed stop names
rail Swiss precision: black bars, one red, hairline rules. Shown as a pocket fold-out.
Enamel theme: a right-to-left Hebrew tram timetable on a deep blue enamel board with a thick red line
enamel City enamel sign: deep blue boards, a thick red line. Shown right to left, in Hebrew.
Village theme: a circular village bus timetable with a yellow route badge, green boards and rounded rows
village Large friendly type, sunny yellow and bus green. Easy at arm’s length.
Class theme: a school week grid with pastel subject cells and thick ink outlines
class Planner for the classroom wall: pastel tints, thick outlines, a marker headline.

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.