Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

mta-commuterMTA 通勤者

Agent Skill

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

总安装

2,095

周安装

90

GitHub Stars

1

下载量

734
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:mta-commuter(MTA 通勤者)
来源仓库:https://github.com/ottomanelli/mta-commuter
安装命令:
openclaw skills install mta-commuter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install mta-commuter

简介

纽约通勤铁路与地铁时刻表查询助手。

  • 覆盖 LIRR、Metro-North 及地铁线路信息。
  • 支持行程规划与实时服务提醒推送。mta-commuter 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 安装命令:openclaw skills install mta-commuter。
  • 注意:功能限于纽约大都会区,需网络连接支持。

SKILL.md

name
mta-commuter
description
>
version
1.0.0
metadata
openclaw
emoji
🚆
homepage
https://github.com/ottomanelli/mta-commuter
requires
bins
install
pip

Instructions

Look up LIRR, Metro-North, and NYC Subway schedules with live delay data using scripts/mta.py. Uses MTA GTFS static feeds and GTFS-RT real-time APIs (no API key required). Requires the gtfs-realtime-bindings pip package (auto-installed via ClawHub; otherwise pip install -r requirements.txt).

Run from the skill directory (skills/mta/):

Direct schedule lookup (LIRR or Metro-North)

python3 scripts/mta.py lirr "<origin>" "<destination>" --date YYYY-MM-DD --time HH:MM
python3 scripts/mta.py mnr "<origin>" "<destination>" --date YYYY-MM-DD --time HH:MM
  • --date and --time default to now if omitted.
  • Station names are fuzzy-matched. Common LIRR codes: NHP (New Hyde Park), NYK (Penn Station), JAM (Jamaica), ATL (Atlantic Terminal). Common MNR codes: GCT (Grand Central), WP (White Plains), HM (Harlem-125 St).
  • Add --json for machine-readable output, --count N to change result count (default 5).
  • Real-time delay data is automatically included for today's lookups. Use --no-live to show schedule only.

Multi-leg trip planning

Plan trips across LIRR, Metro-North, and Subway connections. Uses data/locations.json for saved locations.

# Using saved locations
python3 scripts/mta.py trip --near-origin work --near-dest home --time 17:00

# Using coordinates
python3 scripts/mta.py trip --near-origin 40.75,-73.99 --near-dest 40.74,-73.68 --time 17:00

# Custom radius and count
python3 scripts/mta.py trip --near-origin work --near-dest home --time 17:00 --radius 2 --count 8

Trip planning finds commuter rail options from all systems and includes subway transfer legs where applicable (Penn Station, Grand Central, Atlantic Terminal, Jamaica, Woodside, Harlem-125 St).

Find nearby stations (all systems)

python3 scripts/mta.py stations nearby --near home --radius 2
python3 scripts/mta.py stations nearby --lat 40.74 --lon -73.68

Returns LIRR, Metro-North, and Subway stations sorted by distance.

Service alerts

python3 scripts/mta.py alerts                    # All systems
python3 scripts/mta.py alerts --system lirr       # LIRR only
python3 scripts/mta.py alerts --system mnr        # Metro-North only
python3 scripts/mta.py alerts --system subway     # Subway only
python3 scripts/mta.py alerts --json              # JSON output

System-specific commands

python3 scripts/mta.py lirr --stations            # List all LIRR stations
python3 scripts/mta.py mnr --stations             # List all MNR stations
python3 scripts/mta.py lirr --routes              # List LIRR branches
python3 scripts/mta.py mnr --routes               # List MNR lines
python3 scripts/mta.py lirr --find-station "hyde"  # Search for a station
python3 scripts/mta.py lirr --alerts              # System-specific alerts

Location management

Locations are stored in data/locations.json. Manage them conversationally:

  • To add: geocode the user's address (via web search), then write to the JSON file directly
  • To list: read and display the JSON file
  • To update: modify the entry and rewrite the file

Format:

{
  "home": {
    "address": "123 Main St, Anytown, NY 11000",
    "lat": 40.7432,
    "lon": -73.6812,
    "label": "Home"
  }
}

Setup flow (first use)

When this skill is first activated and data/locations.json doesn't exist, ask the user:

  1. "Where's home?" -- geocode the address via web search, save to locations.json
  2. "Where's work?" -- same
  3. "Any other places you travel to regularly?" -- save additional locations

After setup, when the user mentions a saved location, consider whether they might be asking about transit -- even without explicitly saying "train." For example, "how do I get home from the city" is a transit request if home is a saved location.

Presenting trip results

  • Highlight the best option (earliest arrival closest to target)
  • Mention 2-3 alternatives with station distances
  • For multi-leg trips, clearly show each leg (commuter rail + subway transfer)
  • Note which branches/lines serve each option
  • If there are relevant service alerts, check alerts and mention disruptions

Track alerts

Watch for track announcements on LIRR or Metro-North trains using scripts/check_track.py via openclaw cron.

# LIRR track watch
openclaw cron add --every 20s \
  --command "cd skills/mta && python3 scripts/check_track.py --train 1582 --station NYK" \
  --channel telegram --delete-after-run \
  --name "Track watch: 5:22 PM to Huntington"

# Metro-North track watch
openclaw cron add --every 20s \
  --command "cd skills/mta && python3 scripts/check_track.py --system mnr --train 873 --station GCT" \
  --channel telegram --delete-after-run \
  --name "Track watch: 5:43 PM to White Plains"

Note: check_track.py queries undocumented endpoints used by the mylirr.org and mymnr.org web apps (backend-unified.mylirr.org / backend-unified.mymnr.org). These are not official public APIs and may change or become unavailable without notice. The rest of the skill uses the official MTA GTFS feeds and is not affected.

Workflow for "remind me about train X"

  1. Look up the train to confirm it exists and get the departure time
  2. Set up a cron job with openclaw cron add using the train number and --system flag
  3. The cron job auto-deletes after the first notification (--delete-after-run)
  4. Confirm the watch was added

Limitations

  1. No subway real-time arrivals -- subway frequency is estimated from schedule headways ("every ~8 min"), not live countdown data.
  2. No fares -- cannot look up ticket prices.
  3. No bus -- NJ Transit, MTA bus, and PATH are not included.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

展示第三方安全扫描或审计结果

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

平台分布

OpenClaw

73.03%
按下载量换算536

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills