← 返回 Skills 市场
jabbslad

UK Trains

作者 Jabbslad · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1995
总下载
2
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install uk-trains
功能描述
Query UK National Rail live departure boards, arrivals, delays, and train services. Use when asked about train times, departures, arrivals, delays, platforms, or "when is the next train" for UK railways. Supports all GB stations via Darwin/Huxley2 API.
安全使用建议
This skill appears to implement what it says (query UK train boards) but there are a few things to check before installing or enabling it: - Expect to provide a NATIONAL_RAIL_TOKEN (Darwin API token). The registry metadata currently omits this — verify the skill will not be run without your consent. Store the token in a scoped place (skill config) rather than a broadly-shared environment variable when possible. - The bash CLI relies on curl and jq; ensure those are available and trustworthy on the host. - The bash script allows overriding HUXLEY_URL via the HUXLEY_URL environment variable. Do not set HUXLEY_URL to an untrusted endpoint — an attacker-controlled endpoint could receive your token and data. Prefer the default Huxley/Darwin endpoints or the Python SOAP client which calls realtime.nationalrail.co.uk directly. - Review the scripts locally (they are provided) and test with a throwaway token first. If you need higher assurance, ask the publisher to update the registry metadata to declare required env vars (NATIONAL_RAIL_TOKEN) and required binaries (curl, jq) so the platform can surface them to users. Because of the mismatched metadata and the endpoint-override option, treat this as suspicious until those issues are clarified.
功能分析
Type: OpenClaw Skill Name: uk-trains Version: 1.0.0 The skill bundle is benign. Both `scripts/trains.sh` and `scripts/trains.py` interact with legitimate National Rail API endpoints (`huxley2.azurewebsites.net` and `lite.realtime.nationalrail.co.uk`) to query train information, as stated in `SKILL.md`. The `NATIONAL_RAIL_TOKEN` is read from the environment and sent to these APIs, which is an expected and documented behavior for the skill's functionality. There is no evidence of data exfiltration to unauthorized endpoints, malicious execution, persistence mechanisms, or prompt injection attempts against the agent in `SKILL.md`.
能力评估
Purpose & Capability
The name/description (UK live departures/arrivals via Darwin/Huxley) matches the included Python and Bash CLIs that call National Rail/Huxley endpoints. However the registry metadata claims no required env vars or binaries while the SKILL.md and scripts require NATIONAL_RAIL_TOKEN and rely on curl/jq; this mismatch is unexpected and should be corrected.
Instruction Scope
SKILL.md and the scripts instruct the agent to call the National Rail Darwin SOAP endpoint (python) or Huxley2 REST endpoint (bash) using an API token. The instructions access the environment variable NATIONAL_RAIL_TOKEN even though the registry metadata doesn't declare it. The bash script also permits overriding HUXLEY_URL via environment, which could cause network traffic (including the token) to be sent to an arbitrary endpoint if misconfigured.
Install Mechanism
There is no install spec (instruction-only), which minimizes install-time risk. The package does include executable scripts on disk; the bash script assumes presence of curl and jq but the registry did not declare these required binaries—this is a gap in declarations rather than direct malicious behavior.
Credentials
The only runtime secret required by the code is NATIONAL_RAIL_TOKEN (appropriate for calling Darwin/Huxley APIs). That is proportionate to purpose, but the skill metadata failing to declare it is a red flag. Additionally, HUXLEY_URL can be set externally; if set to an attacker-controlled URL it could receive the token and responses. No other unrelated credentials are requested.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and does not persist new credentials or write to global configuration. It runs as a CLI and makes outbound HTTP(S) calls only when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install uk-trains
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /uk-trains 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: UK National Rail departures/arrivals via Darwin API
元数据
Slug uk-trains
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

UK Trains 是什么?

Query UK National Rail live departure boards, arrivals, delays, and train services. Use when asked about train times, departures, arrivals, delays, platforms, or "when is the next train" for UK railways. Supports all GB stations via Darwin/Huxley2 API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1995 次。

如何安装 UK Trains?

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

UK Trains 是免费的吗?

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

UK Trains 支持哪些平台?

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

谁开发了 UK Trains?

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

💬 留言讨论