/portolan-bootstrap:portolan-bootstrapfrom portolan-bootstrap
Bootstraps a complete geospatial data catalog from remote services (WFS, ArcGIS) or local files (Shapefile, GeoJSON, GeoPackage, GeoTIFF). Extracts metadata, converts to cloud-native formats, and publishes to cloud storage.
Ships in portolan-bootstrap. 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.
Read when SKILL.md points to them.
Bootstrap a complete geospatial data catalog from any source portolan supports.
Portolan supports two workflows:
Remote services (use portolan extract):
/wfs, /geoserver/, service=WFS/FeatureServer, /MapServer/ImageServerLocal files (use portolan init → scan → check → add):
portolan extract <type> "<URL>" --dry-run
portolan init --auto
portolan scan
Present to user:
Ask: "Found X layers/files. This may take Y minutes and produce ~Z MB. Proceed?"
Warn if:
portolan extract <type> "<URL>" --output <path>
Monitor progress. Warn inline on any failures but continue.
# Preview what needs conversion
portolan check --dry-run
# Convert non-cloud-native files (GPKG → GeoParquet, etc.)
portolan check --fix
IMPORTANT: Files must be in subdirectories. Each subdirectory becomes a STAC collection. If files are at root level, move them into appropriately named subdirectories first.
Present:
Ask: "Extracted/converted X/Y layers. Z failures: [list]. Continue?"
Ask: "Where should this catalog be published?"
Ask: "What license applies to this data?"
Ask: "Contact info for this catalog?"
# Set up .env
echo "PORTOLAN_REMOTE=<destination>" > .env
# Dry-run push to validate
portolan push --dry-run
which tippecanoe
Ask: "Generate PMTiles for web visualization?"
# For remote extractions (files already in collection subdirs):
portolan add . --recursive [--pmtiles]
# For local files (after check --fix):
portolan add <collection-dir>/ [--pmtiles]
Present:
CRITICAL: Only use information from the source. Do NOT invent content.
✅ DO:
❌ DO NOT:
Check layer names and descriptions:
Ask: "Source has mixed languages (Spanish titles, English descriptions). Which should be primary?"
Compare what portolan extracted vs what's in the source:
If you find fields in the source that weren't extracted:
Present: "I found these fields in the source metadata that weren't auto-extracted:"
Ask: "Should I add these to the catalog? (Showing source text exactly as-is)"
For fields that MUST be filled but aren't in source:
Present: "These required fields aren't in the source metadata:"
Ask: "Please provide values for these, or I can leave them as the auto-generated defaults."
Only with confirmed/approved content:
catalog["title"] = "<from source or user-provided>"
catalog["description"] = "<from source or user-provided>"
For fields from source:
collection["title"] = "<from source>" # Only if source has it
For .portolan/metadata.yaml (per ADR-0038):
contact:
name: "<from checkpoint>"
email: "<from checkpoint>"
license: "<from checkpoint>"
attribution: "<from source if available>"
source_url: "<original service URL>"
keywords: "<from source if available>"
processing_notes: "Extracted from <service type> on <date>"
portolan metadata init --recursive
This creates .portolan/metadata.yaml at catalog and all collection levels.
portolan readme --recursive
Show catalog-level README summary.
Ask: "READMEs generated. Here's the catalog README. Look correct?"
If the catalog has more than 1000 assets, generate items.parquet for efficient queries:
portolan stac-geoparquet
This creates an items.parquet file in each collection for fast spatial/temporal queries.
Skip this step for smaller catalogs.
portolan push --dry-run
Present:
Ask: "Ready to push X files (Y MB) to Z. Proceed?"
portolan push --verbose
Present:
| Situation | Action |
|---|---|
| Layer fails extraction | Warn inline, continue, summarize at end |
| Missing CRS | Flag it, ask user if critical |
| Large dataset (>100k features) | Warn about time/memory before proceeding |
| Credentials invalid | Stop and help user fix |
| Mixed languages | Checkpoint and ask |
| Field exists in source but not extracted | Checkpoint with exact source text |
| Required field missing from source | Checkpoint and ask user to provide |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
geospatial, stac, catalog-creation, data-pipeline, metadata-enrichment
npx claudepluginhub isaaccorley/geospatial-skills --plugin portolan-bootstrapOther plugins' skills for the same job