Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

tfl-journey-disruption伦敦交通局旅程中断

Agent Skill

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

总安装

21,755

周安装

698

GitHub Stars

公开资料未说明

下载量

6,404
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:tfl-journey-disruption(伦敦交通局旅程中断)
来源仓库:https://github.com/clawdbot/skills
仓库路径:skills/tfl-journey-disruption
安装命令:
npx skills add clawdbot/skills --skill "tfl-journey-disruption"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

AgentSkills.tonpx skills
npx skills add clawdbot/skills --skill "tfl-journey-disruption"

简介

发现并安装 AI 代理的技能工具。tfl-journey-disruption 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适用于 Codex、Claude、Cursor 和 Gemini CLI 环境。
  • 通过 npx 命令从 GitHub 仓库添加技能。
  • 需确保仓库路径与技能名称正确对应。
  • 注意评估联网与外部 API 调用的安全性。

SKILL.md

TfL Journey Planner + Disruption Checks

Use this skill when the user wants a TfL journey plan and needs disruption awareness.

Reference: https://tfl.gov.uk/info-for/open-data-users/api-documentation

Script helper

Use scripts/tfl_journey_disruptions.py for a quick journey + disruption check.

Examples:

python3 scripts/tfl_journey_disruptions.py \"940GZZLUSTD\" \"W1F 9LD\" --depart-at 0900
python3 scripts/tfl_journey_disruptions.py --from \"Stratford\" --to \"W1F 9LD\" --arrive-by 1800

Notes:

  • If the API returns disambiguation options, pick one and retry with its parameterValue.
  • If you have TfL API keys, set TFL_APP_ID and TFL_APP_KEY in the environment.

Inputs to collect

  • From: postcode, stop/station name, place name, or lat,lon
  • To: postcode, stop/station name, place name, or lat,lon
  • Time + intent: depart at or arrive by (and date if not explicit)
  • Optional: mode or accessibility constraints if the user mentions them

If any of these are missing or ambiguous, ask the user for clarification.

Resolve locations

Prefer postcodes when available. Otherwise, resolve place names and stations:

  • If input looks like a UK postcode, use it directly as {from} or {to}.
  • If input is lat,lon, use as-is.
  • If input is a stop or station name, try StopPoint/Search/{query} and choose a hub or the relevant NaPTAN ID.
  • If the search or journey result returns disambiguation, show the top options (common name + parameterValue) and ask the user to pick.
  • When unsure, ask a clarifying question rather than guessing.

Plan journeys

Call:

/Journey/JourneyResults/{from}/to/{to}?date=YYYYMMDD&time=HHMM&timeIs=Depart|Arrive

Guidelines:

  • If the user says "arrive by" use timeIs=Arrive; otherwise default to Depart.
  • If the date is not provided, ask. If the user implies "now", you can omit date/time.

Extract candidate routes

From the response, take the first 1-3 journeys. For each, capture:

  • Duration and arrival time
  • Public transport legs (mode, line name, direction)
  • Line IDs for disruption checks

Line IDs usually appear in leg.routeOptions[].lineIdentifier.id or leg.line.id. Ignore walking legs.

Disruption checks

For each journey, collect unique line IDs and call:

/Line/{ids}/Status

Treat a route as disrupted if any line status is not "Good Service" or includes a reason. Summarize the severity and reason.

Optionally, check station-specific issues with /StopPoint/{id}/Disruption when relevant.

Response strategy

  • If the top route has no disruptions, recommend it and say no active disruptions were found.
  • If the top route is disrupted, warn first, then propose 1-2 alternative routes from other journeys.
  • If all routes are disrupted, still recommend the best option but list the disruption warnings and alternatives.
  • If the journey is for a future time (later today or another day), note that disruption statuses are current and may change by the travel time (for example: "Minor Delays now; this may change by morning").
  • Always invite the user to confirm a route or provide clarifications.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

31.62%
按下载量换算2,025

windsurf

22.19%
按下载量换算1,421

clawdbot

18.87%
按下载量换算1,208

trae

12.94%
按下载量换算829

Codex

7.64%
按下载量换算489

Claude Code

3.27%
按下载量换算209

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills