360 Secure SkillHub
360 安全技能中心

Openclaw Path Alerts Main

面向 NJ PATH 通勤场景的查询型 Skill,可获取 Port Authority 官方实时服务警报、延误与线路状态,并通过 GTFS-Realtime 数据返回各车站的下一班到站时间,覆盖 4 条线路与 13 个车站,支持自然语言询问与程序化调用。

分类:生活
liamsx45
liamsx45
热度 16.30
最近更新 2026-06-14 09:55:16

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add liamsx45/path-alerts-main
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
path-alerts
description
Get real-time NJ PATH train service alerts, delays, status updates, and live arrival times. Monitors official Port Authority alerts feed and GTFS-Realtime data.
version
1.0.0
metadata
{"openclaw":{"requires":{"bins":["node"]},"install":[{"kind":"node","package":"gtfs-realtime-bindings"}],"emoji":"🚊","homepage":"https://github.com/LiamSx45/openclaw-path-alerts"}}

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