/geoai-skills:install-geoai [--check] [--extras]from geoai-skills
Verifies geoai Python package installation and checks optional dependencies for geospatial AI/deep learning workflows.
Ships in geoai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Arguments: $@
python3 -c "import geoai; print(f'geoai v{geoai.__version__}')"
--check or --extras was passed, otherwise stop.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.
If geoai is not installed, tell the user:
geoai is not installed. Install it with:
pip install geoai-pyFor GPU-accelerated AI models (object detection, segmentation), also install PyTorch:
pip install torch torchvisionFor 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.
What SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/detect-objectsRun pre-trained AI models on geospatial imagery. Detect buildings, cars, ships, solar panels, agriculture fields, or use text-prompted segmentation with GroundedSAM. Requires GPU for best performance.
/download-dataDownload NAIP aerial imagery for a bounding box. Specify coordinates as minx,miny,maxx,maxy in WGS84 and optionally a year.
/inspect-geoInspect any raster or vector geospatial file. Returns CRS, bounds, bands, resolution, dtype, attribute summaries, and band statistics. Supports GeoTIFF, Shapefile, GeoJSON, GeoPackage, GeoParquet, and more.
/overture-dataDownload Overture Maps data (buildings, places, roads, land use, water, etc.) for a bounding box. Returns a GeoDataFrame saved as GeoJSON or GeoPackage.
/process-rasterProcess raster data: clip by bounding box, stack multiple bands, mosaic GeoTIFFs, or convert between raster and vector formats.
/read-memoriesSearch past Claude Code session logs to recover context from previous conversations. Finds past decisions, data paths, CRS info, model configurations, and unresolved work. Works across all projects or scoped to the current one.
Other plugins' skills for the same job
npx claudepluginhub opengeos/geoai-skills --plugin geoai-skills