Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Open Data Hub Cli

БесплатноБез исполняемых скриптовНе проверен

Query Open Data Hub (NOI Techpark) APIs via `odh`: South Tyrol traffic, A22, parking, EV charging availability, Tourism, STA GTFS timetables, and GTFS-RT.

galjosот galjos3 235 установок в других каталогах

Об этом скилле

Open Data Hub CLI (odh)

Use odh (or its read-only MCP server odh mcp serve) instead of scraping Open Data Hub pages. Most datasets center on South Tyrol / Bolzano—verify geography from returned coordinates, origin, or metadata.

Requires odh v0.7.3+ (brew install galjos/odh/odh or go install github.com/galjos/odh-cli/cmd/[email protected]). For Italian fuel prices or OSM EV charger plug/tariff info, use pitstop if installed.

Rules

  • Add --json (or --format json) before parsing output; curated commands (traffic, a22 status, transit, tourism types, mobility types, mobility datatypes) default to table.
  • stdout is data, stderr is diagnostics; exit 2 = bad invocation, exit 1 = runtime failure.
  • Put global --timeout before the subcommand (odh --timeout 20s traffic today --source content --json). odh doctor --timeout 10s is a local flag.
  • Run odh <command> --help when unsure of flags. Discover IDs, origins, datatypes, zones, and stops before filtering.
  • Report returned source, source_detail, endpoint, warnings, and coverage (result_truncated, upstream_may_have_more). Never infer provenance or treat empty/stale feeds as "clear."

Health & Discovery

odh version
odh doctor --timeout 10s
odh datasets guide "ev charging availability" --format json
odh datasets search parking
odh apis
odh openapi mobility
odh mobility types --kind station --json
odh mobility origins --station-type ParkingStation
odh mobility datatypes --station-type TrafficSensor --origin A22 --limit 1000 --json
odh call tourism /v1/ODHActivityPoi --param pagesize=1 --param fields=Detail.en.Title,GpsInfo
  • Start unfamiliar questions with odh datasets guide <topic> --format json and follow its discovery, verify, and caveats.
  • Always run odh mobility origins --station-type <type> before --origin. Note --origin filters locally after fetching; use --where 'sorigin.eq."..."' for server-side filtering.
  • mobility origins|stations|datatypes|events emit a truncation warning whenever --limit fills—raise --limit until that warning clears before claiming completeness.
  • --param on odh call is repeatable and preserves commas.

Traffic & A22

odh traffic today --source content --json
odh traffic today --source content --area pustertal --json
odh traffic search radroute --today --source content --json
odh traffic zones --json
odh traffic categories --json
odh a22 status --limit 10 --json
  • Use --source content for current South Tyrol road notices. Default --source odh reads a frozen Mobility Timeseries feed (empty or stale rows never mean roads are clear; state the newest row date).
  • Under --source content: --road and --type bike exit 2 (use --search or --near instead). zone_id, zone, zone_it, road, road_name, severity, and series_id are omitted; an absent end (event.get("end")) means open; --include-expired shows ended notices; stale only means unchanged for 30 days. --zone-id/--area match by 2 km coordinate inference (surface the unassignable count warning; phrase as "in that area", and use --search for a specific village).
  • A22: a22 status inspects a Timeseries event feed plus TrafficForecast (neither is a live incident bulletin). For current notices use odh call tourism /v1/Announcement --param source=a22 --param rawsort=-LastChange; for live traffic level inspect LinkStation (lds_leggeri_desc, lds_pesanti_desc). Past A22 incidents are not archived here.

Mobility & Tourism Quality Gates

Run diagnostics first for EV availability, parking forecasts, and Tourism events:

odh diagnostics ev-charging --origin <ORIGIN> --fresh-within 24h
odh diagnostics parking-forecasts --origin "Municipality Merano" --fresh-within 2h --forecast-minutes 60
odh mobility latest --station-type ParkingStation --data-type free --origin "Municipality Merano" --active --fresh-within 2h --sort newest --request-limit 10000 --limit 10 --json
odh diagnostics tourism-events --date 2026-05-18 --limit 20
odh tourism poi --limit 1 --seed 42 --fields Detail.en.Title,GpsInfo
  • EChargingStation includes mostly non-South-Tyrol (Swiss) live rows—verify scoordinate before local claims.
  • diagnostics parking-forecasts: current is free_spaces, forecast is occupied_vehicles. If verdict is current_only, omit forecasts.
  • Tourism events: verify date_status, location_status, and GpsInfo before "near me today" claims.

Transit

odh gtfs datasets
odh gtfs realtime --dataset sta-time-tables --feed trip-updates --limit 5
odh transit stops search merano --limit 10 --json
odh transit departures --stop-id <stop_id> --date 2026-05-16 --around 13:00 --mode train --json
odh transit trip --from-stop-id <from_id> --to-stop-id <to_id> --date 2026-05-16 --time 13:00 --mode train --json
odh transit journey --from-stop-id <from_id> --to-stop-id <to_id> --date 2026-05-16 --time 13:00 --ma
Полный SKILL.md на ClawHub

Установить Open Data Hub Cli в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Open Data Hub Cli?

Query Open Data Hub (NOI Techpark) APIs via `odh`: South Tyrol traffic, A22, parking, EV charging availability, Tourism, STA GTFS timetables, and GTFS-RT.

Как установить скилл Open Data Hub Cli?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Open Data Hub Cli запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Open Data Hub Cli с