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 its SKILL.md
npx -y skills add opengeos/geoai-skills --skill install-geoaiAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- runs commandsInstructs the agent to run 3 commands, including `python3 -c "import geoai; print(f'geoai v{geoai.__version__}')"` and 2 more.
SKILL.md
2.2 KB, 524 tokens by cl100k_base, as published. Nobody here has run it
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
--checkor--extraswas 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-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 ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most quality gates skills give in 524 tokens
Counted across 1,524 of the 2,830 authors here whose files we hold, read 2026-09-06
- Read full output and check exit codein 45 of 1524, across 40 files
- Verify output confirms the claimin 44 of 1524, across 39 files
- Identify the command that proves the claimin 43 of 1524, across 39 files
- Execute the full verification commandin 36 of 1524, across 30 files
- Produce a verification reportin 34 of 1524, across 18 files
- Review git diff changesin 30 of 1524, across 16 files
- Fix build failures immediatelyin 29 of 1524, across 9 files
- Group findings by severityin 28 of 1524
- State claim only with evidencein 27 of 1524, across 22 files
- Verify regression tests with red-green cyclein 26 of 1524, across 22 files
- Run the full test suitein 26 of 1524, across 25 files
- Run test suite with coveragein 25 of 1524, across 10 files
Said here and by no other author read
- Check if geoai is importable
- Check optional dependencies if requested
- Check deep learning dependencies if requested
- Report missing packages
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.