subwayskill
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).
- License 许可
- MIT
- 最近更新
- 2026-05-17
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- subwayskill
- tags
- [ "transit", "nyc", "subway", "mta", "commute" ]
- author
- nyluke
- license
- MIT
- version
- 1.0.0
- homepage
- https://github.com/nyluke/subwayskill
- metadata
- { "openclaw": { "emoji": "🚇", "install": [ { "go": "github.com/nyluke/subwayskill@latest" } ], "category": "transit", "requires": { "bins": [ "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).
- allowed-tools
- Bash(subwayskill:*)
02 资源文件 9
- 参考文档_meta.json274 B
- 脚本cmd/root.go6.8 KB
- 脚本internal/display/display.go4.7 KB
- 脚本internal/feed/feed.go5.5 KB
- 脚本internal/schedule/schedule.go9.6 KB
- 资产文件internal/station/data/stations.csv66.3 KB
- 脚本internal/station/station.go7.3 KB
- 脚本main.go71 B
- 参考文档README.md2.5 KB
03 SKILL.md 正文
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
--jsonwhen you need to do further processing or comparisons - An unknown station returns suggestions — relay those to the user
04 同仓库更多 Skills
zvukogram
Text-to-Speech via Zvukogram API with SSML support. Use when you need to generate speech from text, create podcasts, voice notifications, or work with audio. Supports speed control, stress marks, English word transcription, and audio fragment merging.
zohomail
Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels. Use this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-recruit
Zoho Recruit API integration with managed OAuth. Manage candidates, job openings, interviews, and recruitment workflows. Use this skill when users want to read, create, update, or search recruitment data like candidates, job openings, interviews, and applications in Zoho Recruit. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-people
Zoho People API integration with managed OAuth. Manage employees, departments, designations, attendance, and leave. Use this skill when users want to read, create, update, or query HR data like employees, departments, designations, and forms in Zoho People. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-mail
Zoho Mail API integration with managed OAuth. Send, receive, and manage emails, folders, and labels. Use this skill when users want to send emails, read messages, manage folders, or work with email labels in Zoho Mail. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.
zoho-inventory
Zoho Inventory API integration with managed OAuth. Manage items, sales orders, invoices, purchase orders, bills, contacts, and shipments. Use this skill when users want to read, create, update, or delete inventory items, sales orders, invoices, purchase orders, bills, or other inventory records in Zoho Inventory. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.