使用 bahn-cli 工具搜索 Deutsche Bahn 火车连接。当您需要查找德国车站之间的火车连接、检查出发时间或帮助制定旅行计划时使用。适用于“Berlin Hbf”、“München”、“Hannover”等车站名称。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install bahn或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install bahn⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/bahn/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: bahn description: Search Deutsche Bahn train connections using the bahn-cli tool. Use when you need to find train connections between German stations, check departure times, or help with travel planning. Works with station names like "Berlin Hbf", "München", "Hannover". ---
Search train connections using the bahn-cli tool.
The tool should be installed globally or in the workspace. If not installed:
cd ~/Code/bahn-cli && npm install
Search train connections:
cd ~/Code/bahn-cli && node index.js search "<from>" "<to>" [options]
--date YYYY-MM-DD - Departure date (default: today)--time HH:MM - Departure time (default: current time)--results - Number of results to show (default: 5)Search connections from Hannover to Bonn:
cd ~/Code/bahn-cli && node index.js search "Hannover Hbf" "Bonn Hbf" --results 3
Search with specific date and time:
cd ~/Code/bahn-cli && node index.js search "Berlin" "München" --date 2026-02-05 --time 14:30
The tool shows:
安装 德国铁路 CLI 后,可以对 AI 说这些话来触发它
Help me get started with Deutsche Bahn CLI
Explains what Deutsche Bahn CLI does, walks through the setup, and runs a quick demo based on your current project
Use Deutsche Bahn CLI to search Deutsche Bahn train connections using the bahn-cli tool
Invokes Deutsche Bahn CLI with the right parameters and returns the result directly in the conversation
What can I do with Deutsche Bahn CLI in my data & analytics workflow?
Lists the top use cases for Deutsche Bahn CLI, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/bahn/ 目录(个人级,所有项目可用),或 .claude/skills/bahn/(项目级)。重启 AI 客户端后,用 /bahn 主动调用,或让 AI 根据上下文自动发现并使用。
德国铁路 CLI 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
德国铁路 CLI 可免费安装使用。请查阅仓库了解许可证信息。
使用 bahn-cli 工具搜索 Deutsche Bahn 火车连接。当您需要查找德国车站之间的火车连接、检查出发时间或帮助制定旅行计划时使用。适用于“Berlin Hbf”、“München”、“Hannover”等车站名称。
德国铁路 CLI 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Deutsche Bahn CLI
Identifies repetitive steps in your workflow and sets up Deutsche Bahn CLI to handle them automatically