Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Searches Deutsche Bahn train connections between German stations using the bahn-cli command-line tool. Returns departure and arrival times, platform numbers, duration, transfer count, and train numbers (ICE, IC, RE) for routes across Germany.
Gets Deutsche Bahn schedule data directly from the command line without opening a browser or the DB Navigator app.
When to use it
- Finding the next train from Berlin to Munich this afternoon
- Checking how many transfers a route requires before booking
- Looking up platform numbers before heading to the station
- Searching connections for a specific future date and departure time
- Comparing travel options between two German cities
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: What trains run from Hannover to Bonn tomorrow at 9am?
- 1Identify origin as 'Hannover Hbf' and destination as 'Bonn Hbf'
- 2Determine tomorrow's date and format it as YYYY-MM-DD
- 3Run: cd ~/Code/bahn-cli && node index.js search "Hannover Hbf" "Bonn Hbf" --date 2026-03-20 --time 09:00 --results 5
- 4Parse output for departure times, arrival times, duration, and number of changes
- 5Present connection options with platform numbers and train types
A list of train connections with departure and arrival times, total duration, number of changes, and train numbers
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.