A comprehensive CLI tool and skill for interacting with the Dutch Railways (NS) API to plan trips and monitor train status.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install trein
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install trein using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The trein skill brings the power of the Dutch Railways (NS) API directly to your command line and AI agents. It allows for seamless querying of real-time train departures, trip planning between stations, and monitoring of service disruptions across the Netherlands. By integrating this into your collection of Openclaw Skills, you enable automated travel planning and status updates through a developer-friendly interface.
This skill focuses on speed and flexibility, offering both human-readable terminal output and structured data formats. Whether you are building a personal dashboard or an automated travel assistant, trein provides the reliable connectivity needed to navigate the Dutch rail network efficiently.
To get started with this skill, first install the package via npm:
npm i -g trein
Next, you must obtain an API key from the NS API Portal (https://apiportal.ns.nl/). Once obtained, set it as an environment variable to allow Openclaw Skills to authenticate:
export NS_API_KEY="your-api-key"
Alternatively, you can create a local configuration file at ~/.config/trein/trein.config.json containing your key:
{ "apiKey": "your-api-key" }
The skill manages configuration locally and provides structured outputs for automation.
| Data Type | Format | Description |
|---|---|---|
| Configuration | JSON | Stores the NS API key and user-defined station aliases. |
| API Response | JSON | Structured data containing departure times, platforms, and delay info when using the --json flag. |
| Station Mapping | Fuzzy Text | Maps partial strings (e.g., "adam") to official station names like Amsterdam Centraal. |
Loading
A token-efficient behavior skill designed to minimize costs and maximize speed by optimizing agent responses and tool usage.

An automated git hook that maintains a living project state document to provide instant context for AI coding agents.

A behavioral optimization protocol designed to make AI agents cost-aware, token-efficient, and logically concise.

A specialized utility to transform markdown tables into readable PNG images for messaging platforms with limited table support.

Satori provides persistent long-term memory for AI coding agents, ensuring continuity across sessions and different model providers.

A persistent long-term memory layer that ensures continuity across AI sessions and development tools by serving as a canonical source of truth.








































