Token导航 LogoToken导航

Agent Skill · 研究检索

tfl(TFL 搜索)

tfl 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

tfl 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 8,626。

总安装 15,936周安装 664GitHub Stars 公开资料未说明下载 5,312核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tfl(TFL 搜索)
来源仓库:https://github.com/brianleach/tfl
安装命令:
openclaw skills install tfl
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tfl

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

tfl 提供伦敦地铁实时到达、巴士预测、线路状态及服务中断信息。适用于 OpenClaw 中查询交通状况、规划行程或监控服务状态。支持获取路线详情、换乘建议和自行车停靠点等出行相关数据。安装命令:openclaw skills install tfl,需确认网络访问与 API 调用权限。

建议在使用前核对数据来源更新频率及地理覆盖范围。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install tfl;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tfl 怎么安装?

在终端执行 openclaw skills install tfl。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tfl 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tfl 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

tfl 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

tfl 用的人多吗?

公开数据是累计安装 15,936 次,近一周安装 664 次,下载 5,312 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tfl 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
tfl

TFL 搜索 · 本页

15,936—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
tfl
description
London TfL transit — real-time Tube arrivals, bus predictions, line status, service disruptions, journey planning, and route info for the London Underground, DLR, Overground, Elizabeth line, and buses. Use when the user asks about London public transport, Tube times, bus arrivals, or TfL service status.
homepage
https://github.com/brianleach/tfl-skill
license
MIT
metadata
openclaw
emoji
\F1EC\F1E7
tags
[transit, london, tfl, transportation, tube, underground, bus, train, schedule]
primaryEnv
TFL_API_KEY
requires
bins
["node"]
files
["scripts/tfl.mjs"]

TfL London Transit

Real-time London TfL transit data — Tube arrivals, bus predictions, line status, disruptions, journey planning, and route information. Uses TfL's single unified REST API for all modes. API key optional (free, recommended for higher rate limits).

When to Use

  • User asks about the Tube, London Underground, TfL, or London public transport
  • User mentions specific Tube lines (Bakerloo, Central, Circle, District, Hammersmith & City, Jubilee, Metropolitan, Northern, Piccadilly, Victoria, Waterloo & City)
  • User asks "is the Northern line running" or "when's the next Tube"
  • User mentions London stations (King's Cross, Oxford Circus, Waterloo, Victoria, Paddington, etc.)
  • User asks about London buses, DLR, Overground, Elizabeth line, or trams
  • User asks about TfL service status, delays, disruptions, or planned closures
  • User asks about Oyster, contactless, or TfL fares
  • User asks about journey planning in London

Data Sources

TfL has a single unified REST API (api.tfl.gov.uk) that returns JSON for ALL modes — Tube, bus, DLR, Overground, Elizabeth line, trams, river bus, cable car. No protobuf, no SIRI, no multiple feed formats. Just one clean REST API with consistent JSON responses.

API key: Register for a free app_key at https://api-portal.tfl.gov.uk/ — append ?app_key={KEY} to requests. The API works without a key for basic usage but is rate-limited; with a key you get 500 requests per minute.

Key Endpoints

EndpointDescription
/Line/Mode/tube/StatusAll Tube line statuses
/Line/{lineId}/StatusSpecific line status
/StopPoint/{naptanId}/ArrivalsArrivals at a stop
/Line/{lineId}/Arrivals/{stopPointId}Arrivals filtered by line
/StopPoint/Search/{query}Search stops by name
/StopPoint?lat=&lon=&radius=Stops near location
/Line/{lineId}/StopPointsStops on a line
/Line/{lineId}/Route/Sequence/{dir}Route stop sequence
/Line/{lineId}/DisruptionDisruptions on a line
/Journey/JourneyResults/{from}/to/{to}Journey planning
/Line/Mode/busAll bus routes

All endpoints return JSON. Append ?app_key={KEY} for authenticated requests.

Implementation

Quick Start: Use the helper scripts

The scripts in this skill's scripts/ directory handle fetching, parsing, and presenting TfL data.

Script: scripts/tfl.mjs

Main entry point. Supports these commands:

# Tube line status
node scripts/tfl.mjs status
node scripts/tfl.mjs status --all
node scripts/tfl.mjs status --line victoria

# Arrivals at a station
node scripts/tfl.mjs arrivals --station "Oxford Circus"
node scripts/tfl.mjs arrivals --stop 940GZZLUOXC
node scripts/tfl.mjs arrivals --stop-search "kings cross"
node scripts/tfl.mjs arrivals --stop-search "kings cross" --line piccadilly

# Bus arrivals
node scripts/tfl.mjs bus-arrivals --stop 490005183E
node scripts/tfl.mjs bus-arrivals --stop-search "oxford circus"
node scripts/tfl.mjs bus-arrivals --stop-search "oxford circus" --route 24

# Disruptions
node scripts/tfl.mjs disruptions
node scripts/tfl.mjs disruptions --line northern

# Routes and stops
node scripts/tfl.mjs routes
node scripts/tfl.mjs routes --all
node scripts/tfl.mjs bus-routes
node scripts/tfl.mjs stops --search "waterloo"
node scripts/tfl.mjs stops --near 51.5074,-0.1278 --radius 500
node scripts/tfl.mjs stops --line victoria
node scripts/tfl.mjs route-info --line bakerloo
node scripts/tfl.mjs route-info --route 24

# Journey planning
node scripts/tfl.mjs journey --from "waterloo" --to "kings cross"
node scripts/tfl.mjs journey --from "51.5031,-0.1132" --to "51.5308,-0.1238"

Setup: API Key (Optional, Recommended)

Basic functionality works without a key (rate-limited). For 500 requests/minute:

  1. Register at https://api-portal.tfl.gov.uk/
  2. Set environment variable: TFL_API_KEY

Tube Lines Reference

Line IDLine NameEmojiTerminals
bakerlooBakerloobrownHarrow & Wealdstone <-> Elephant & Castle
centralCentralredEpping / Ealing Broadway <-> West Ruislip
circleCircleyellowHammersmith (loop via Liverpool Street)
districtDistrictgreenRichmond / Ealing Broadway <-> Upminster
hammersmith-cityHammersmith & CitypinkHammersmith <-> Barking
jubileeJubileesilverStanmore <-> Stratford
metropolitanMetropolitanmagentaChesham / Amersham / Uxbridge <-> Aldgate
northernNorthernblackEdgware / High Barnet <-> Morden / Battersea
piccadillyPiccadillydark blueHeathrow T5 / Uxbridge <-> Cockfosters
victoriaVictorialight blueWalthamstow Central <-> Brixton
waterloo-cityWaterloo & CitytealWaterloo <-> Bank

Other TfL Rail Modes

Line IDNameType
dlrDLRDocklands Light Railway
libertyLibertyOverground (Romford — Upminster)
lionessLionessOverground (Watford — Euston)
mildmayMildmayOverground (Stratford — Richmond/Clapham)
suffragetteSuffragetteOverground (Gospel Oak — Barking)
weaverWeaverOverground (Liverpool St — Enfield/Cheshunt/Chingford)
windrushWindrushOverground (Highbury — Crystal Palace/Clapham/W Croydon)
elizabethElizabeth lineCrossrail
tramLondon TramsCroydon Tramlink

TfL Fares Reference (from March 2025)

Fare TypePrice
Tube Zone 1 (Oyster/contactless, peak)£2.80
Tube Zone 1 (Oyster/contactless, off-peak)£2.70
Tube Zones 1-2 (peak)£2.80
Tube Zones 1-2 (off-peak)£2.70
Tube Zones 1-3 (peak)£3.50
Tube Zones 1-3 (off-peak)£2.80
Bus & Tram (any journey)£1.75
Hopper fare (unlimited bus/tram within 1 hour)£1.75 total
Daily cap Zones 1-2£8.90
Weekly cap Zones 1-2£44.70
Cash single (ticket machine)£6.70 (Zone 1)

Peak: Mon-Fri 6:30-9:30am and 4:00-7:00pm (except public holidays).

Tips for Users

  • NaPTAN IDs are the station identifiers — Tube stations use 940GZZLU{code} format
  • Use --station or --stop-search for name-based lookups; use --stop for exact NaPTAN IDs
  • Times are shown in 24-hour format (London convention)
  • The arrivals command uses timeToStation (seconds) from the TfL API for ETA
  • Bus stops have their own NaPTAN IDs in 490{code} format
  • Journey planning returns fare estimates when available

Error Handling

  • If TFL_API_KEY is not set, requests still work but are rate-limited — a note is printed
  • 429 rate limit responses print a helpful message with the key signup URL
  • Invalid station/stop searches show "No matching station found" with suggestions
  • Network errors and API error responses produce friendly messages
  • Station closed or no service shows an appropriate message

Response Formatting

When presenting transit info to the user:

  • Lead with the most actionable info (next arrival time, line status)
  • Show line name with color emoji (e.g., "🔴 Central: Good Service")
  • Show times in 24-hour format (London convention)
  • For arrivals: show line + destination + minutes (from timeToStation / 60)
  • Show platform name when available
  • For journey planning: show step-by-step with mode, line, duration, and fare
  • Always mention disruptions for queried lines

External Endpoints

EndpointData SentData Received
api.tfl.gov.uk/Line/*/StatusAPI key (query param, optional)Line status (JSON)
api.tfl.gov.uk/StopPoint/*/ArrivalsAPI key (query param, optional)Arrivals (JSON)
api.tfl.gov.uk/StopPoint/Search/*API key (query param, optional)Stop search results (JSON)
api.tfl.gov.uk/StopPoint?lat=&lon=API key (query param, optional)Nearby stops (JSON)
api.tfl.gov.uk/Line/*/StopPointsAPI key (query param, optional)Stops on line (JSON)
api.tfl.gov.uk/Line/*/Route/Sequence/*API key (query param, optional)Route sequence (JSON)
api.tfl.gov.uk/Line/*/DisruptionAPI key (query param, optional)Disruptions (JSON)
api.tfl.gov.uk/Journey/JourneyResults/*API key (query param, optional)Journey results (JSON)
api.tfl.gov.uk/Line/Mode/busAPI key (query param, optional)Bus routes (JSON)

API key is passed as a query parameter to TfL's official API. No other user data is transmitted.

Security & Privacy

  • API key optional — TfL Unified API works without a key (rate-limited); with a free key you get 500 req/min
  • No user data transmitted — requests contain only the optional API key and route/stop identifiers, no personal information
  • No local storage — this skill does not write any files to disk (no GTFS cache needed — TfL is all live API)
  • No telemetry — this skill does not phone home or collect usage data
  • Input handling — stop names and route IDs from user input are URL-encoded in API queries, never interpolated into shell commands

Trust Statement

This skill reads publicly available transit data from TfL's official Unified API. The optional API key is used only for TfL API rate-limit authentication. The skill does not access, store, or transmit any personal information beyond the API key configured by the user.

平台分布

OpenClaw

72.17%
按下载量换算3,834

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills