← 返回 Skills 市场
tobiasbischoff

Deutsche Bahn CLI

作者 tobiasbischoff · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
2163
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install bahn
功能描述
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".
使用说明 (SKILL.md)

Deutsche Bahn CLI

Search train connections using the bahn-cli tool.

Installation

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

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

Usage

Search train connections:

cd ~/Code/bahn-cli && node index.js search "\x3Cfrom>" "\x3Cto>" [options]

Options

  • --date YYYY-MM-DD - Departure date (default: today)
  • --time HH:MM - Departure time (default: current time)
  • --results \x3Cnumber> - Number of results to show (default: 5)

Examples

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

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
安全使用建议
This skill is plausible for searching DB connections, but it assumes and executes local/unverified code. Before installing or invoking it: (1) ask for the official repository or npm package name and verify the source (GitHub or an official release), (2) ensure node/npm are installed and consider running npm install in an isolated environment (container or VM), (3) inspect package.json and lockfile for suspicious dependencies (and audit db-vendo-client), (4) avoid running node index.js in ~/Code/bahn-cli unless you trust that directory, and (5) if you want to reduce risk, request the skill be packaged with an explicit install spec (trusted release URL or published npm package) and declared runtime binaries. If you are uncomfortable running unverified code, do not install or invoke this skill.
功能分析
Type: OpenClaw Skill Name: bahn Version: 1.0.0 The skill instructs the agent to run `npm install` within the `~/Code/bahn-cli` directory. While this command is plausibly needed for setting up the `bahn-cli` tool, it represents a risky capability as `npm install` can download and execute arbitrary code from external dependencies. Since the `bahn-cli` project itself is not included in this bundle, its dependencies and potential for supply chain compromise cannot be assessed, making the instruction to execute `npm install` (found in `SKILL.md`) suspicious due to unverified external code execution.
能力评估
Purpose & Capability
The SKILL.md clearly describes using a bahn-cli tool to search Deutsche Bahn connections, which matches the name and description. However, the skill metadata declares no required binaries while the instructions assume node and npm are available and assume the code lives at a hard-coded path (~/Code/bahn-cli). The homepage/source are missing, so it's unclear where bahn-cli comes from.
Instruction Scope
The runtime instructions tell the agent to cd into ~/Code/bahn-cli, run npm install there, and execute node index.js. That means the agent will run arbitrary local JavaScript code and may download packages from npm. The instructions do not include verification steps (no checksum, repo URL, or provenance), so executing them could run untrusted code on the host.
Install Mechanism
There is no formal install spec in the registry; the SKILL.md expects a manual npm install inside a local path. This is a common developer workflow but relies on the local repo existing and on npm packages from the registry. Because the skill's source/homepage are not provided, the install origin is unknown.
Credentials
The skill requests no environment variables or credentials, which is appropriate. One minor inconsistency: required runtime binaries (node, npm) are used in the instructions but not declared in the registry metadata.
Persistence & Privilege
The skill does not request always:true and does not declare modifying other skills or system-wide settings. Autonomous invocation is allowed (platform default) but not combined with other high privileges in this skill.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bahn
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bahn 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Search DB train connections with bahn-cli tool
元数据
Slug bahn
版本 1.0.0
许可证
累计安装 1
当前安装数 0
历史版本数 1
常见问题

Deutsche Bahn CLI 是什么?

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". 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2163 次。

如何安装 Deutsche Bahn CLI?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bahn」即可一键安装,无需额外配置。

Deutsche Bahn CLI 是免费的吗?

是的,Deutsche Bahn CLI 完全免费(开源免费),可自由下载、安装和使用。

Deutsche Bahn CLI 支持哪些平台?

Deutsche Bahn CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Deutsche Bahn CLI?

由 tobiasbischoff(@tobiasbischoff)开发并维护,当前版本 v1.0.0。

💬 留言讨论