← Back to Skills Marketplace
patello

Stockholm Public Traffic Planner

by Patrik Ekenberg · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
159
Downloads
0
Stars
1
Active Installs
2
Versions
Install in OpenClaw
/install sl-trafiklab-api
Description
Fetch real-time SL (Stockholm public transport) departures and deviation information. Use when checking upcoming departures from stops, querying active train...
Usage Guidance
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.
Capability Analysis
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).
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sl-trafiklab-api
  3. After installation, invoke the skill by name or use /sl-trafiklab-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug sl-trafiklab-api
Version 1.0.1
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 159 downloads so far.

How do I install Stockholm Public Traffic Planner?

Run "/install sl-trafiklab-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Stockholm Public Traffic Planner free?

Yes, Stockholm Public Traffic Planner is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Stockholm Public Traffic Planner support?

Stockholm Public Traffic Planner is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Stockholm Public Traffic Planner?

It is built and maintained by Patrik Ekenberg (@patello); the current version is v1.0.1.

💬 Comments