← 返回 Skills 市场
brianleach

TfL London Transit

作者 Brian Leach · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
523
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install tfl
功能描述
London TfL transit — real-time Tube arrivals, bus predictions, line status, service disruptions, journey planning, and route info for the London Underground,...
安全使用建议
This skill appears coherent and read-only: it only needs Node (18+) and optionally a TfL API key. Before installing, verify you are comfortable granting the skill network access to api.tfl.gov.uk and avoid placing any unrelated secrets in the skill's .env file (the script will read a local .env if present). Review the script if you want to confirm there are no other external endpoints or behaviors; there are no child_process calls, no eval, and no file writes. Also note some embedded station/line names look non-standard (likely harmless but may affect accuracy). If you don't want the skill to access an API key, you can run it without TFL_API_KEY (the author documents that basic usage works but is rate-limited).
功能分析
Type: OpenClaw Skill Name: tfl Version: 1.0.0 The OpenClaw skill is designed to provide real-time London TfL transit data. The `scripts/tfl.mjs` file, which contains all the logic, uses native Node.js modules and `fetch` without any external dependencies, minimizing supply chain risks. User inputs are consistently sanitized using `encodeURIComponent()` before being included in API URLs, preventing injection vulnerabilities. The skill only communicates with the official `api.tfl.gov.uk` endpoint, and the optional `TFL_API_KEY` is handled securely as a query parameter. There is no evidence of data exfiltration, malicious execution (e.g., `eval`, `child_process`), persistence mechanisms, or obfuscation. The `SKILL.md` and `README.md` files contain clear, benign instructions for the AI agent, focusing solely on the skill's intended purpose without any prompt injection attempts to subvert the agent's behavior.
能力评估
Purpose & Capability
Name/description (TfL London transit) align with the included files and runtime behavior: the script queries TfL's REST API, parses responses, and presents status/arrivals/journey data. Required binary (node) and primaryEnv (TFL_API_KEY) match the stated purpose.
Instruction Scope
SKILL.md instructs the agent to use the provided Node CLI script for TfL queries. The script's actions (GET requests to api.tfl.gov.uk, local fuzzy station matching, optional .env read for TFL_API_KEY) are within that scope and do not attempt to read unrelated system files or transmit data to unexpected endpoints.
Install Mechanism
No install spec — code is provided as files to be placed in the skills directory. There are no external downloads, no npm dependencies, and no archive extraction. This is low risk for installation mechanism.
Credentials
The only declared credential is TFL_API_KEY (optional per the docs). The script reads a local .env (if present) and process.env for that key; it does not request unrelated secrets or other credentials. This is proportionate to the stated functionality.
Persistence & Privilege
The skill is not always-included and does not request elevated privileges. It does not modify other skills or system-wide settings. It only reads .env and uses the network to call api.tfl.gov.uk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tfl
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tfl 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release — real-time Tube arrivals, bus predictions, line status, disruptions, journey planning, and route info
元数据
Slug tfl
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

TfL London Transit 是什么?

London TfL transit — real-time Tube arrivals, bus predictions, line status, service disruptions, journey planning, and route info for the London Underground,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 523 次。

如何安装 TfL London Transit?

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

TfL London Transit 是免费的吗?

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

TfL London Transit 支持哪些平台?

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

谁开发了 TfL London Transit?

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

💬 留言讨论