tobiasbischoff

Deutsche Bahn CLI

生活服务v1.0.0
作者:tobiasbischoff更新于 2026-05-17bahn@clawhub_tobiasbischoff/bahn
旅行规划#Travel Planning

据 AlphaMoat 统计,截至 2026-09,Deutsche Bahn CLI 累计下载 3,441 次、获 0 个星标,在全部 5,078 个 AI 技能中排名第 3,232 位,在「生活服务」分类(246 个)中排名第 150 位。

累计安装
107
累计下载
3,441
星标
-
全站排名
#3,232
全站前 64% · 「生活服务」前 61%
平台累计安装累计下载星标评论
ClawHub ↗1073,441--
SkillHub ↗1063,303-—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文列出站点、日期和时间等搜索输入,并说明结果可包含出发与到达信息、站台、行程时长、换乘和中途停靠。该技能会从指定的本地项目路径安装并运行代码;使用前必须审查 bahn-cli 项目和依赖,确认其来源可信。不要把查询结果当成已订票或实时保证。

资料发布于 2026-10-29

可以用来做什么

  • 查询德国车站之间的列车连接
  • 比较候选行程的出发时间和换乘情况
  • 审查本地 bahn-cli 项目来源后再运行

什么时候用

  • 需要规划德国境内的铁路出行时
  • 本地 bahn-cli 项目和依赖已通过审查时
  • 查询结果可由用户进一步核验时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

查询德国车站之间的候选连接,不要订票
汇总结果中的换乘和到达信息
先检查本地 CLI 项目的来源,再说明如何运行

月度数据趋势

累计下载3,441
1,9772,7633,5492026-03 · 累计下载 2,0852026-05 · 累计下载 2,6742026-06 · 累计下载 2,8262026-07 · 累计下载 3,0872026-08 · 累计下载 3,2932026-09 · 累计下载 3,44126-0326-09
星标-
0112026-03 · 星标 -2026-05 · 星标 -2026-06 · 星标 -2026-07 · 星标 -2026-08 · 星标 -2026-09 · 星标 -26-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,441—-
2026-083,293+6.7%-
2026-073,087+9.2%-
2026-062,826+5.7%-
2026-052,674—-
2026-032,085—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

1.7 KB · ClawHub v1.0.0
---
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".
---

# Deutsche Bahn CLI

Search train connections using the `bahn-cli` tool.

## Installation
展开全部(共 67 行)

The tool should be installed globally or in the workspace. If not installed:

```bash
cd ~/Code/bahn-cli && npm install
```

## Usage

Search train connections:

```bash
cd ~/Code/bahn-cli && node index.js search "<from>" "<to>" [options]
```

### Options

- `--date YYYY-MM-DD` - Departure date (default: today)
- `--time HH:MM` - Departure time (default: current time)
- `--results <number>` - Number of results to show (default: 5)

### Examples

Search connections from Hannover to Bonn:
```bash
cd ~/Code/bahn-cli && node index.js search "Hannover Hbf" "Bonn Hbf" --results 3
```

Search with specific date and time:
```bash
cd ~/Code/bahn-cli && node index.js search "Berlin" "München" --date 2026-02-05 --time 14:30
```

## Station Names

- Use common German station names
- "Hbf" means Hauptbahnhof (main station)
- Examples: "Berlin Hbf", "München Hbf", "Frankfurt(Main)Hbf", "Köln Hbf"
- Station names are case-insensitive

## Output

The tool shows:
- Departure and arrival times
- Platform numbers
- Duration
- Number of changes
- Intermediate stops for connections with changes
- Train numbers (ICE, IC, RE, etc.)

## Notes

- The CLI uses the db-vendo-client library
- Some station names in output may show "undefined" (cosmetic issue, doesn't affect functionality)
- Direct connections are listed first
- Times are in 24-hour format

「生活服务」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。