subway-info

subway-info is a skill for Claude Code from ckorhonen/claude-skills. It costs 70 tokens per session (4,154 once invoked), scanned A, original, MIT.

A tool for checking live New York City public-transport information, including subway, bus, ferry, and commuter-rail services.

In plain words
What is it for?
Finding station and stop information, checking arrivals and alerts, viewing routes, and planning trips across NYC transit.
Why use it?
It avoids relying on fixed schedules when arrivals, delays, alerts, or service changes may have changed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is # Binary at ./dist/subway-info.

Part of the claude-skills plugin — 62 skills, 4 commands, 7 agents shipped together

Good fit Finding station and stop information, checking arrivals and alerts, viewing routes, and planning trips across NYC transit.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ckorhonen/claude-skills
agentmods
npx agentmods add skills/ckorhonen/claude-skills/subway-info

Made for: Claude Code.

Or install claude-skills, the plugin that ships this one along with the rest of its 62 skills, 4 commands, 7 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for subway-info

README.md
[![agentmods](https://agentmods.dev/badge/skills/ckorhonen/claude-skills/subway-info/github.svg)](https://agentmods.dev/skills/ckorhonen/claude-skills/subway-info)
Your own site
<a href="https://agentmods.dev/skills/ckorhonen/claude-skills/subway-info"><img src="https://agentmods.dev/badge/skills/ckorhonen/claude-skills/subway-info/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for subway-info

Your own site · 80×15
<a href="https://agentmods.dev/skills/ckorhonen/claude-skills/subway-info"><img src="https://agentmods.dev/badge/skills/ckorhonen/claude-skills/subway-info.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,154 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.04154
Opus 5.5 $0.00028 $0.01662
Sonnet 5.5 $0.00014 $0.00831
Haiku 4.5 $0.00007 $0.00415

Measured 2mo ago against content hash 1da7e9fee664, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

subway-info scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/alerts.sh, scripts/arrivals.sh, scripts/status.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

If `subway-info` CLI is available, prefer it over raw curl — it handles retries, auth, and outputs token-efficient text by default.
skills/subway-info/SKILL.md · 433 lines

How it starts

The opening of the file, as written. The whole thing — 433 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Subway Info

Overview

Real-time NYC transit information covering subway, bus, ferry, and commuter rail (LIRR/Metro-North). Covers all 496 subway stations, 16,000+ bus stops, NYC Ferry landings, and LIRR/Metro-North stations.

When to Use

  • Checking real-time train arrivals at a station
  • Getting current service alerts and delays
  • Searching for subway stations by name or line
  • Planning trips between subway stations
  • Checking bus arrivals and routes
  • NYC Ferry schedules and alerts
  • LIRR and Metro-North departures
  • Commute planning and schedule checking

CLI Tool (Preferred)

If subway-info CLI is available, prefer it over raw curl — it handles retries, auth, and outputs token-efficient text by default.

Install

# From the mta-mcp repo
npm run build:cli
# Binary at ./dist/subway-info

# Or run directly
npm run cli -- arrivals --station 127

Subway Commands

subway-info arrivals --station 127 --line 1 --direction N --limit 5
subway-info alerts --line A
subway-info stations --query "times square"
subway-info trip --from 127 --to 631
subway-info status --line L

Bus Commands

subway-info bus arrivals --stop 402940 --route M1
subway-info bus alerts --route M1
subway-info bus stops --query "5th ave" --borough Manhattan
subway-info bus route --route M1

Ferry Commands

subway-info ferry arrivals --landing <id>
subway-info ferry alerts
subway-info ferry landings --query "wall street"
subway-info ferry routes

Rail Commands (LIRR / Metro-North)

subway-info rail departures --station <id> --system LIRR
subway-info rail alerts --system MNR
subway-info rail stations --query "penn" --system LIRR
subway-info rail station --station <id>

Global Options

--json          Print raw JSON instead of compact text
--api-key <key> Override $SUBWAY_INFO_API_KEY
--base-url <url> Override https://subwayinfo.nyc

REST API

All data endpoints use POST with JSON body. Base URL: https://subwayinfo.nyc

Read the full file on GitHub · 433 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 433 lines · 70 tokens per session scan A 1da7e9fee664

Subscribe to this mod's changes

subway-info is a skill published in the GitHub repository ckorhonen/claude-skills (33 stars, last pushed 4d ago), licensed MIT. It adds 70 tokens to every session and 4,154 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

subway-info compared with skills from other repositories

subway-info next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
subway-infockorhonen/claude-skillsSkill334d agoMITA70Claude Code
cronagentscope-ai/QwenPawSkill38ktodayApache-2.0A39Claude Code, Codex
cronagentscope-ai/QwenPawSkill38ktodayApache-2.0A49Claude Code, Codex
mailboxagentscope-ai/QwenPawSkill38ktodayApache-2.0A79Claude Code, Codex
channel_messageagentscope-ai/QwenPawSkill38ktodayApache-2.0A58Claude Code, Codex
wiki-dashboardAr9av/obsidian-wikiSkill3.8ktodayMITA42Claude Code
wiki-switchAr9av/obsidian-wikiSkill3.8ktodayMITA42Claude Code