swiss-transport
Swiss Public Transport real-time information. Use when querying train, bus, tram, or boat schedules in Switzerland. Supports station search, departure boards, journey planning from A to B, and connection details. Use for queries like "When does the next train leave from Zürich?" or "How do I get from Bern to Geneva?" or "Show departures at Basel SBB".
Why use this skill?
Get real-time Swiss train, bus, and boat schedules. Plan journeys, check departures, and search stations with the official OpenClaw Swiss Transport skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/xenofex7/swiss-transportWhat This Skill Does
The swiss-transport skill provides a powerful interface for interacting with the Swiss Public Transport infrastructure via the official transport.opendata.ch API. It enables users to fetch real-time data for trains, trams, buses, and boats throughout Switzerland. Whether you need to locate a specific station, check upcoming departure times, or plan a complex, multi-leg journey from one side of the country to the other, this skill retrieves accurate, live data including current delays and platform modifications. It is a vital tool for commuters and travelers who rely on the efficiency of the Swiss transport network.
Installation
You can install this skill directly using the OpenClaw command-line interface. Open your terminal and run:
clawhub install openclaw/skills/skills/xenofex7/swiss-transport
Ensure that you have jq installed on your system if you intend to use the CLI examples, as the skill heavily leverages this for JSON parsing and output formatting.
Use Cases
- Commuting: Quickly check if your next train to the office is delayed or which platform it departs from.
- Travel Planning: Compare different routes between cities, such as finding the fastest connection between Geneva and St. Gallen.
- Station Lookup: Identify the exact ID or name of a station when only a partial name is known.
- Logistics: Use the API to extract detailed connection segments, including transport types and transit lines for advanced scheduling.
Example Prompts
- "When is the next train from Zürich HB to Bern, and does it require a transfer?"
- "Show me all upcoming departures from Basel SBB for the next hour."
- "How do I get from Lugano to Zermatt arriving before 6 PM today?"
Tips & Limitations
- Timezones: All returned times are in local Swiss time (CET/CEST), so adjust your planning accordingly if you are accessing this from abroad.
- Accuracy: The data is pulled from the official transport.opendata.ch API, ensuring high reliability, but always verify platform changes on station display boards.
- Autocomplete: You do not need the full official name of a station; the search function is robust and handles partial matches (e.g., "Zürich" instead of "Zürich Hauptbahnhof").
- Limits: While the API is efficient, remember that connections are limited to a maximum of 16 results per request. For larger queries, use the
limitparameter to refine your search results.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-xenofex7-swiss-transport": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api
Related Skills
flight-tracker
Flight tracking and scheduling. Track live flights in real-time by region, callsign, or airport using OpenSky Network. Search flight schedules between airports. Use for queries like "What flights are over Switzerland?" or "When do flights from Hamburg arrive in Zurich?" or "Track flight SWR123".
assemblyai-transcriber
Transcribe audio files with speaker diarization (who speaks when). Supports 100+ languages, automatic language detection, and timestamps. Use for meetings, interviews, podcasts, or voice messages. Requires AssemblyAI API key.
bookstack
BookStack Wiki & Documentation API integration. Manage your knowledge base programmatically: create, read, update, and delete books, chapters, pages, and shelves. Full-text search across all content. Use when you need to: (1) Create or edit wiki pages and documentation, (2) Organize content in books and chapters, (3) Search your knowledge base, (4) Automate documentation workflows, (5) Sync content between systems. Supports both HTML and Markdown content.
swissweather
Get current weather and forecasts from MeteoSwiss (official Swiss weather service). Use when querying Swiss weather data, local measurements from Swiss weather stations, or Swiss-specific forecasts. Provides real-time measurements (temperature, humidity, wind, precipitation, pressure) from 100+ Swiss stations and multi-day forecasts by postal code. Ideal for Swiss locations - more accurate than generic weather services for Switzerland.
milkee
Complete MILKEE accounting integration for Swiss businesses. Manage projects, customers, time tracking, tasks, and products. Use when: (1) tracking billable time with start/stop timers, (2) creating/managing projects and customers, (3) recording work entries with descriptions, (4) viewing daily time summaries. Features smart fuzzy project matching.