openmapstack
AI agent skills for geospatial decisions, data discovery, spatial SQL and reproducible analysis projects.
Explore the project homepage, with bundled NYC and Tartu examples in standalone HTML and Observable Framework. The Observable city samples include reactive filters, thematic maps, downloads, and delivery evidence. Browse more projects in the examples gallery. Build the complete Pages site with python3 scripts/build_project_pages.py (Python project dependencies, Node 20+ and npm required); no warehouse credentials or Observable account are needed.
The published homepage (only the homepage, not the demos or the LangSmith review page) loads optional, privacy-limited PostHog analytics from site/analytics.js. It shares the EU project used by the samples gallery and tags events with site=skills-home. Collection runs only at jaakla.github.io/openmapstack-skills/ and skips automated browsers and Do Not Track/GPC. It records page views, Web Vitals, pointer/keyboard install-tab selections, successful command copies, skill ZIP download clicks and demo/gallery/repository link clicks. URL queries and fragments are removed, and session recording, autocapture and person profiles are off. Run node --test tests/site_analytics.test.mjs to check the guards.
Install (assuming you have git and nodejs with npx already installed):
npx [email protected] add jaakla/openmapstack-skills --skill open-map-stack -g
OpenMapStack gives your favorite AI agent: Claude Code, Codex, Cursor, OpenCode, PI and 50+ other agents not just a one-off analysis, but a well-defined workflow project (project.yaml) defining from data discovery through reusable analysis (pipeline.py) to interactive web (dashboard.html) and selected deliverables (built-in dashboard by default; optional QGIS or Observable views). The workflow becomes inspectable and repeatable as a clearly specified project with pinned sources, explicit assumptions and CRS choices and deterministic processing in a python script. It allows also isolated overrides, machine-readable validation, and surfaced provenance.
It is open-first (both data and code-wise) and cloud-native by default, built on shoulders of the established Open GIS stack: STAC for discovery; GeoParquet, COG, and PMTiles for storage and delivery; DuckDB and PostGIS for compute; and QGIS, MapLibre, and Martin for presentation. It also teaches to deploy GDAL/OGR, GeoPandas, xarray/rioxarray, PDAL, routing engines, spatial SQL, and pragmatic hosted services when scale or reliability requires them.
Dashboard basemaps honor user choices and appropriate local or regional services, then fall back to preconfigured goplex.ee Protomaps vector tiles with light/dark switching and visible provider credit. See web-delivery.md for the configuration.
Existing v1 manifests with a map must declare presentation.map.basemap.kind (raster-xyz, raster-wms, or vector-style). Vector basemaps require a style url; add the actual kind to older manifests before validation or regeneration. See the basemap contract.
What's in this repo
The skill collection has four independently installable skills:
| Skill | Use it for |
|---|
| open-map-stack | Ambiguous or multi-stage GIS work; choose sources, compute, storage and delivery together. |
| reproducible-gis-project | Compile or maintain the project manifest, canonical pipeline, pinned sources, corrections, validation and reruns. |
| geospatial-data-discovery | Find and assess open geospatial data under known requirements. |
| spatial-sql | Write, review or optimize spatial SQL on an already chosen engine. |
Each skill has a small entry point and local references loaded as needed. The
generalist retains bounded-task support and material-analysis requirements when
installed alone. Optional product help is documented in the installed
companion reference.
Open Map Stack - general guidance
Includes all the skills.