pp-irail
FreeNo executable scriptsNot checkedEvery Belgian rail lookup the existing tools offer, plus transfer-risk, delay history and accessibility data that none of them have. Trigger phrases: `next…
by mvanhorn★ 2,170 GitHub starsAbout this skill
iRail — Printing Press CLI
Prerequisites: Install the CLI
This skill drives the irail-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install irail --cli-only - Verify:
irail-pp-cli --version - Ensure the reported install directory is on
$PATHfor the agent/runtime that will invoke this skill.
If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.5 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:
go install github.com/mvanhorn/printing-press-library/library/travel/irail/cmd/irail-pp-cli@latest
If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.
iRail exposes live NMBS/SNCB departures, journey planning and disruptions for free with no API key. This CLI adds what every other client throws away: it records observations locally so punctuality can answer whether a train is chronically late, joins the open stations dataset so transfer-risk knows the real minimum transfer time at each station, and surfaces station accessibility data the API never returns. The analysis commands emit typed JSON - delays as numbers, cancellations as booleans - while the raw endpoint commands pass iRail's payload through unchanged.
When to Use This CLI
Use this CLI for anything involving Belgian passenger rail: when the next train leaves, how to get from one station to another, whether a journey is disrupted, and how reliable a route has been over time. It is the right tool when you need typed, scriptable output rather than a web page, and the only tool that can answer historical punctuality or transfer-risk questions. It also serves accessibility questions about Belgian stations that the live API cannot answer.
Anti-triggers
Do not use this CLI for:
- Do not use this CLI to buy tickets, reserve seats or check fares; iRail is a read-only timetable API with no booking surface.
- Do not use it for rail networks outside Belgium; coverage is NMBS/SNCB plus a small number of cross-border stations.
- Do not use it for live vehicle GPS positions; the API reports scheduled and delayed times, not continuous tracking.
- Do not use it to query personal NMBS account data such as subscriptions or order history; that lives behind belgiantrain.be, which this CLI does not touch.
Unique Capabilities
These capabilities aren't available in any other tool for this API.
Live data joined with open datasets
transfer-risk— Tells you whether the transfers in a journey still hold once today's delays are applied.Reach for this instead of a plain route lookup whenever a journey has a transfer and delays are already in play.
irail-pp-cli transfer-risk --from Oostende --to Hasselt --agentdisruptions route— Filters the national disruption feed down to the stations your journey actually passes through.Use this when the national list is too noisy to answer whether one specific trip is affected.
irail-pp-cli disruptions route --from Ghent-Sint-Pieters --to Brussels-Central --agentstations facilities— Reports step-free access, elevators, ramps, lockers, bike parking and ticket-desk hours for a station.Use this for accessibility and amenity questions that the live rail API simply cannot answer.
irail-pp-cli stations facilities --station Ghent-Sint-Pieters --agent
Local state that compounds
punctuality— Shows how reliable a train or route has actually been, from delay observations recorded on your machine.Use this for questions about the past such as chronic lateness; it never calls the API.
irail-pp-cli punctuality --from Ghent-Sint-Pieters --to Brussels-Central --board-type route --agentobserve— Records what the board says right now into local SQLite, building the history other commands read.Run this on a schedule; it is what makes punctuality and changes able to answer anything.
irail-pp-cli observe --station Brussels-Centralchanges— Reports new delays, cancellations and platform changes since the last time you looked._Use this for de
Install pp-irail in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
ReadBashFAQ
What does the pp-irail skill do?
Every Belgian rail lookup the existing tools offer, plus transfer-risk, delay history and accessibility data that none of them have. Trigger phrases: `next train from Brussels-Central`, `when is my train to Ghent`, `is my train delayed`, `are there any rail disruptions in Belgium`, `plan a train journey from Leuven to Antwerp`, `will I make my transfer`, `use irail`, `run irail`.
How do I install the pp-irail skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the pp-irail skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic