brianleach

Tfl Skill — Data skill for Claude Code

Data community

Real-time London transit data for your OpenClaw agent.

How to install Tfl Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open brianleach/tfl-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Tfl Skill does

**Real-time London transit data for your OpenClaw agent.** Get Tube arrivals, bus predictions, line status, disruptions, journey plans, and route info for all TfL services.

Alternatives in Data

  • Financial Services — Reference agents, skills, and data connectors for the financial-services workflows we see most — investment ba 34.5k ★
  • Claude Code Usage Monitor — by Maciek-roboblog - A real-time terminal-based tool for monitoring Claude Code token usage 7k ★
  • 12 Services Layer — Prompt 12: Wire Up Services Layer (Analytics, Policy, Settings, Sessions) 2.3k ★

README

TfL London Transit — OpenClaw Skill

**Real-time London transit data for your OpenClaw agent.** Get Tube arrivals, bus predictions, line status, disruptions, journey plans, and route info for all TfL services.

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![Node.js 18+](https://img.shields.io/badge/node-18%2B-green.svg)](https://nodejs.org) [![ClawHub](https://img.shields.io/badge/ClawdHub-Skill-green.svg)](https://clawhub.ai)


Why This Skill?

**For anyone who rides TfL and wants:**

  • Real-time Tube arrivals — know exactly when the next train comes
  • Bus predictions — see when your bus will arrive at your stop
  • Line status at a glance — check all Tube lines in one command
  • Disruption alerts — know about delays, closures, and planned work
  • Journey planning — step-by-step directions with fare estimates
  • Stop and route lookup — find the nearest stop or explore a route's path

**How it works:** All data comes from the [TfL Unified API](https://api.tfl.gov.uk/) — a single REST JSON API that covers Tube, bus, DLR, Overground, Elizabeth line, trams, river bus, and cable car. No protobuf, no GTFS parsing, no multiple APIs. Just clean JSON.


Quick Start

Step 1: Get an API Key (free, optional)

The TfL API works without a key (rate-limited). For 500 requests/minute:

  1. Register at https://api-portal.tfl.gov.uk/
  2. Create an app to get your app_key

Step 2: Set Environment Variable

# Add to your shell profile or .env file:
export TFL_API_KEY=your-key-here

Step 3: Install the Skill

# Copy to your skills directory
cp -r tfl-skill ~/.openclaw/skills/tfl

# Or for a workspace-specific install:
cp -r tfl-skill /skills/tfl

No npm dependencies to install. No GTFS data to download. Ready to use immediately.


What You Can Do

Line Status

  • Check all Tube lines at a glance — Good Service, Minor Delays, etc.
  • See all TfL modes (Tube + DLR + Overground + Elizabeth