Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-irail

БесплатноБез исполняемых скриптовНе проверен

Every Belgian rail lookup the existing tools offer, plus transfer-risk, delay history and accessibility data that none of them have. Trigger phrases: `next…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

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:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install irail --cli-only
    
  2. Verify: irail-pp-cli --version
  3. Ensure the reported install directory is on $PATH for 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 --agent
    
  • disruptions 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 --agent
    
  • stations 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 --agent
    
  • observe — 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-Central
    
  • changes — Reports new delays, cancellations and platform changes since the last time you looked.

    _Use this for de

Полный SKILL.md на GitHub

Установить pp-irail в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-irail?

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`.

Как установить скилл pp-irail?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-irail запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-irail с