Skip to content
TakoAPI
Back to skills

subwayskill

by nyluke

Browser & Automation
401Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Fetch NYC subway departure times.

Description

What This Skill Does

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.

When to Use It

  • 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

Example Workflow

INPUT

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

AGENT
  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

OUTPUT

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

Installation

clawhub install nyluke/subwayskill

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links