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
累計下載
3441
星標
-
全站排名
#3,232
全站前 64% · 「生活服務」前 61%
平台累計安裝累計下載星標評論
ClawHub ↗1073441--
SkillHub ↗1063303-—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文列出站點、日期和時間等搜尋輸入,並說明結果可包含出發與到達資訊、站臺、行程時長、換乘和中途停靠。該技能會從指定的本地專案路徑安裝並執行程式碼;使用前必須審查 bahn-cli 專案和依賴,確認其來源可信。不要把查詢結果當成已訂票或即時保證。

資料釋出於 2026-10-29

可以用來做什麼

  • 查詢德國車站之間的列車連線
  • 比較候選行程的出發時間和換乘情況
  • 審查本地 bahn-cli 專案來源後再執行

什麼時候用

  • 需要規劃德國境內的鐵路出行時
  • 本地 bahn-cli 專案和依賴已透過審查時
  • 查詢結果可由使用者進一步核驗時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

查詢德國車站之間的候選連線,不要訂票
彙總結果中的換乘和到達資訊
先檢查本地 CLI 專案的來源,再說明如何執行

月度資料趨勢

累計下載3441
1977276335492026-03 · 累計下載 20852026-05 · 累計下載 26742026-06 · 累計下載 28262026-07 · 累計下載 30872026-08 · 累計下載 32932026-09 · 累計下載 344126-0326-09
星標-
0112026-03 · 星標 -2026-05 · 星標 -2026-06 · 星標 -2026-07 · 星標 -2026-08 · 星標 -2026-09 · 星標 -26-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093441—-
2026-083293+6.7%-
2026-073087+9.2%-
2026-062826+5.7%-
2026-052674—-
2026-032085—-

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),按月更新。口徑說明見資料方法。