portolan-cli
БесплатноБез исполняемых скриптовНе проверенUse when publishing, managing, or converting cloud-native geospatial data catalogs with the Portolan CLI. Covers init, add, check, push, pull, sync…
от portolan-sdi★ 15 звёзд на GitHubОб этом скилле
Portolan CLI
Portolan is a specification for cloud-native geospatial data catalogs, built on STAC. portolan-cli implements it. The portolan-spec repository is ground truth. Read specs/portolan/core.md and specs/portolan/formats.md there when a requirement is in doubt. The CLI converts data to GeoParquet, COG, and PMTiles. It then writes the STAC tree and validates it. portolan push syncs the result to object storage. There is no server. A catalog is static files.
This skill tracks the PyPI release named in pins.toml. Run portolan <command> --help for the options of any command. The help text is the reference. This skill only says which command to reach for and in what order.
Installation
uv tool install portolan-cli
portolan --version
Files the CLI writes
portolan init writes a root catalog.json, AGENTS.md, README.md, versions.json, and .portolan/config.yaml plus .portolan/metadata.yaml. The root declares the v0.2.0 schema URI in stac_extensions. That URI is the only signal of the spec version (PORTO-CORE-006). Its links are root, agents, and describedby. It writes no self link. Add an absolute self link at publish time (PORTO-CORE-081).
portolan add <dir> turns a directory into a collection. For one GeoParquet file, with --pmtiles, it writes:
demo/
├── collection.json
├── AGENTS.md
├── README.md
├── versions.json
├── data.parquet asset role: data
├── data.pmtiles asset role: visual, plus a rel: pmtiles link
├── data.thumb.jpg asset role: thumbnail
└── styles/default.json asset roles: style, default
Without --pmtiles there is no PMTiles file and no styles/ directory, so a vector collection has no render path (PORTO-CORE-065). Pass --pmtiles for vector data.
AGENTS.md and README.md beside every catalog.json and collection.json are spec requirements (PORTO-CORE-005). versions.json is a CLI artifact that tracks sync state and checksums. It is not part of the spec. Dataset versioning uses the STAC version extension (PORTO-CORE-008).
One file is a collection-level asset with no item (PORTO-CORE-017). A partitioned collection uses the partition extension and its partition:glob (PORTO-FMT-017). Items for opaque partition schemes are not created (PORTO-FMT-022). Many raster scenes in one collection get one item each (PORTO-CORE-071), and portolan stac-geoparquet writes the items.parquet mirror for it.
Structural links stay relative, so the catalog is portable.
Which command
| Task | Command |
|---|---|
| Start a catalog | portolan init --license <SPDX> |
| See what a directory contains before you add it | portolan scan <dir> |
| Add or update a collection | portolan add <dir> |
| Register remote data without copying it | portolan add-external |
| Validate against the spec | portolan check |
| Convert non-cloud-native files in place | portolan check --fix |
| Probe the published host for range requests and CORS | portolan check --live --url <public base> |
| Split a large GeoParquet file | portolan partition |
| Upload | portolan push <remote> |
| Download a remote catalog | portolan pull <remote> or portolan clone <remote> |
| Pull, check, and push one collection | portolan sync <remote> -c <collection> |
| Edit the metadata behind the READMEs | portolan metadata init, portolan metadata validate |
| Regenerate READMEs | portolan readme |
| Publish a logo | portolan logo <file> |
| Manage collection versions | portolan version |
| Read a skill from this repository | portolan skills list, portolan skills show |
Facts that trip agents:
initneeds--licensewhenever--autoor--jsonis passed. Without them it prompts.syncrequires-c. It runs on one collection, never catalog-wide.checkreads remote assets over range requests in its data pass. Pass--data-scope localto read only assets inside the tree, or--no-datato skip the pass.check --fixremovesportolan:datetime_provisionalfrom items. The item then has no provisional marker.addtakes--pmtiles,--force-pmtiles,--thumbnails,--force-thumbnails,--stac-geoparquet,--item-id,--datetime,--reconvert, and--force.--force-pmtilesimplies--pmtiles.push --workersis the parallelism across collections.--concurrencyis the upload parallelism within one, default 8. Neither has a cap.- The root group takes
--format json. Most subcommands take--json.partitionaccepts no JSON flag. checkuses its own rashid dependency (>=0.2.0,<0.4.0in portolan-cli 0.9.0). Use standalone rashid 0.4.0 to check against Portolan v0.3.0. Where the two disagree, the spec decides, and the disagreement is a bug to report.
Workflows
Publish a new catalog:
portolan init --auto --license CC-BY-4.0 --title "My Geospat
Установить portolan-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл portolan-cli?
Use when publishing, managing, or converting cloud-native geospatial data catalogs with the Portolan CLI. Covers init, add, check, push, pull, sync, partitioning, and format conversion workflows.
Как установить скилл portolan-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл portolan-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic