Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
Use npm install (gotrain-cli package)
What This Skill Does
Command-line tool for real-time MTA transit departures, schedules, and service alerts. Covers NYC Subway, Long Island Rail Road, and Metro-North Railroad. Supports saved favorite stations for quick access.
Pulls live MTA departure data from the terminal without opening a browser or app.
When to use it
- Checking next trains from Grand Central before leaving the office
- Looking up LIRR departures from Penn Station on a commute
- Getting active subway service alerts before heading out
- Saving a home station as a favorite for daily departure checks
- Searching for a station ID by name when you don't know it
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: when is the next train from New Haven to Grand Central?
- 1Run `gotrain stations penn` to confirm Penn Station ID if needed
- 2Run `gotrain departures MNR-149` to fetch upcoming departures from New Haven
- 3Parse the departure list for the next available train
- 4Check `gotrain alerts` if any service disruptions are relevant
Next departure from New Haven (MNR-149) toward Grand Central with scheduled time and track info