Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

Open Data Hub Cli

FreeNo executable scriptsNot checked

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

galjosby galjos3,235 installs in other catalogs

About this skill

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
Full SKILL.md on ClawHub

Install Open Data Hub Cli in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the Open Data Hub Cli skill do?

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

How do I install the Open Data Hub Cli skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the Open Data Hub Cli skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare Open Data Hub Cli with