City of Lethbridge Open Data for Openclaw

An Openclaw Skills integration for programmatically accessing and analyzing over 123 municipal datasets from the City of Lethbridge open data portal.

raychanpmp
v1.0.1
Mar 31, 2026
0
796
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lethbridge-opendata

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lethbridge-opendata using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is City of Lethbridge Open Data?

The City of Lethbridge Open Data skill is a specialized tool within the Openclaw Skills library designed to provide seamless access to the city's ArcGIS Hub portal. It allows developers and AI agents to programmatically query, filter, and retrieve urban data ranging from transit routes and infrastructure projects to election results and environmental statistics.

By leveraging this skill, users can bridge the gap between raw municipal data and actionable insights. The integration handles the complexities of the ArcGIS REST API, making it easy to fetch queryable geospatial data or direct document links for further processing in data science or mapping workflows.

City of Lethbridge Open Data Use Cases

  • Analyzing urban infrastructure and traffic counts for city planning simulations.
  • Automating the retrieval of transit and election data for localized information dashboards.
  • Fetching environmental and geospatial layers for sustainability research projects.
  • Integrating real-time city boundary and zoning data into GIS applications.

How City of Lethbridge Open Data Works

  1. The user initiates a query via the Openclaw Skills interface to search the City of Lethbridge data catalog.
  2. The underlying Python script communicates with the ArcGIS Hub portal to identify relevant datasets based on keywords.
  3. The skill identifies the data source type, whether it is a Feature Service, Map Service, or direct document link.
  4. It queries the ArcGIS REST API using parameters like 'where' and 'outFields' to refine the data output.
  5. The retrieved data is formatted into JSON or CSV and delivered to the user or agent for analysis.

City of Lethbridge Open Data Setup

To get started with this integration from the Openclaw Skills collection, ensure your environment has the necessary script and Python dependencies installed.

# List all available datasets to verify connectivity
python3 scripts/lethbridge_data.py list

# Search for a specific topic like 'transit'
python3 scripts/lethbridge_data.py search "transit"

City of Lethbridge Open Data Data Schema & Taxonomy

The skill organizes data based on the source type provided by the City of Lethbridge portal:

Source Type Data Content Retrieval Method
ArcGIS Feature Services Queryable geospatial data (parks, streets, boundaries) ArcGIS REST Query API
ArcGIS Map Services Read-only map layers Map Service Endpoints
Document Links Direct file downloads (Excel, CSV, PDF) HTTP GET Requests

All geospatial queries support a maximum of 2000 records per request and allow for field filtering and format specification.

City of Lethbridge Open Data Advanced Features

  • Support for field-specific filtering to reduce data payload and improve processing speed.
  • Multi-format export options including JSON, GeoJSON, and CSV for diverse tool compatibility.
  • Automatic source type detection to simplify the data retrieval lifecycle.
  • Direct access to download URLs for non-geospatial document datasets like Excel and PDF files.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*