tfl-journey-disruption
Plan TfL journeys from start/end/time, resolve locations (prefer postcodes), and warn about disruptions; suggest alternatives when disrupted.
Why use this skill?
Plan London journeys with TfL integration. Get real-time route planning, disruption alerts, and status updates for all public transport lines.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/diegopetrucci/transport-for-london-journey-disruptionWhat This Skill Does
The tfl-journey-disruption skill is a sophisticated transport automation tool designed for the OpenClaw AI agent. It integrates directly with the Transport for London (TfL) Unified API to provide real-time journey planning coupled with comprehensive disruption monitoring. Unlike standard journey planners, this skill doesn't just show you how to get from point A to point B; it proactively checks the status of every transit line in your proposed route, alerting you to delays, closures, or planned engineering works before you even leave.
Installation
To integrate this skill into your OpenClaw environment, use the following command:
clawhub install openclaw/skills/skills/diegopetrucci/transport-for-london-journey-disruption
Ensure you have set your TFL_APP_ID and TFL_APP_KEY environment variables to authenticate against the TfL API. The skill also includes a helper script located at scripts/tfl_journey_disruptions.py which allows for quick terminal-based testing and debugging of routes.
Use Cases
This skill is ideal for daily commuters, tourists, and logistics coordinators operating within the London area. Key use cases include:
- Planning the most efficient route between two points while avoiding lines experiencing signal failures.
- Determining the best arrival time for meetings by checking if your journey requires extra buffer time due to service disruptions.
- Identifying if a specific station is currently closed or experiencing severe congestion.
Example Prompts
- "Plan a journey from Stratford to W1F 9LD for me to arrive by 6 PM today and check if there are any delays on the lines I need to take."
- "I need to get to London Waterloo from postcode SW1A 1AA at 9:00 AM. Show me the best routes and warn me about any TfL disruptions."
- "Is the Central line running well between Liverpool Street and Ealing Broadway right now?"
Tips & Limitations
- Precision: While the skill accepts names, using UK postcodes significantly improves location accuracy. If the search returns ambiguous results, select from the provided list to narrow down your station.
- Authentication: Do not forget to register for an official TfL API account to get your credentials; otherwise, you may face rate limiting.
- Walking: The skill intelligently ignores walking legs when checking for line status but includes them in total journey duration.
- Disruption Scope: While it monitors line status, for station-specific issues, look for the additional
/StopPoint/{id}/Disruptiondata in the output.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-diegopetrucci-transport-for-london-journey-disruption": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, code-execution