← 返回 Skills 市场
galjos

Open Data Hub Cli

作者 Josef M. Gallmetzer · GitHub ↗ · v0.1.3 · MIT-0
darwinlinux ✓ 安全检测通过
165
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install open-data-hub-cli
功能描述
Use this skill when working with Open Data Hub, NOI Techpark data, ODH APIs, Tourism API, Mobility API, A22 traffic data, or when an agent should query Open...
使用说明 (SKILL.md)

Open Data Hub CLI

Use odh for public Open Data Hub API work. It is JSON-first, non-interactive, and suitable for scripts and agents.

Open Data Hub is maintained by NOI Techpark. Most practical Tourism and Mobility tasks are about South Tyrol / the Autonomous Province of Bolzano, but do not claim every returned record is located there unless coordinates, location fields, origin metadata, or official docs support it.

First Checks

Run these before relying on the CLI:

odh version
odh doctor --timeout 10s

If odh is not installed in a normal shell, install the latest release:

curl -fsSL https://raw.githubusercontent.com/galjos/odh-cli/main/scripts/install.sh | sh

Or build it from source:

go build -o odh ./cmd/odh

In OpenClaw, this skill declares odh as a required binary. If OpenClaw marks the skill as needing setup, use the offered installer before trying to answer with Open Data Hub data.

When running from a source checkout, use ./odh instead of odh.

API Discovery

List known API surfaces:

odh apis

Fetch OpenAPI specs as JSON:

odh openapi mobility
odh openapi tourism

Use odh call for known endpoints rather than scraping a UI:

odh call tourism /v1/ODHActivityPoi \
  --param pagenumber=1 \
  --param pagesize=1 \
  --param seed=42

For geographic claims, inspect returned fields. Useful examples:

  • Tourism: GpsInfo, LocationInfo, RegionInfo, MunicipalityInfo, LicenseInfo.
  • Mobility: sorigin, scode, stype, scoordinate, smetadata.

Curated Commands

Tourism point of interest:

odh tourism poi --limit 1 --seed 42 --fields Detail.en.Title,GpsInfo

Mobility latest measurements:

odh mobility latest \
  --station-type EChargingStation \
  --data-type number-available \
  --limit 5

Mobility type and data-type discovery:

odh mobility types --kind event
odh mobility datatypes --station-type TrafficSensor --origin A22 --limit 100

A22 traffic diagnostics:

odh mobility events --origin A22 --latest --limit 20
odh a22 status --limit 10

Interpretation Rules

  • Parse stdout as JSON.
  • Treat nonzero exit codes as failures.
  • Treat stderr as diagnostics, not data.
  • Prefer odh and official OpenAPI specs over scraping Open Data Hub web pages.
  • Treat South Tyrol as the common regional context, not as a universal record-level guarantee.
  • Verify location-sensitive answers from coordinates, origins, and metadata in the JSON.
  • Do not infer live A22 traffic from TrafficForecast rows alone.
  • Prefer odh a22 status for A22 because it reports current-event availability and warns when forecast rows are not current incident data.
  • Use --where and --param key=value instead of manually constructing query strings when a curated command supports them.

Official References

安全使用建议
This appears appropriate for public Open Data Hub queries. Before installing, be aware that it depends on an external odh CLI and that the documented curl-to-shell installer should only be used if you trust the GitHub source; otherwise use the pinned Go/OpenClaw install path.
功能分析
Type: OpenClaw Skill Name: open-data-hub-cli Version: 0.1.3 The skill provides a CLI interface for the Open Data Hub (NOI Techpark) APIs, focusing on tourism and mobility data. While SKILL.md mentions a 'curl | sh' installation pattern (a risky but common practice), the primary installation method is via a Go module from a public GitHub repository (github.com/galjos/odh-cli). The instructions are well-aligned with the stated purpose and contain no evidence of malicious intent, data exfiltration, or prompt injection.
能力评估
Purpose & Capability
The stated purpose is to use the odh CLI for public Open Data Hub, Tourism, Mobility, and A22 data queries, and the instructions focus on API discovery and JSON query commands.
Instruction Scope
The runtime instructions are bounded to using odh, parsing stdout as JSON, treating stderr as diagnostics, and avoiding unsupported geographic or traffic claims.
Install Mechanism
The declared Go installer is purpose-aligned, but SKILL.md also documents a curl-to-shell install path from GitHub main, which users should treat as a supply-chain trust decision.
Credentials
Local command execution and network API calls are proportionate for a CLI-based public data access skill; the artifacts do not show destructive local actions or broad file access.
Persistence & Privilege
The artifacts declare no required credentials, environment variables, config paths, persistence, background workers, or privileged account access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install open-data-hub-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /open-data-hub-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Point OpenClaw installer metadata at odh v0.1.1 and document the verified release installer.
v0.1.2
Declare odh as an OpenClaw runtime requirement and add a Go installer hint.
v0.1.1
- Expanded usage guidelines for returning accurate location information; clarified South Tyrol as the main but not universal record region. - Added guidance for verifying geographic claims via coordinates or metadata in API outputs. - Listed useful record fields to check for location details in both Tourism and Mobility APIs. - Updated interpretation rules: emphasized caution with regional assumptions, validation of location-sensitive answers, and preference for official APIs over scraping. - Provided links to official Open Data Hub references.
v0.1.0
Initial release of open-data-hub-cli skill. - Introduces guidance for using the `odh` CLI tool to interact with Open Data Hub APIs, including Tourism and Mobility data. - Provides setup checks and installation instructions. - Documents commands for API discovery, querying curated endpoints, and fetching OpenAPI specs. - Outlines best practices for interpreting CLI outputs and error handling. - Highlights recommendations specific to A22 traffic data usage.
元数据
Slug open-data-hub-cli
版本 0.1.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Open Data Hub Cli 是什么?

Use this skill when working with Open Data Hub, NOI Techpark data, ODH APIs, Tourism API, Mobility API, A22 traffic data, or when an agent should query Open... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 165 次。

如何安装 Open Data Hub Cli?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install open-data-hub-cli」即可一键安装,无需额外配置。

Open Data Hub Cli 是免费的吗?

是的,Open Data Hub Cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Open Data Hub Cli 支持哪些平台?

Open Data Hub Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux)。

谁开发了 Open Data Hub Cli?

由 Josef M. Gallmetzer(@galjos)开发并维护,当前版本 v0.1.3。

💬 留言讨论