← Back to Skills Marketplace
brianleach

TfL London Transit

by Brian Leach · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
523
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install tfl
Description
London TfL transit — real-time Tube arrivals, bus predictions, line status, service disruptions, journey planning, and route info for the London Underground,...
Usage Guidance
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).
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install tfl
  3. After installation, invoke the skill by name or use /tfl
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial public release — real-time Tube arrivals, bus predictions, line status, disruptions, journey planning, and route info
Metadata
Slug tfl
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 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,... It is an AI Agent Skill for Claude Code / OpenClaw, with 523 downloads so far.

How do I install TfL London Transit?

Run "/install tfl" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is TfL London Transit free?

Yes, TfL London Transit is completely free (open-source). You can download, install and use it at no cost.

Which platforms does TfL London Transit support?

TfL London Transit is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created TfL London Transit?

It is built and maintained by Brian Leach (@brianleach); the current version is v1.0.0.

💬 Comments