Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Query Dutch Railways (NS) for train departures, trip planning, disruptions, and station search via the trein CLI.
Query Dutch Railways (NS) for train departures, trip planning, disruptions, and station search via the trein CLI.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
A CLI for the NS (Dutch Railways) API with real-time departures, trip planning, disruptions, and station search.
npm (recommended): npm i -g trein Or download a standalone binary from GitHub Releases.
Get an API key from https://apiportal.ns.nl/ and set it: export NS_API_KEY="your-api-key" Or create ~/.config/trein/trein.config.json: { "apiKey": "your-api-key" }
trein departures "Amsterdam Centraal" trein d amsterdam trein d amsterdam --json # structured output
trein trip "Utrecht" "Den Haag Centraal" trein t utrecht denhaag --json
trein disruptions trein disruptions --json
trein stations rotterdam trein s rotterdam --json
trein alias set home "Amsterdam Centraal" trein alias set work "Rotterdam Centraal" trein alias list trein d home # uses alias
Use --json flag for all commands to get structured output for parsing Station names support fuzzy matching (e.g., "adam" -> "Amsterdam Centraal") Aliases are stored in the config file and can be used in place of station names
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.