← 返回 Skills 市场
Stockholm Public Traffic Planner
作者
Patrik Ekenberg
· GitHub ↗
· v1.0.1
· MIT-0
159
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install sl-trafiklab-api
功能描述
Fetch real-time SL (Stockholm public transport) departures and deviation information. Use when checking upcoming departures from stops, querying active train...
安全使用建议
This skill appears coherent and limited to querying SL Trafiklab endpoints and storing simple monitoring preferences. Before installing, consider: (1) it will create/read/write .sl/preferences.json in the agent workspace — review that file if you care about what is stored; (2) it may run autonomously to perform background checks and send notifications — ensure you are comfortable with those notifications and with the agent's configured notification sinks; (3) it makes network calls only to transport.integration.sl.se and deviations.integration.sl.se per the docs — if you want extra assurance, verify those domains against Trafiklab's official documentation; (4) there are no required credentials, so enabling it does not grant cloud or other account access. If you don't want background monitoring, disable autonomous invocation for the skill or keep favourites empty.
功能分析
Type: OpenClaw Skill
Name: sl-trafiklab-api
Version: 1.0.1
The skill is a legitimate tool for interacting with the Stockholm public transport (SL) Trafiklab API. It uses standard utilities like curl and jq to fetch departures and deviations from official endpoints (transport.integration.sl.se). The instructions in SKILL.md and references/api.md are consistent with the stated purpose of monitoring transit data and managing user preferences in a local workspace file (.sl/preferences.json).
能力评估
Purpose & Capability
Name/description match the runtime instructions: it uses curl/jq to call SL Trafiklab endpoints, can query any stop/line, and optionally monitors favourites. Requiring curl and jq is proportionate and expected for the provided curl/jq examples; no unexpected binaries or credentials are requested.
Instruction Scope
Instructions are specific to fetching departures/deviations and maintaining autonomous monitoring state. They explicitly instruct the agent to read and write a workspace file at .sl/preferences.json, to consult references/api.md for jq filters, to compare deviation IDs against agent memory, and to send notifications only for new relevant disruptions. These actions are consistent with background monitoring but do grant the skill persistent state and use of agent memory for change detection — users should be aware of these behaviors.
Install Mechanism
Instruction-only skill with no install spec and no code files; lowest-risk installation surface. It assumes curl and jq are present on PATH but does not pull external code.
Credentials
No environment variables, API keys, or unrelated credentials are requested. Persisted state is limited to .sl/preferences.json (non-sensitive configuration of stops/routes).
Persistence & Privilege
The skill persists monitoring preferences in the workspace (.sl/preferences.json) and is designed for autonomous background checks (but does not force always:true). This is reasonable for a monitoring skill, but it does introduce ongoing behavior (periodic API calls and notifications) and persistent storage the user should accept before enabling.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sl-trafiklab-api - 安装完成后,直接呼叫该 Skill 的名称或使用
/sl-trafiklab-api触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Adds references/api.md, consolidating all endpoint details, payload formats, and filtering instructions.
- State file path changes to .sl/preferences.json; preference structure updated to favourite_stops and favourite_routes (see api.md for format).
- Now allows on-demand queries for any stop/route without prior registration; favourites are only used for autonomous monitoring.
- Departures and deviations can be fetched for any site/line at any time; autonomous logic strictly filters disruptions as specified in api.md.
- All action specifics (curl usage, jq filtering, input/output formats) are now defined in references/api.md for cleaner documentation.
v1.0.0
- Initial release for managing SL (Stockholm public transport) user preferences and deviation alerts.
- Supports searching for site IDs by stop name using efficient jq filtering.
- Allows saving preferences for general monitoring and specific journeys, with clear JSON format and local file storage.
- Fetches and strictly filters real-time/public transport disruptions, only reporting those relevant to user-defined stations, lines, and routes.
- Automation-ready: designed to minimize noise and only alert users about meaningful, new disruptions affecting their chosen commutes.
元数据
常见问题
Stockholm Public Traffic Planner 是什么?
Fetch real-time SL (Stockholm public transport) departures and deviation information. Use when checking upcoming departures from stops, querying active train... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 159 次。
如何安装 Stockholm Public Traffic Planner?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sl-trafiklab-api」即可一键安装,无需额外配置。
Stockholm Public Traffic Planner 是免费的吗?
是的,Stockholm Public Traffic Planner 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Stockholm Public Traffic Planner 支持哪些平台?
Stockholm Public Traffic Planner 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Stockholm Public Traffic Planner?
由 Patrik Ekenberg(@patello)开发并维护,当前版本 v1.0.1。
推荐 Skills