executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
api-serverGuides segment-geospatial's FastAPI service, samgeo-api CLI, segmentation endpoints, model/cache behavior, output formats, and safe API smoke checks.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about serving SamGeo segmentation over HTTP,
using the samgeo-api command, sending curl/Python client requests, validating
endpoint parameters, or debugging API model/image caches.
samgeo-api, uvicorn samgeo.api:app, FastAPI docs, or
Swagger UI.GET /health, GET /models, DELETE /models,
POST /segment/automatic, POST /segment/predict, or POST /segment/text.output_format=geojson|geotiff|png|json|detections.segment-geospatial[api] plus the model extra needed by requests.
For SAM3 text endpoints, include [samgeo3] and verify CUDA/model access.python scripts/api_smoke.py --local-testclient.samgeo-api --host 0.0.0.0 --port 8000.GET /models to inspect available and loaded models.DELETE /models to clear model cache and free GPU memory after large
jobs.tests/test_api.py is a strong native candidate because it uses mocks for model
loads while validating endpoint errors, model registry exposure, output format
checks, SAM3 point prompt dispatch, and cache-key behavior.