install-geoai

install-geoai is a skill for Claude Code from opengeos/geoai-skills. It costs 34 tokens per session (592 once invoked), scanned A, original, MIT.

A check for whether the geoai Python package is installed and working, with optional checks for related data-science and deep-learning packages. Python packages are reusable code libraries that applications can import.

In plain words
What is it for?
Use it to verify geoai imports correctly, report its version, inspect optional geospatial dependencies, or check deep-learning packages and CUDA availability.
Why use it?
It quickly shows whether geoai or its optional dependencies are missing before work that relies on them begins.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the geoai-skills plugin — 8 skills shipped together

Good fit Use it to verify geoai imports correctly, report its version, inspect optional geospatial dependencies, or check deep-learning packages and CUDA availability.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opengeos/geoai-skills/install-geoai
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add opengeos/geoai-skills --skill install-geoai
Clone the repo
git clone --depth 1 https://github.com/opengeos/geoai-skills

Made for: Claude Code.

Or install geoai-skills, the plugin that ships this one along with the rest of its 8 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for install-geoai

README.md
[![agentmods](https://agentmods.dev/badge/skills/opengeos/geoai-skills/install-geoai/github.svg)](https://agentmods.dev/skills/opengeos/geoai-skills/install-geoai)
Your own site
<a href="https://agentmods.dev/skills/opengeos/geoai-skills/install-geoai"><img src="https://agentmods.dev/badge/skills/opengeos/geoai-skills/install-geoai/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for install-geoai

Your own site · 80×15
<a href="https://agentmods.dev/skills/opengeos/geoai-skills/install-geoai"><img src="https://agentmods.dev/badge/skills/opengeos/geoai-skills/install-geoai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 592 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00592
Opus 5 $0.00017 $0.00296
Sonnet 5 $0.00007 $0.00118
Haiku 4.5 $0.00003 $0.00059

Measured 12d ago against content hash 364c5d31887b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

install-geoai scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/install-geoai/SKILL.md · 92 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 92 lines · 34 tokens per session scan A 364c5d31887b

Subscribe to this mod's changes

install-geoai is a skill published in the GitHub repository opengeos/geoai-skills (30 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 592 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

geoai-orchestrator

Route genuinely ambiguous or multi-stage geospatial work across specialist skills while enforcing shared CRS, validity, leakage, units, verification, and reproducibility rules. Use for requests spanning multiple stages such as acquisition, imagery, modeling, analysis, and map delivery, or for an explicit end-to-end…

muend/geoai-skills · 109 tokens

google-earth-engine

Invoke when Earth Engine, GEE, ee., or geemap is named; when work needs its server-side catalog; or when choosing Earth Engine versus local xarray or desktop processing for a large area or long archive. Covers image collections, masking, compositing, reducers, zonal statistics, time series, classification, quota-aware…

muend/geoai-skills · 101 tokens

point-cloud-lidar

LiDAR and point cloud processing: PDAL pipelines, LAS/LAZ/COPC handling, ground classification, DTM/DSM/CHM generation, canopy and building metrics, and photogrammetric (SfM) point clouds. Use when the primary input is LAS, LAZ, COPC, LiDAR, or an unstructured 3D point cloud. This skill owns vertical datum agreement…

muend/geoai-skills · 162 tokens

postgis-spatial-sql

Invoke whenever spatial SQL or its execution backend is the decision: PostGIS, DuckDB Spatial, SpatiaLite, ST functions, recurring spatial joins, concurrent/growing workloads, or large GeoParquet queries. Covers backend selection, schemas, GiST/BRIN indexes, KNN, geometry versus geography, correctness benchmarks, and…

muend/geoai-skills · 118 tokens

change-detection

Change analysis, once the observations are comparable. Not for cases whose blocker is comparability itself: mixed sensors, product levels or processing baselines to remote-sensing-analysis, undocumented vertical datums to point-cloud-lidar, multi-decade archive trends over large areas to google-earth-engine. Matching…

muend/geoai-skills · 158 tokens

geo-deep-learning

Invoke before recommending, training, or auditing a neural method for geospatial imagery, including vision transformers, U-Net/DeepLab/SegFormer, object detection, pixel classification, building/road extraction, and EO foundation-model fine-tuning. Also invoke for neural chip-split validity, IoU/accuracy claims…

muend/geoai-skills · 104 tokens