Agent skill

Deutsche Bahn

by borski in borski/travel-hacking-toolkit

Deutsche Bahn train schedules, journey planning, and departures across Germany and into neighboring countries (Austria, Switzerland, Netherlands, France, Belgium).

MITAuto-check passed

Install Deutsche Bahn

skills CLI
$ npx skills add borski/travel-hacking-toolkit --skill deutsche-bahn -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borski/travel-hacking-toolkit deutsche-bahn --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borski/travel-hacking-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/travel-hacking-toolkit/skills/deutsche-bahn .claude/skills/deutsche-bahn && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
deutsche-bahn
GitHub stars
688
Token cost
~1.5k tokens
SKILL.md length
554 words
Files
4 (incl. scripts)
Skills in repo
46
Repo updated
First seen
Licence
MIT

At a glance

Deutsche Bahn train schedules, journey planning, and departures across Germany and into neighboring countries (Austria, Switzerland, Netherlands, France, Belgium).

  • ICE/IC/regional rail planning and airport ground transport (FRA
  • SKILL.md covers Setup, Commands, Key Station IDs and Common Airport-to-Germersheim…, plus 4 more sections
  • Runs JavaScript scripts from its folder; calls node and npm

What it does

Deutsche Bahn is an agent skill from borski/travel-hacking-toolkit. Deutsche Bahn train schedules, journey planning, and departures across Germany and into neighboring countries (Austria, Switzerland, Netherlands, France, Belgium). Use for ICE/IC/regional rail planning and airport ground transport (FRA, MUC).

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `package-lock.json` and `package.json`).

The repository describes itself as: AI-powered travel hacking and search with cash, points, miles, and award flights. Drop-in skills and MCP servers for Claude, Codex, and OpenCode. The licence is MIT.

When your agent uses it

  • ICE/IC/regional rail planning and airport ground transport (FRA

Example prompts

  • “/deutsche-bahn”

Requirements

  • Node.js
  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit db82131. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Deutsche Bahn loads about 1.5k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 554 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from borski/travel-hacking-toolkit at commit db82131, republished under its MIT licence (© borski). 554 words, ~1,543 tokens.

Download SKILL.mdSave it as .claude/skills/deutsche-bahn/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
deutsche-bahn
description
Deutsche Bahn train schedules, journey planning, and departures across Germany and into neighboring countries (Austria, Switzerland, Netherlands, France, Belgium). Use for ICE/IC/regional rail planning and airport ground transport (FRA, MUC).
category
destinations
summary
Deutsche Bahn (DB) train search across Germany and into AT/CH/NL/FR/BE via the open-source db-vendo-client. Stations, journeys, departure boards. No API key…
license
MIT

Deutsche Bahn Skill

Search German train schedules and plan journeys using the db-vendo-client library (open-source client for bahn.de APIs).

No API key required. No Docker. Just Node.js.

Source: db-vendo-client — wraps bahn.de's internal APIs.

Setup

bash
cd skills/deutsche-bahn && npm install

Commands

Find station IDs by name:

bash
node skills/deutsche-bahn/scripts/search_trains.mjs stations "Frankfurt Flughafen"
Journey Planning

Search train routes between two stations (by ID or name):

bash
# By station ID
node skills/deutsche-bahn/scripts/search_trains.mjs journeys 8070003 8000376 --date 2026-05-05 --time 10:00 --results 5

# By station name (auto-resolves to ID)
node skills/deutsche-bahn/scripts/search_trains.mjs journeys "Frankfurt Airport" "Germersheim" --date 2026-05-05
node skills/deutsche-bahn/scripts/search_trains.mjs journeys "Amsterdam Centraal" "Mannheim Hbf" --date 2026-05-15 --time 09:00
node skills/deutsche-bahn/scripts/search_trains.mjs journeys "Paris Est" "Mannheim" --date 2026-05-05
Departure Board

Check upcoming departures from any station:

bash
node skills/deutsche-bahn/scripts/search_trains.mjs departures "Mannheim Hbf" --results 10
node skills/deutsche-bahn/scripts/search_trains.mjs departures 8070003 --date 2026-05-05 --time 14:00

Key Station IDs

German Airports
AirportStation IDStation NameNotes
Frankfurt (FRA)8070003Frankfurt(M) Flughafen FernbfLong-distance (ICE/TGV)
Frankfurt (FRA)8070004Frankfurt(M) Flughafen RegionalbfRegional trains
Munich (MUC)8004154München Flughafen TerminalS-Bahn to München Hbf
Düsseldorf (DUS)8001585Düsseldorf FlughafenS-Bahn + RE
Cologne/Bonn (CGN)8003330Köln/Bonn FlughafenICE station
Berlin (BER)8089021Flughafen BER Terminal 1-2FEX + RE + S-Bahn
Stuttgart (STR)8005773Flughafen/MesseS-Bahn to Stuttgart Hbf
Hamburg (HAM)8002549Hamburg AirportS-Bahn
Major Stations
CityStation IDName
Frankfurt Hbf8000105Frankfurt(Main)Hbf
Mannheim Hbf8000244Mannheim Hbf
Germersheim8000376Germersheim
Karlsruhe Hbf8000191Karlsruhe Hbf
Stuttgart Hbf8000096Stuttgart Hbf
München Hbf8000261München Hbf
Berlin Hbf8011160Berlin Hbf
Köln Hbf8000207Köln Hbf
Düsseldorf Hbf8000085Düsseldorf Hbf
Hamburg Hbf8002549Hamburg Hbf
Heidelberg Hbf8000156Heidelberg Hbf
Speyer Hbf8000076Speyer Hbf
International Stations (reachable by DB trains)
CityStation IDNameTrain from Germany
Amsterdam Centraal8400058Amsterdam CentraalICE from Frankfurt ~4h
Paris Est8700011Paris EstTGV/ICE from Frankfurt ~4h
Zürich HB8503000Zürich HBICE from Frankfurt ~4h
Basel SBB8500010Basel SBBICE from Mannheim ~2.5h
Strasbourg8700018StrasbourgTGV/RE from Karlsruhe ~40min
Brussels Midi8814001Bruxelles-Midi/Brussel-ZuidICE from Frankfurt ~3.5h
Wien Hbf8100003Wien HbfICE from München ~4h
Praha hl.n.5400014Praha hlavní nádražíEC from München/Berlin

Common Airport-to-Germersheim Routes

From AirportRouteTypical DurationTransfers
Frankfurt (FRA)ICE → Mannheim → S3 Germersheim78–105 min1
Stuttgart (STR)S-Bahn → Stuttgart Hbf → ICE Mannheim → S3~2h 30m2
Munich (MUC)S-Bahn → München Hbf → ICE Mannheim → S3~3h 45m2
Paris CDGRER → Paris Est → TGV Mannheim → S3~4h 30m2-3
Amsterdam (AMS)Train → Amsterdam CS → ICE Mannheim → S3~5h2
Zürich (ZRH)Train → Zürich HB → ICE Mannheim → S3~4h2
Show full SKILL.md (201 more words)Show less

Parameters

ParamFlagDefaultDescription
Date--dateTodayYYYY-MM-DD format
Time--time08:00HH:MM, departure time
Results--results5 (journeys), 10 (departures)Number of results

Coverage

  • All German trains: ICE, IC/EC, RE, RB, S-Bahn
  • International: ICE to AMS/Brussels/Paris/Zürich/Wien, TGV to Paris, Eurostar connections
  • Local transit: S-Bahn, U-Bahn, trams, buses (if DB data includes them)

Limitations

  • No pricing. DB does not expose ticket prices via API. For fares, check bahn.de directly or use the Trainline API.
  • Rate limits. DB's backend enforces low rate limits. Keep queries reasonable (a few per minute, not hundreds).
  • Schedule data only. Real-time delays are shown when available, but historical data is not retained.
  • Future schedules. DB typically publishes schedules ~6 months out. Dates beyond that may return no results.

When to Use

Load this skill when:

  • Planning train connections from a European gateway airport to a destination in Germany
  • Checking ICE/TGV schedules between major cities
  • Finding last-mile S-Bahn/regional connections (e.g., Mannheim → Germersheim)
  • Comparing train travel time from different airports to decide which to fly into
  • Looking up departure boards at a station

Do NOT use for:

  • Booking tickets (search only — book at bahn.de or trainline.com)
  • Flight searches (use Duffel, Ignav, Skiplagged, etc.)
  • Pricing (not available via API)

© borski, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in plugins/travel-hacking-toolkit/skills/deutsche-bahn of borski/travel-hacking-toolkit.

  • SKILL.md
  • package-lock.json
  • package.json
  • scripts/search_trains.mjs

Open the folder on GitHubat commit db82131

Compare with similar skills

Deutsche Bahn next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Deutsche Bahn compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deutsche Bahn this skillborski/travel-hacking-toolkit688—~1.5kAutomated safety check: PassMIT
Scheduleasgeirtj/system_prompts_leaks69k—~2.9kAutomated safety check: PassCC0-1.0
Scheduleasgeirtj/system_prompts_leaks69k—~597Automated safety check: PassCC0-1.0
Ito Trainingaffaan-m/ECC276k1 repos~1.5kAutomated safety check: PassMIT
Cron Scheduleruvnet/ruflo74k—~257Automated safety check: PassMIT
Schedulingasgeirtj/system_prompts_leaks69k—~1.4kAutomated safety check: PassCC0-1.0

Similar skills

  • Schedule

    asgeirtj/system_prompts_leaks

    Create, update, list, or run scheduled cloud agents (routines) that execute on a cron schedule.

    69k GitHub stars~2.9k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Schedule

    asgeirtj/system_prompts_leaks

    Create or update a scheduled task that runs automatically. An agent skill from asgeirtj/system_prompts_leaks.

    69k GitHub stars~597 tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Ito Training

    affaan-m/ECC

    Inspect the availability of ML training on a completed Itô compute booking and, when the canonical backend becomes available, hand off an explicitly confirmed training manifest.

    276k GitHub starsUsed in 1 repo~1.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Cron Schedule

    ruvnet/ruflo

    Schedule persistent background workers via CronCreate. An agent skill from ruvnet/ruflo.

    74k GitHub stars~257 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Scheduling

    asgeirtj/system_prompts_leaks

    Find meeting or appointment times, create private calendar holds or invitations, and reschedule or cancel events within the user's authorization.

    69k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Ray Train Distributed Training

    Orchestra-Research/AI-Research-SKILLs

    Scales PyTorch, TensorFlow and Hugging Face training from a single GPU to multi-node clusters with Ray Train, including Ray Tune sweeps and checkpoint recovery.

    13k GitHub starsUsed in 2 repos~2.7k tokens
    AI & LLM EngineeringAuto-check passed

More from borski/travel-hacking-toolkit

All 46 skills in this repo
  • Amex Travel

    borski/travel-hacking-toolkit

    Search Amex travel portal for cash prices, MR points pricing, IAP discounts, and FHR/THC hotel benefits via Patchright.

    688 GitHub stars~3.1k tokensUpdated 4 days ago
    Auto-check passed
  • Chase Travel

    borski/travel-hacking-toolkit

    Search Chase UR travel portal via Patchright for cash prices, points pricing, Points Boost offers, and Chase Edit hotel benefits.

    688 GitHub stars~2.8k tokensUpdated 4 days ago
    Auto-check passed
  • Sutochno

    borski/travel-hacking-toolkit

    Search Sutochno.ru (СУТОЧНО.РУ), a Russian short-term apartment-rental platform where you book directly from owners and pay in rubles (Mir card / bank transfer).

    688 GitHub stars~2.1k tokensUpdated 4 days ago
    Auto-check passed
  • Ticketsatwork

    borski/travel-hacking-toolkit

    Search TicketsAtWork (EBG corporate perks) for hotels, theme park tickets, attractions, and rental cars via Patchright.

    688 GitHub stars~4.2k tokensUpdated 4 days ago
    Auto-check passed
  • Vrbo

    borski/travel-hacking-toolkit

    Search VRBO (Vrbo / Expedia Group) vacation rentals including entire homes, condos, and cabins via Patchright browser automation.

    688 GitHub stars~1.7k tokensUpdated 4 days ago
    Auto-check passed
  • American Airlines

    borski/travel-hacking-toolkit

    Check American Airlines AAdvantage balance, elite status, and loyalty points via Patchright.

    688 GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed

Questions about Deutsche Bahn

What does Deutsche Bahn do?

Deutsche Bahn train schedules, journey planning, and departures across Germany and into neighboring countries (Austria, Switzerland, Netherlands, France, Belgium). Deutsche Bahn is an agent skill from borski/travel-hacking-toolkit. Deutsche Bahn train schedules, journey planning, and departures across Germany and into neighboring countries (Austria, Switzerland, Netherlands, France, Belgium).

When should I use Deutsche Bahn?

Deutsche Bahn fits situations like: ICE/IC/regional rail planning and airport ground transport (FRA.

How do I install Deutsche Bahn in Claude Code?

Run `npx skills add borski/travel-hacking-toolkit --skill deutsche-bahn -a claude-code`. Or copy the skill folder (plugins/travel-hacking-toolkit/skills/deutsche-bahn in borski/travel-hacking-toolkit) into .claude/skills/deutsche-bahn in your project. Claude Code loads it when a task matches its description.

How do I install Deutsche Bahn in Codex?

Run `npx skills add borski/travel-hacking-toolkit --skill deutsche-bahn -a codex`. Or copy the skill folder (plugins/travel-hacking-toolkit/skills/deutsche-bahn in borski/travel-hacking-toolkit) into .agents/skills/deutsche-bahn in your project. Codex loads it when a task matches its description.

Can I use Deutsche Bahn in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borski/travel-hacking-toolkit --skill deutsche-bahn -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deutsche-bahn, .gemini/skills/deutsche-bahn, .github/skills/deutsche-bahn and .opencode/skills/deutsche-bahn in your project.

What does Deutsche Bahn need to run?

Going by SKILL.md and its folder, Deutsche Bahn needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node and npm). Our summary lists: Node.js; Docker.

Does Deutsche Bahn access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Deutsche Bahn safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Deutsche Bahn use?

Deutsche Bahn is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Deutsche Bahn use?

About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Deutsche Bahn?

Skills that share tags, products or a category with Deutsche Bahn: Schedule (asgeirtj/system_prompts_leaks, 69k stars), Schedule (asgeirtj/system_prompts_leaks, 69k stars), Ito Training (affaan-m/ECC, 276k stars) and Cron Schedule (ruvnet/ruflo, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deutsche Bahn?

borski (a GitHub user) maintains it in borski/travel-hacking-toolkit, which has 688 GitHub stars. The repository holds 46 skills in this directory. The repository was last updated on October 5, 2026.

Source: borski/travel-hacking-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.