bvg-route
БесплатноЗапускает вложенные скриптыНе проверенRoute planning for Berlin public transport (BVG) using the v6.bvg.transport.rest API. Use when the user asks for: (1) route suggestions between two addresses…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
BVG Route Planner Skill
Purpose
- Provide concise, actionable public-transport directions in Berlin using the v6.bvg.transport.rest API.
When to use
- User asks for directions between two places in Berlin (addresses, stop names, or coordinates).
- User asks for next departures from a stop/station.
- User requests to arrive by a specific time (arrive-by) or depart at a specific time.
Core behavior
- Resolve
fromandtointo either stop IDs (preferred) or address/POI objects using GET /locations or /locations/nearby. - Call GET /journeys with arrival or departure parameter as requested, request results=3 and stopovers=true to construct step-by-step legs.
- Format 2–3 options: show total travel time, number of transfers, walking time, and estimated departure/arrival times.
- Provide step-by-step instructions for the selected journey: walk to stop A (distance/time), take line X toward Y, get off at stop B (platform if available), final walk to destination.
- When appropriate, include the journey refreshToken and a GET /journeys/:ref refresh step to update realtime delays.
- For simple next-departure queries, use GET /stops/:id/departures with duration=20 (or configurable) and return the nearest 3 departures.
Outputs
- Human-readable routes with departure times, transfers, walking distances, estimated arrival, and concise step list.
- Machine-friendly JSON (optional) containing journey id, refreshToken, legs, and stop IDs for programmatic refreshes.
References
- The skill expects to use the v6.bvg.transport.rest API (https://v6.bvg.transport.rest/api.html). See references/API.md for summary and examples.
Examples (triggers)
- "How do I get from Invalidenstraße 43 10115 to Leibnizstraße 62 by public transport?"
- "When is the next U-Bahn from U Rosenthaler Platz?"
- "Find journeys that arrive at Deutsche Oper by 17:50 tonight, fastest option first."
Notes for implementers
- IBNR format (CRITICAL): The
/journeysendpoint requires base IBNR codes only (6 digits), not the full ID with::suffixes.- ❌ Wrong:
de:11000:900110001::3orde:11000:900110001 - ✅ Correct:
900110001(extract base 6-digit code from/stopsresults) - Process: Call
/stops?query=...first, extract the 6-digitidfrom results, use that for/journeys.
- ❌ Wrong:
- URL encoding (CRITICAL): All query string parameters must be properly URL-encoded using
urllib.parse.quote()or equivalent. Examples:- Space →
%20 ö→%C3%B6ü→%C3%BCÄ→%C3%84- Special chars like
&,?,#→ their percent-encoded equivalents - Example:
Schönhauser Allee→Sch%C3%B6nhauser%20Allee - Every API call with address/stop name strings in query params must encode before building the URL.
- Space →
- Prefer stop/station IDs when calling /journeys (more reliable than fuzzy names): Use
/stops?query=...to resolve names → base IBNR. - Use
stopovers=trueto build readable step lists; includeentrances=truewhen walking-to-entrance accuracy is important. - Request
results=3then offer the top 2–3 to the user. - Handle timezone-aware ISO datetimes; default to Europe/Berlin if none provided.
Установить bvg-route в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл bvg-route?
Route planning for Berlin public transport (BVG) using the v6.bvg.transport.rest API. Use when the user asks for: (1) route suggestions between two addresses or stops, (2) live next-departure info for a stop, (3) arrival-time–based journey planning (arrive-by or depart-at). Supports outputting 2–3 options ranked by travel time, transfers, and walking, and returning step-by-step directions and refresh tokens for live updates.
Как установить скилл bvg-route?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bvg-route запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic