← 返回 Skills 市场
nyluke

SubwaySkill

作者 nyluke · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
630
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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 sub...
安全使用建议
This skill appears to be what it says: a CLI that fetches MTA GTFS-RT and static GTFS schedules and caches them under ~/.cache/subwayskill. Before installing or invoking it, verify these points: 1) The feed URLs target MTA endpoints that in some setups require an API key — the code and SKILL.md do not declare any environment variable for an API key, so realtime fetches may fail or you may need to supply credentials via another mechanism; confirm whether your environment has access to those endpoints. 2) The tool will make outbound HTTP requests (MTA endpoints and S3) and will write cached GTFS zip files to your home directory; ensure you are comfortable with that filesystem and network access. 3) The code is published on GitHub (link provided); if you need higher assurance, inspect the repository and build it locally rather than running prebuilt binaries from unknown sources. If you plan to allow autonomous agent invocation, remember the skill can perform network I/O and create cache files when invoked.
功能分析
Type: OpenClaw Skill Name: subwayskill Version: 1.0.0 The OpenClaw AgentSkills skill bundle for 'subwayskill' is benign. The `SKILL.md` and `README.md` provide clear, non-malicious instructions for the agent and users, defining the skill's purpose and usage without any prompt injection attempts. The Go source code implements a CLI tool that fetches NYC subway departure times from legitimate MTA GTFS-RT API endpoints and static GTFS data hosted on MTA S3 buckets (hardcoded URLs in `internal/feed/feed.go` and `internal/schedule/schedule.go`). It caches downloaded GTFS zip files in `~/.cache/subwayskill/` with appropriate permissions. All user inputs are validated or sanitized, and there is no evidence of shell injection, arbitrary code execution, sensitive data exfiltration, persistence mechanisms, or obfuscation. The code strictly adheres to its stated purpose.
能力评估
Purpose & Capability
Name, README, SKILL.md and code all implement an NYC subway departures CLI that fetches GTFS-RT and static GTFS schedules and falls back to cached schedule data; required binaries and included files match that purpose. Note: the feed URLs point at MTA endpoints that commonly require an API key, but the code and SKILL.md do not declare or use any credential — this may cause realtime fetches to fail or requires additional configuration not documented.
Instruction Scope
SKILL.md instructs the agent to run the subwayskill CLI with specific flags. The runtime behavior (network calls to MTA/S3 feeds, reading embedded stations.csv, caching GTFS zips to ~/.cache/subwayskill) matches those instructions and stays within the expected scope for a transit CLI. There are no instructions to read unrelated files, other credentials, or to transmit data to unexpected endpoints.
Install Mechanism
Install guidance uses `go install github.com/nyluke/subwayskill@latest`, a standard public Go install flow. The repository/source is referenced (GitHub URL in metadata). No opaque downloads, URL shorteners, or extract-to-arbitrary-path installers are used.
Credentials
The skill requests no environment variables or credentials. Its actions (outbound HTTP GETs to MTA feed endpoints and S3 GTFS zips, reading/writing ~/.cache/subwayskill) are proportional to its purpose. However, if the MTA realtime feeds require an API key, the skill currently does not declare or accept that credential.
Persistence & Privilege
The skill does not request elevated privileges or permanent platform-wide presence (always is false). It only writes cache files under the user's home (~/.cache/subwayskill) which is reasonable for a CLI. It does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install subwayskill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /subwayskill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of subwayskill - Fetches NYC subway departure times for all lines (1-7, A-G, J, Z, L, N, Q, R, W, S, SIR). - Handles queries about subway trains, commute times, next trains, and transit schedules. - Supports fuzzy matching for station names and filtering by line, direction, or time. - Provides both realtime (MTA GTFS-RT) and scheduled times, with structured JSON output option. - Offers usage tips and suggestions for unrecognized stations.
元数据
Slug subwayskill
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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 sub... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 630 次。

如何安装 SubwaySkill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install subwayskill」即可一键安装,无需额外配置。

SubwaySkill 是免费的吗?

是的,SubwaySkill 完全免费(开源免费),可自由下载、安装和使用。

SubwaySkill 支持哪些平台?

SubwaySkill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 SubwaySkill?

由 nyluke(@nyluke)开发并维护,当前版本 v1.0.0。

💬 留言讨论