跳到正文
TakoAPI
返回技能列表

subwayskill

由 nyluke 提供

Browser & Automation
401下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Fetch NYC subway departure times.

描述

该技能的功能

Fetches NYC subway departure times using the MTA's real-time GTFS feeds and static schedule fallback. Covers all subway lines including 1-7, A-G, J, Z, L, N, Q, R, W, S, and SIR. Station names are fuzzy-matched, so partial lowercase input works.

Combines live MTA GTFS-RT data with static schedule fallback in a single CLI call, so you get accurate times whether asking about now or hours ahead.

何时使用

  • Checking when the next C train leaves Clinton-Washington
  • Planning a commute home from Bergen St on the 2 or 3
  • Finding northbound departures before heading to Manhattan
  • Looking up a future train time for a 7pm meeting
  • Comparing multiple lines at Atlantic Av-Barclays Ctr

示例工作流

输入

User asks: When is the next southbound 2 train from Bergen St?

智能体
  1. 1

    Run subwayskill 2 bergen -d S to fetch departures

  2. 2

    Parse output for southbound times with real-time or scheduled labels

  3. 3

    Read destination labels to confirm direction (e.g., Coney Island-bound)

  4. 4

    Return the next 1-3 departure times to the user

输出

Next southbound 2 trains from Bergen St: 4 min (Coney Island-bound), 12 min, 19 min

安装

clawhub install nyluke/subwayskill

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接