NJ PATH Alerts Skill
Get real-time service alerts, delays, and live arrival times for NJ PATH trains.
Capabilities
- Service Alerts: Real-time disruptions from Port Authority
- Live Arrivals: Next train times via GTFS-Realtime
- Line Status: Check all 4 PATH lines
- Station Info: Arrivals for all 13 stations
Usage
The skill activates when you ask about PATH trains, delays, or service status.
Examples:
- "Are there PATH delays?"
- "When's the next train at Hoboken?"
- "Is the HOB-33 running?"
- "PATH status"
Programmatic Usage
Check current alerts:
import { getAlertsMessage } from 'nj-path-alerts';
const message = await getAlertsMessage();
Get live arrivals:
import { getStationArrivals } from 'nj-path-alerts';
const arrivals = await getStationArrivals('hoboken');
Check specific line:
const hobokenAlerts = await getAlertsMessage('HOB-33');
Data Sources
- Alerts: Port Authority Everbridge API (official)
- Arrivals: path.transitdata.nyc GTFS-RT feed
- Update frequency: Alerts every 2-5 min, arrivals every 5 sec
Lines & Stations
Lines: HOB-33, JSQ-33, NWK-WTC, HOB-WTC
Stations: Newark, Harrison, Journal Square, Grove Street, Exchange Place, Newport, Hoboken, Christopher St, 9th St, 14th St, 23rd St, 33rd St, World Trade Center
Requirements
- Node.js 18+
- Internet access for API calls
- No API keys required
Installation
openclaw skills install path-alerts
Or install from GitHub:
openclaw plugins install github:LiamSx45/openclaw-path-alerts
