spatial-analysis
Skill203 starsChanged 8 months agoMITView on GitHub
Guide agent through geospatial data analysis tasks using built-in, learned, and fabricated geo tools
2 other projects use a version of this.
Adopted by
Most recently taken up by
- TerraLabAI/geoai-skillstheir own version, first seen Nov 1, 2026
- cafferychen777/ChatSpatialtheir own version, first seen Aug 14, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- cafferychen777/ChatSpatial★ 45same name
- TerraLabAI/geoai-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- data-pipelineSkill
- remote-sensingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 8 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
When the user requests geospatial data analysis, follow this structured approach:
- Distinctive: line 11
If the required data is not already present, locate candidate datasets first:
- Very specific: line 19
Use geo_info to understand the data before doing anything:
- Very specific: line 26
Use geo_crs_detect to verify the coordinate reference system:
- Very specific: line 32
Before inventing a new multi-step flow, check whether the workspace already contains a similar learned geo pipeline in pipelines/geo/.
- Distinctive: line 36
When the task maps to a common PostGIS pattern, inspect the codebook first:
- Distinctive: line 43
When analysis involves a PostGIS database, inspect the available schema before composing SQL:
- Very specific: line 50
Use geo_process for GDAL/OGR operations and geo_format_convert for direct format changes.
- Distinctive: line 53
If the task is recurrent and no learned pipeline, built-in tool, or verified codebook pattern fits, fabricate a workspace geo tool:
- Very specific: line 54
Create the script under tools/geo/scripts/.
- Very specific: line 55
Create the manifest under tools/geo/<tool_name>.yaml.
- Very specific: line 56
Use a geo_ tool name.
- Distinctive: line 62
Prefer reusing learned pipelines before fabricating a new tool.
- Distinctive: line 63
Prefer built-in tools and verified SQL patterns before creating a persistent tool.
- Distinctive: line 64
Keep generated outputs inside the workspace.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Spatial Analysis Workflow
When the user requests geospatial data analysis, follow this structured approach:
Step 1: Discover Candidate Data
If the required data is not already present, locate candidate datasets first:
geo_data_catalog(action="local_scan", path="<workspace path>")
geo_data_catalog(action="overpass_search", bbox=[minLon,minLat,maxLon,maxLat], tags={"amenity":"school"}, limit=10)
geo_data_catalog(action="stac_search", collections=["sentinel-2-l2a"], bbox=[minLon,minLat,maxLon,maxLat], limit=5)Step 2: Inspect the Data
Use geo_info to understand the data before doing anything:
geo_info(path="<file_path>")This tells you the format, CRS, extent, and size.
Step 3: Check the CRS
Use geo_crs_detect to verify the coordinate reference system:
geo_crs_detect(path="<file_path>")Step 4: Reuse Learned Pipelines First
Before inventing a new multi-step flow, check whether the workspace already contains a similar learned geo pipeline in pipelines/geo/.
Reuse the same tool sequence when the goal is materially similar.
Step 5: Check the Spatial SQL Codebook
When the task maps to a common PostGIS pattern, inspect the codebook first:
geo_sql_codebook(action="list", intent="<analysis goal>")
geo_sql_codebook(action="render", pattern="<pattern_name>", values={...})Step 6: Inspect PostGIS Before Querying
When analysis involves a PostGIS database, inspect the available schema before composing SQL:
geo_spatial_query(action="schema")
geo_spatial_query(action="query", sql="SELECT ...")Step 7: Process and Convert Data
Use geo_process for GDAL/OGR operations and geo_format_convert for direct format changes.
Step 8: Fabricate a Missing Persistent Tool
If the task is recurrent and no learned pipeline, built-in tool, or verified codebook pattern fits, fabricate a workspace geo tool:
- Create the script under
tools/geo/scripts/. - Create the manifest under
tools/geo/<tool_name>.yaml. - Use a
geo_tool name. - The script will receive tool arguments as JSON on stdin.
- The fabricated tool will auto-register on the next agent startup.
Key Conventions
- Prefer reusing learned pipelines before fabricating a new tool.
- Prefer built-in tools and verified SQL patterns before creating a persistent tool.
- Keep generated outputs inside the workspace.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

