Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

subwayskill

bởi nyluke

Browser & Automation
401Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Fetch NYC subway departure times.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

ĐẦU RA

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

Cài đặt

clawhub install nyluke/subwayskill

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết