← 返回 Skills 市场
raychanpmp

City of Lethbridge Open Data

作者 Ray Chan, PMP · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
130
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install lethbridge-opendata
功能描述
Access 123+ datasets from the City of Lethbridge open data portal. Search, fetch, and analyze city data on transit, infrastructure, elections, environment, a...
使用说明 (SKILL.md)

City of Lethbridge Open Data

Access and analyze 123+ open datasets from the City of Lethbridge via ArcGIS Hub. Data covers transit, infrastructure, elections, environment, tourism, and more.

Portal: https://opendata.lethbridge.ca Platform: ArcGIS Hub

Quick Start

# Search for datasets
python3 scripts/lethbridge_data.py search "traffic"

# List all datasets
python3 scripts/lethbridge_data.py list

# View dataset info
python3 scripts/lethbridge_data.py info "Traffic Counts"

# Fetch data from ArcGIS feature service
python3 scripts/lethbridge_data.py fetch "Traffic Counts" --limit 5

# Fetch with field filter
python3 scripts/lethbridge_data.py fetch "Intersection Safety Devices" --limit 10 --format json

# Export as CSV
python3 scripts/lethbridge_data.py fetch "City Boundary" --csv

# List all datasets with download links
python3 scripts/lethbridge_data.py downloads

Commands Reference

Command Description
search \x3Cquery> Search datasets by keyword
list List all datasets
info \x3Cname-or-id> Show dataset metadata and data source
fetch \x3Cname-or-id> Fetch data (opts: --limit, --format json/csv, --csv)
downloads List datasets with direct file download URLs

Data Sources

Lethbridge datasets come in three types:

  1. ArcGIS Feature Services — Queryable geospatial data (parks, streets, boundaries)
  2. ArcGIS Map Services — Read-only map layers
  3. Document Links — Direct file downloads (Excel, CSV, PDF)

The CLI auto-detects the source type and uses the appropriate method.

ArcGIS REST API

Geospatial datasets use the ArcGIS REST query API:

  • Endpoint: https://gis.lethbridge.ca/gisopendata/rest/services/OpenData/
  • Supports where, outFields, resultRecordCount, f (json/geojson) parameters
  • Max 2000 records per query

Data Sources

All data is sourced from the City of Lethbridge's Open Data Portal (opendata.lethbridge.ca). See references/datasets.md for a curated list of popular datasets.

安全使用建议
This skill appears to do what it says: query the City of Lethbridge open data portal and ArcGIS services. Before installing, be aware it will make network requests to opendata.lethbridge.ca, gis.lethbridge.ca and arcgis.com and will create a local .cache directory next to the script to store the catalog. If you plan to run fetch/download on large datasets, expect potentially large network downloads and disk usage. If you need additional assurance, inspect the remainder of the truncated fetch/download handler to confirm it only downloads public dataset files and does not follow or post to unexpected endpoints. Run the script in a controlled environment (or sandbox) if you are running it for the first time.
功能分析
Type: OpenClaw Skill Name: lethbridge-opendata Version: 1.0.1 The skill bundle provides a legitimate tool for accessing the City of Lethbridge's Open Data portal. The Python script (scripts/lethbridge_data.py) uses standard libraries to interact with ArcGIS Hub APIs and the portal's DCAT feed. All network requests are directed to official data sources (opendata.lethbridge.ca, arcgis.com, and gis.lethbridge.ca), and the script includes standard caching logic without any signs of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
The name/description say it queries Lethbridge open data via ArcGIS Hub and the code and SKILL.md implement exactly that: catalog/DCAT reads, ArcGIS REST queries, and document download handling. There are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
SKILL.md instructs running the included Python CLI to search/list/info/fetch/download datasets from opendata.lethbridge.ca. The runtime instructions and the script operate only on the portal and ArcGIS endpoints; they do not attempt to read unrelated system files or environment variables.
Install Mechanism
This is an instruction-only skill with a single Python script and no install spec. No external downloads or package installs are performed by the skill itself, minimizing install-time risk.
Credentials
The skill declares no required environment variables or credentials. The code does not access any environment secrets; it only performs HTTP(S) requests to the open data portal and related ArcGIS endpoints.
Persistence & Privilege
The skill does not request always:true and is user-invocable. It creates a local .cache directory next to the script to cache the DCAT catalog (expected for performance) but does not attempt to modify other skills or system settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install lethbridge-opendata
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /lethbridge-opendata 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Fixed: cache in skill dir instead of home directory
v1.0.0
Initial release — search, fetch, and analyze 123+ City of Lethbridge open datasets via ArcGIS Hub
元数据
Slug lethbridge-opendata
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

City of Lethbridge Open Data 是什么?

Access 123+ datasets from the City of Lethbridge open data portal. Search, fetch, and analyze city data on transit, infrastructure, elections, environment, a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。

如何安装 City of Lethbridge Open Data?

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

City of Lethbridge Open Data 是免费的吗?

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

City of Lethbridge Open Data 支持哪些平台?

City of Lethbridge Open Data 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 City of Lethbridge Open Data?

由 Ray Chan, PMP(@raychanpmp)开发并维护,当前版本 v1.0.1。

💬 留言讨论