← 返回 Skills 市场
192
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install tfl-cli
功能描述
London transport CLI — tube status, journey planning, live arrivals, disruptions, bike docks, and agent-friendly projection via `--output <path>` for route,...
安全使用建议
This skill appears to be a straightforward wrapper around an npm-distributed TfL CLI and is coherent with its description. Before installing: (1) verify the npm package and author (npmjs.com/package/@shan8851/tfl-cli and the package's repository/homepage) so you trust the maintainers; (2) prefer installing in a sandbox/container or review the package contents if you require higher assurance (npm packages can execute arbitrary code during postinstall); (3) be aware the SKILL.md mentions an optional TFL_APP_KEY—only set that env var if you trust the package and the key itself; (4) because this is instruction-only, the static scanner had no package code to analyze—inspect the published npm package or its repo if you need stronger guarantees.
功能分析
Type: OpenClaw Skill
Name: tfl-cli
Version: 0.3.1
The skill bundle provides a CLI interface for London transport data (TfL) via the npm package `@shan8851/tfl-cli`. The instructions in SKILL.md are purely functional, detailing how to query tube status, plan routes, and check live arrivals. There are no indicators of data exfiltration, malicious execution, or harmful prompt injection.
能力评估
Purpose & Capability
The name/description (London transport CLI) match the declared binary requirement ('tfl') and the install spec (npm package @shan8851/tfl-cli that creates the 'tfl' binary). There are no unrelated environment variables, credentials, or config paths required.
Instruction Scope
SKILL.md only describes how to use the tfl CLI (status, route, arrivals, bikes, search, output projection). It does not instruct the agent to read unrelated files, system config, or to transmit data to arbitrary endpoints. It does mention an optional TFL_APP_KEY environment variable for higher rate limits, which is expected for a TfL client.
Install Mechanism
Installation is via an npm package (@shan8851/tfl-cli) that provides the 'tfl' binary — this is a typical and expected mechanism. npm packages can contain arbitrary code, so installing from the public registry carries the usual moderate risk compared with instruction-only skills; however, no suspicious download URLs or archive extraction from unknown hosts are present.
Credentials
The skill declares no required env vars (none listed), which fits basic usage. SKILL.md mentions an optional TFL_APP_KEY for higher rate limits; that optional variable is reasonable but is not listed in the metadata as an optional env var—minor documentation mismatch. The skill does not request unrelated secrets or multiple credentials.
Persistence & Privilege
Defaults are used (always: false, user-invocable true). The skill does not request persistent presence or modify other skills or system-wide settings. Autonomous invocation is allowed (platform default) but is not combined with other red flags.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tfl-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/tfl-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.1
Publish from ~/.openclaw/skills as source of truth; keep OpenClaw metadata and updated --output projection guidance.
v0.3.0
**tfl-cli 0.3.0 adds agent-friendly projection for core commands**
- New `--output <path>` option on `route`, `arrivals`, and `bikes` commands to extract specific values or subtrees from JSON output
- Documentation updated with projection usage examples and agent notes for integration scenarios
- Clarified descriptions and command summaries for greater clarity
- Improved explanation of output modes, error envelopes, and exit codes
v0.2.0
tfl-cli 0.2.0
- Adds live tube status, disruption alerts, journey planning, and arrivals for London transport via the CLI.
- Supports querying bike dock availability and searching for stops/stations.
- Flexible input: accepts station names, postcodes, coordinates, or TfL stop IDs.
- Commands return text by default (JSON when piped), with options to force output format or disable color.
- No API key required for basic use; supports higher rate limits with TFL_APP_KEY.
- Includes clear error handling and exit codes, with ambiguity suggestions for station names.
元数据
常见问题
tfl-cli 是什么?
London transport CLI — tube status, journey planning, live arrivals, disruptions, bike docks, and agent-friendly projection via `--output <path>` for route,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 192 次。
如何安装 tfl-cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tfl-cli」即可一键安装,无需额外配置。
tfl-cli 是免费的吗?
是的,tfl-cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
tfl-cli 支持哪些平台?
tfl-cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 tfl-cli?
由 shan8851(@shan8851)开发并维护,当前版本 v0.3.1。
推荐 Skills