Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- Added license, homepage, and author metadata to SKILL.md. - Introduced explicit version ("1.1.0") in the metadata block. - Declared OpenClaw requirements for binaries and installation methods (brew and go). - Appended an Installation section with brew instructions at the end of SKILL.md. - No changes made to CLI usage, workflows, or command documentation.
What This Skill Does
Command-line interface for querying Belgian railway (NMBS/SNCB) data via the public iRail API. Covers departures, arrivals, connections, train compositions, and service disruptions. No account or API key required.
The iRail API is free and unauthenticated, so this CLI gives immediate access to live Belgian rail data without browser navigation or app installs.
When to use it
- Checking next train departure from Brugge before leaving home
- Planning a route from Ghent to Leuven with transfer options
- Verifying which platform a train departs from
- Checking current disruptions before a morning commute
- Scripting delay alerts by piping JSON output through jq
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: What are the next trains from Brugge to Leuven, and are any delayed?
- 1Run `irail connections Brugge Leuven --json` to fetch upcoming connections
- 2Parse JSON output with jq to extract departure times and delay values
- 3Run `irail liveboard Brugge --json` to check platform assignments and delays
- 4Filter results where delay > 0 to identify affected trains
- 5Format and return a summary of next departures with delay status
List of upcoming Brugge–Leuven connections with departure times, transfer count, and any current delays in minutes