geospatial-analysis

Performs geospatial data analysis including GIS operations, spatial statistics, remote sensing image processing, geocoding, and cartographic visualization; trigger when users discuss maps, coordinates, satellite imagery, spatial patterns, or geographic data.

564 stars

Best use case

geospatial-analysis is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Performs geospatial data analysis including GIS operations, spatial statistics, remote sensing image processing, geocoding, and cartographic visualization; trigger when users discuss maps, coordinates, satellite imagery, spatial patterns, or geographic data.

Teams using geospatial-analysis should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/geospatial-analysis/SKILL.md --create-dirs "https://raw.githubusercontent.com/beita6969/ScienceClaw/main/skills/geospatial-analysis/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/geospatial-analysis/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How geospatial-analysis Compares

Feature / Agentgeospatial-analysisStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Performs geospatial data analysis including GIS operations, spatial statistics, remote sensing image processing, geocoding, and cartographic visualization; trigger when users discuss maps, coordinates, satellite imagery, spatial patterns, or geographic data.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

## When to Trigger

Activate this skill when the user mentions:
- GIS, geographic information systems, spatial data
- Coordinates, latitude/longitude, projections, CRS
- Spatial statistics, spatial autocorrelation, hotspot analysis
- Remote sensing, satellite imagery, NDVI, land cover classification
- Mapping, cartography, choropleth, heatmaps
- Geocoding, reverse geocoding, routing, network analysis
- Shapefiles, GeoJSON, raster data, vector data

## Step-by-Step Methodology

1. **Data acquisition and format assessment** - Identify data types: vector (points, lines, polygons in shapefile/GeoJSON/GeoPackage) or raster (GeoTIFF, NetCDF). Determine coordinate reference system (CRS). Check for common issues: mixed CRS, topology errors, missing geometries.
2. **Projection and transformation** - Ensure all layers share the same CRS. Use geographic CRS (WGS84/EPSG:4326) for global data, projected CRS (UTM, state plane) for area/distance calculations. Apply appropriate datum transformation.
3. **Spatial operations** - Perform geoprocessing: buffer, intersect, union, clip, dissolve. For point data: spatial joins, nearest neighbor analysis. For raster: reclassification, map algebra, zonal statistics.
4. **Spatial statistics** - Test for spatial autocorrelation (Global Moran's I). Identify clusters and hotspots (Local Moran's I / LISA, Getis-Ord Gi*). For point patterns: kernel density estimation, Ripley's K function. For regression: spatial lag or spatial error models (GWR for non-stationarity).
5. **Remote sensing analysis** - Atmospheric correction and preprocessing. Compute indices (NDVI, NDWI, NDBI). Supervised classification (random forest, SVM) or unsupervised (K-means, ISODATA). Accuracy assessment with confusion matrix and Kappa statistic.
6. **Visualization and cartography** - Create maps with proper elements: title, scale bar, north arrow, legend, data source. Use appropriate color schemes (sequential for magnitude, diverging for deviation, qualitative for categories). Consider colorblind-safe palettes.
7. **Validation** - Verify spatial operations with visual inspection and area/count checks. Cross-validate classification accuracy. Assess edge effects in spatial statistics. Report spatial resolution and positional accuracy.

## Key Databases and Tools

- **OpenStreetMap** - Open geographic data
- **USGS Earth Explorer / Copernicus Open Access Hub** - Satellite imagery
- **Natural Earth** - Public domain map data
- **Census TIGER/Line** - US geographic boundaries
- **QGIS / ArcGIS** - GIS desktop software
- **GeoPandas / Rasterio / Folium** - Python geospatial libraries
- **Google Earth Engine** - Cloud-based remote sensing platform

## Output Format

- Maps with standard cartographic elements (title, legend, scale bar, north arrow, CRS noted).
- Spatial statistics results with test statistic, p-value, and interpretation.
- Classification accuracy as confusion matrix with overall accuracy, Kappa, and per-class metrics.
- Coordinate data in standard formats (decimal degrees for geographic, meters for projected).
- GeoJSON or shapefile outputs for derived spatial data.

## Quality Checklist

- [ ] CRS explicitly stated for all datasets and outputs
- [ ] Projection appropriate for the analysis (equal-area for density, conformal for shape)
- [ ] Spatial resolution and positional accuracy documented
- [ ] Topology errors checked and cleaned
- [ ] Color scheme appropriate for data type and accessible to colorblind viewers
- [ ] Scale bar and north arrow included on all maps
- [ ] Edge effects and modifiable areal unit problem (MAUP) considered
- [ ] Data sources and vintage documented

Related Skills

statistical-analysis

564
from beita6969/ScienceClaw

Guided statistical analysis with test selection and reporting. Use when you need help choosing appropriate tests for your data, assumption checking, power analysis, and APA-formatted results. Best for academic research reporting, test selection guidance. For implementing specific models programmatically use statsmodels.

social-science-analysis

564
from beita6969/ScienceClaw

Social science research methods including survey design, qualitative analysis, content analysis, network analysis, psychometrics, and mixed methods. Covers sociology, psychology, political science, education, and communication studies. Use when user designs surveys, analyzes qualitative data, does content analysis, builds scales, or uses mixed methods. Triggers on "survey design", "qualitative analysis", "content analysis", "Likert scale", "thematic analysis", "grounded theory", "factor analysis", "SEM", "structural equation", "psychometrics", "interview coding".

scipy-analysis

564
from beita6969/ScienceClaw

Scientific computing and statistical analysis with SciPy, NumPy, and pandas. Use when: (1) statistical hypothesis testing, (2) optimization problems, (3) signal processing, (4) numerical integration, (5) data manipulation and analysis. NOT for: symbolic math (use sympy-math), machine learning (use sklearn directly), or visualization (use matplotlib-viz).

patent-analysis

564
from beita6969/ScienceClaw

Conducts patent landscape analysis including prior art searches, patent claim interpretation, freedom-to-operate assessment, and intellectual property strategy for scientific inventions; trigger when users discuss patents, prior art, IP protection, or technology licensing.

paper-analysis

564
from beita6969/ScienceClaw

Read, summarize, and critically analyze scientific papers. Extract key findings, methodology, limitations, and contributions. Use when user shares a paper (PDF/URL/DOI), asks to summarize a paper, critique methodology, extract data from a paper, compare papers, or do a critical review. Triggers on "summarize this paper", "analyze this study", "what does this paper say", "critique this methodology", "extract findings from".

nlp-analysis

564
from beita6969/ScienceClaw

Natural language processing for research including text mining, sentiment analysis, topic modeling, named entity recognition, text classification, and corpus analysis. Use when user needs to analyze text data, extract information from documents, do sentiment analysis, topic modeling, or text classification for research purposes. Triggers on "text mining", "sentiment analysis", "topic modeling", "NER", "named entity", "text classification", "word embeddings", "LDA", "corpus analysis", "word frequency", "TF-IDF".

meta-analysis

564
from beita6969/ScienceClaw

Perform quantitative meta-analysis with effect size calculation, forest plots, funnel plots, and heterogeneity assessment. Use when: user asks to combine results from multiple studies, calculate pooled effect sizes, assess publication bias, or create forest/funnel plots. NOT for: systematic review protocol (use systematic-review) or single-study statistics (use statsmodels-stats).

linguistics-analysis

564
from beita6969/ScienceClaw

Analyze language structures, typological features, and semantic change across languages

legal-analysis

564
from beita6969/ScienceClaw

Analyze legal contracts, extract clauses, and perform legal research with structured frameworks

genomics-analysis

564
from beita6969/ScienceClaw

Orchestrates a genomics analysis workflow from gene query through expression analysis to pathway enrichment. Use when investigating gene function, analyzing expression data, or performing pathway-level interpretation. NOT for pure protein structure modeling or drug-target interaction analysis.

genome-analysis

564
from beita6969/ScienceClaw

Performs genomics analyses including gene expression profiling, BLAST sequence alignment, GWAS interpretation, variant calling, and genome assembly tasks; trigger when the user mentions DNA/RNA sequences, SNPs, gene panels, or comparative genomics.

exploratory-data-analysis

564
from beita6969/ScienceClaw

Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats. This skill should be used when analyzing any scientific data file to understand its structure, content, quality, and characteristics. Automatically detects file type and generates detailed markdown reports with format-specific analysis, quality metrics, and downstream analysis recommendations. Covers chemistry, bioinformatics, microscopy, spectroscopy, proteomics, metabolomics, and general scientific data formats.