Skip to content
Data
Skill

/install-geoai

Verify that the geoai Python package is installed and functional. If not, provide installation instructions. Optionally check extra dependencies for deep learning models.

From plugin
geoai-skills
358 skills

Claude Code

$ npx -y skills add opengeos/geoai-skills --skill install-geoai --agent claude-code

SKILL.md

install-geoai.SKILL.md
name: install-geoai
description: >
  Verify that the geoai Python package is installed and functional. If not,
  provide installation instructions. Optionally check extra dependencies
  for deep learning models.
argument-hint: "[--check] [--extras]"
allowed-tools: Bash

Arguments: `$@`

Step 1 -- Check if geoai is importable

python3 -c "import geoai; print(f'geoai v{geoai.__version__}')"
  • **Success** -> report the version and continue to Step 2 if `--check` or `--extras` was passed, otherwise stop.
  • **ImportError** -> go to Step 3.

Step 2 -- Check optional dependencies

If `--check` is present in `$@`, run a comprehensive dependency check:

python3 -c "
deps = [
    'geoai', 'geopandas', 'rasterio', 'rioxarray', 'shapely',
    'leafmap', 'numpy', 'pandas', 'matplotlib',
]
for dep in deps:
    try:
        mod = __import__(dep)
        ver = getattr(mod, '__version__', 'unknown')
        print(f'{dep}: {ver}')
    except ImportError:
        print(f'{dep}: NOT INSTALLED')
"

If `--extras` is present in `$@`, also check deep learning dependencies:

python3 -c "
import sys
dl_deps = ['torch', 'torchvision', 'transformers', 'timm', 'segmentation_models_pytorch']
for dep in dl_deps:
    try:
        mod = __import__(dep)
        ver = getattr(mod, '__version__', 'unknown')
        print(f'{dep}: {ver}')
    except ImportError:
        print(f'{dep}: NOT INSTALLED')

try:
    import torch
    if torch.cuda.is_available():
        print(f'CUDA: {torch.version.cuda} (device: {torch.cuda.get_device_name(0)})')
    else:
        print('CUDA: not available (CPU only)')
except ImportError:
    print('CUDA: torch not installed')
"

Report the results and note any missing packages.

Step 3 -- Installation instructions

If geoai is not installed, tell the user:

> **geoai is not installed.** Install it with: > > ``` > pip install geoai-py > ``` > > For GPU-accelerated AI models (object detection, segmentation), also install PyTorch: > > ``` > pip install torch torchvision > ``` > > For the full set of optional dependencies: > > ``` > pip install "geoai-py[extra]" > ```

Stop after showing the instructions. Do not attempt to install automatically unless the user explicitly asks.

Read more
@opengeos
Ships withgeoai-skills

A Claude Code plugin that adds GeoAI-powered skills for geospatial data exploration, satellite imagery download, AI-based object detection, and session memory. Built on the GeoAI Python library.

Stars on GitHub

Momentum

stars in total
35
Star history of opengeos/geoai-skills on GitHub, a chart by star-history.com

Other skills on geoai-skills.

detect-objects

detect-objects

Run pre-trained AI models on geospatial imagery. Detect buildings, cars, ships, solar panels, agriculture fields, or use…

download-data

download-data

Download NAIP aerial imagery for a bounding box. Specify coordinates as minx,miny,maxx,maxy in WGS84 and optionally a year.

inspect-geo

inspect-geo

Inspect any raster or vector geospatial file. Returns CRS, bounds, bands, resolution, dtype, attribute summaries, and band…

overture-data

overture-data

Download Overture Maps data (buildings, places, roads, land use, water, etc.) for a bounding box. Returns a GeoDataFrame saved as…

process-raster

process-raster

Process raster data: clip by bounding box, stack multiple bands, mosaic GeoTIFFs, or convert between raster and vector formats.

read-memories

read-memories

Search past Claude Code session logs to recover context from previous conversations. Finds past decisions, data paths, CRS info,…

More skills from other plugins.

context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem04d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog10d41k
@posthog@posthogInstall Skill

Questions about install-geoai.

Which coding agents can use install-geoai?
install-geoai installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.