微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🚇

纽约地铁实时到站 · 精准通勤助手

SubwaySkill · v1.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
专业技能 安全 A 级 作者 nyluke 公开目录收录
1.1k 下载 0 安装 3.4k 收藏 12 浏览

简介

MTA官方数据驱动的纽约地铁实时到站查询工具,支持模糊搜索站点、方向过滤及未来时刻静态时刻表查询。

原始描述

Fetch NYC subway departure times. Use when the user asks about subway trains, commute times, when the next train is, or NYC transit schedules. Covers all sub...

通过你的 Agent 添加

安装目录:subwayskill/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/subwayskill/
Codex CLI~/.codex/skills/subwayskill/
DeepSeek Harness~/.agents/skills/subwayskill/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: subwayskill description: > Fetch NYC subway departure times. Use when the user asks about subway trains, commute times, when the next train is, or NYC transit schedules. Covers all subway lines (1-7, A-G, J, Z, L, N, Q, R, W, S, SIR). version: 1.0.0 author: nyluke tags:

  • transit
  • nyc
  • subway
  • mta
  • commute homepage: https://github.com/nyluke/subwayskill license: MIT allowed-tools: Bash(subwayskill:*) metadata: openclaw: emoji: "\U0001F687" category: transit requires: bins: - subwayskill install:
    • go: github.com/nyluke/subwayskill@latest

NYC Subway Departure Times

Run the subwayskill CLI to answer questions about NYC subway times.

Commands

# All default stations (Clinton-Washington C, Bergen 2/3, 7 Av Q, Atlantic Av 4/5)
subwayskill

# Specific line and station (fuzzy match — lowercase, partial names work)
subwayskill C clinton-washington
subwayskill 2 bergen

# Filter direction: N (northbound/Manhattan) or S (southbound/Brooklyn)
subwayskill 2 bergen -d N

# Future time — automatically falls back to static schedule
subwayskill 2 bergen -t 19:00

# JSON output for structured data
subwayskill --json
subwayskill C clinton-washington --json

# Control time window (minutes)
subwayskill 2 bergen -w 60

Interpreting output

  • realtime: live data from MTA GTFS-RT feeds, shows relative times ("3 min") and absolute times
  • scheduled: static GTFS schedule fallback, shows absolute times only — used when the requested time is beyond realtime coverage
  • Directions show destination labels when available (e.g., "Manhattan-bound", "Coney Island-bound")

Tips

  • Station names are fuzzy-matched: "clinton" finds "Clinton-Washington Avs", "atlantic" finds "Atlantic Av-Barclays Ctr"
  • If the user doesn't specify a station, run with no args to show all defaults
  • If the user asks about a future time (e.g., "when's the 2 train at Bergen at 7pm?"), use -t HH:MM
  • Use --json when you need to do further processing or comparisons
  • An unknown station returns suggestions — relay those to the user

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

transitnycsubwaymtacommuteclireal-time-datapublic-transport

同类 Skill