omh-geospatial-analysis
What it does
It intersects two geographic layers, checks their coordinate systems and geometry, and reports the measured overlap area with reproducible output files. It is for analysts working with map data.
When to use it
- ✓When you need to find where two map layers overlap.
- ✓When you want the overlap area measured between two geographic datasets.
- ✓When you want a result that is reproducible from saved output files.
Skill link
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-geospatial-analysis/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Intersect these two GeoJSON layers in a metric coordinate system and compute the overlap area.”
5 new skills a week. 1 minute to read.
How it works
The agent checks the layers' coordinate systems and geometry, runs the overlay in a metric projection, and saves the results as GeoJSON with the measured areas. It refuses to guess a missing coordinate system.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Geospatial Analysis
This is an OMH geospatial-analysis workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
Polygon computations can return plausible but wrong numbers when CRS, coordinate units or geometry are invalid. This skill couples fail-closed checks to a runnable optional overlay producer and inspectable replay artifacts.
First Steps
- Read
toolkit/README.mdandreferences/execution-and-qa.mdbefore executingtoolkit/scripts/analyze.py; installation and skill discovery never run it. - Confirm the two layers, explicit EPSG declarations, study extent, projected metre CRS, output directory and finite host timeout; never guess a missing CRS.
- Use the original synthetic rectangle fixture only for backend QA; do not describe it as a public flood, facility or site-suitability finding.
Do Not Use When
- The task only aggregates supplied tables or charts without coordinate computation; use
omh-data-analysis. - The task only needs source discovery or an explanation from documentation; use
omh-web-research. - The task is connecting a generic tool server, not executing a domain calculation; use Hermes' native MCP configuration guidance.
Examples
Good example:
- Prompt: Intersect these two GeoJSON layers in a metric CRS and compute overlap area.
- Expected behavior: Require authoritative source CRS, validate geometry, execute real intersection, then inspect result GeoJSON, measured summary and replay manifest.
- Why: A spatial computation has measurable geometry and units rather than a report-only output.
Bad example:
- Prompt: Explain the map metaphor in this essay and plot the existing CSV totals.
- Expected behavior: Answer the writing question or use
data-analysisfor the table; do not run a spatial backend. - Why: Map vocabulary alone does not establish a coordinate computation.
Completion Checklist
- Source declarations and metric target are explicit; invalid geometry is rejected, not silently repaired.
- The actual backend command and exit were observed; output GeoJSON, summary and manifest were read back and hashed, or the blocker is stated.
- Pair sums versus union area, projected measurement limits and synthetic versus public-world evidence remain distinct.
Recovery Notes
- If CRS is missing, stop and ask for the authoritative declaration; do not assign one based on numeric range.
- If dependencies are missing, return a nonzero failure and an explicit optional-environment setup recipe; never synthesize outputs.
- If geometry is invalid, report the failing layer and request approved preprocessing before rerunning; if output already exists, choose a new directory.
When to Use
Use when supplied polygon layers need actual intersection and measured overlap, not a narrative report or a decorative map.
Strong routing signals: `geospatial-analysis`, `geospatial overlay`, `spatial intersection`, `intersect geojson layers`, `compute overlap area`
Catalog Metadata
Category: analysis
Phase: spatial-computation
Quality tier: execution-evidence-gated
Reasoning demand: heavy
Quality bar:
- Require finite 2D polygon geometry, explicit CRS and projected metre axes before measuring.
- Record the real backend, exact versions, command, exit and output hashes; do not call direct libraries GIS-MCP.
- Verify synthetic fixture count and area independently, and never generalize fixture numbers to public-world risk.
Required inputs:
- input and overlay polygon layers
- explicit source and metric target CRS
- new output directory and execution budget
Expert clarification questions:
input and overlay polygon layers- English: Which two polygon layers, source permissions, and study extent define the overlap question?
- Korean: Which two polygon layers, source permissions, and study extent define the overlap question?
Expected outputs:
- result GeoJSON
- measured summary JSON
- replay and provenance manifest
Artifact expectations:
- Actual
result.geojsonin longitude/latitude OGC:CRS84; each positive-area pair carries source indices, original namespaced properties, area_m2 and perimeter_m. - Authored
geospatial_summary/v1insummary.json: result count, touch-only count, measurement CRS, pair sums, unique union area and explicit limitations. - Authored
geospatial_manifest/v1inmanifest.json: input/output hashes, actual direct backend versions, settings, timestamp, script dige
FAQ
Will it guess the coordinate system?
No. The skill requires the coordinate system to be declared and fails closed if it is missing.
Is the sample data a real study?
No. The skill says its built-in rectangle example is synthetic and not a real finding.
Can it just explain map concepts?
Yes, but running calculations needs the layers and the coordinate details.
Details
Original description by the author
[omh] Spatial layers to intersect: execute CRS-safe polygon overlay with measured areas, validated geometry and reproducible GeoJSON outputs. Use when the user says: geospatial-analysis, geospatial overlay, spatial intersection, intersect geojson layers, compute overlap area.
repo: rlaope/oh-my-hermes
Popularity
- GitHub stars
- 5.1k
- Ranking position
- #15111
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
omh-accessibility-audit
5.1kHelps your agent check a screen or flow for accessibility gaps, such as keyboard use, screen reader labels, contrast, and touch target size.
omh-adversarial-consensus
5.1kHelps your agent attack a technical proposal from several independent angles before you commit to it, then sums up what survives.
omh-agent-debug
5.1kHelps your agent work out why another AI agent is stuck, looping, or drifting, and suggests the smallest safe way to recover.
omh-agent-instructions
5.1kHelps your agent write or update the instruction file, such as AGENTS.md or CLAUDE.md, that tells AI tools how to work in a project.
Similar skills
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
slacrawl
394kLets your agent search and count messages in a local Slack archive, check how fresh that archive is, and refresh it when needed.
goplaces
394kHelps your agent search for places, get their details and reviews, and resolve place names using Google Places, with JSON output for scripts.