Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-stac

БесплатноБез исполняемых скриптовНе проверен

The first Go single-binary STAC CLI: every search filter the Python tools have, plus an offline cache, scene ranking, coverage, and asset resolution no other…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

STAC — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the stac-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install stac --cli-only
    
  2. Verify: stac-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/maps/stac/cmd/stac-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

stac-pp-cli searches any STAC API (default: AWS Earth Search) for satellite imagery with full bbox/datetime/intersects/cloud-cover filtering, then goes beyond every existing tool: a local SQLite cache powers offline search, coverage, timeline, gaps, and watch; scenes best ranks for the clearest image with a client-side fallback; and assets resolves provider-aware band download URLs. Agent-native by default with --json, --select, and a typed MCP surface.

When to Use This CLI

Use stac-pp-cli when an agent or analyst needs to discover satellite imagery (Sentinel-2, Landsat, Sentinel-1, NAIP, Copernicus DEM) from a STAC API, pick the clearest scene over an area, check temporal coverage, or resolve band download URLs. It is ideal for scripting EO discovery and for agent workflows that need bounded, structured output instead of verbose GeoJSON.

Anti-triggers

Do not use this CLI for:

  • Downloading or reprojecting the actual raster pixels (use rasterio, gdal, or stackstac/odc-stac after resolving URLs with 'assets')
  • Authoring or validating static STAC catalogs (use stactools or go-stac)
  • Tiling or rendering imagery for a web map (use titiler)

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Scene selection

  • scenes best — Pick the single clearest scene over an area and date range.

    Reach for this when an agent needs the one best image for an AOI, not a list to sift through.

    stac-pp-cli scenes best --collection sentinel-2-l2a --bbox -122.5,37.7,-122.3,37.9 --datetime 2024-06-01/2024-06-30 --agent
    
  • clouds — Show the cloud-cover distribution over an area and date range.

    Use before downloading to judge how cloudy a window is without pulling any imagery.

    stac-pp-cli clouds --collection sentinel-2-l2a --bbox -122.5,37.7,-122.3,37.9 --datetime 2024-06-01/2024-08-31 --agent
    

Coverage and time

  • coverage — Answer whether data exists over an area and when, with a temporal summary.

    Reach for this to confirm an AOI has usable data before planning an analysis.

    stac-pp-cli coverage --collection landsat-c2-l2 --bbox -122.5,37.7,-122.3,37.9 --datetime 2023-01-01/2024-12-31 --agent
    
  • timeline — Build a per-date time series of scenes for change detection.

    Use to assemble a clean observation series for NDVI or change detection.

    stac-pp-cli timeline --collection sentinel-2-l2a --bbox -122.5,37.7,-122.3,37.9 --datetime 2024-01-01/2024-06-30 --max-cloud 30 --agent
    
  • gaps — Find missing acquisition windows over an area versus expected revisit.

    Reach for this to spot coverage holes before relying on a time series.

    stac-pp-cli gaps --collection sentinel-2-l2a --bbox -122.5,37.7,-122.3,37.9 --datetime 2024-01-01/2024-06-30 --revisit-days 5 --agent
    
  • watch — Report scenes published over an area since the last check.

    Use to monitor an AOI for fresh imagery across runs.

    stac-pp-cli watch --collection sentinel-2-l2a --bbox -122.5,37.7,-122.3,37.9 --agent
    

Assets and analysis

  • assets — Resolve an item's band and asset download URLs, provider-aware.

    Reach for this to get ready-to-download band URLs without parsing the raw item JSON.

    stac-pp-cli assets S2A_10SEG_20240622_0_L2A --collection sentinel-2-l2a --bands red,green,blue,nir --agent
    
  • compare — Compare two collections over the same area and date range.

    Use to choose between sensors (e.g. Sentinel-2 vs Landsat) for an AOI.

    stac-pp-cli compare sentinel-2-l2a landsat-c2-l2 --bbox -122.5,37.7,-122.3,37.9 --datetime 2024-01-01/2024-06-30 --agent
    
  • stack-snippet — Emit a ready-to-paste stackstac/odc-stac Python snippet for matched scenes.

    _Reach for this to jump from

Полный SKILL.md на GitHub

Установить pp-stac в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

.golangci.yml.goreleaser.yaml.manuscripts/20260624-152026-b6ccb73c/proofs/dogfood-full.json.manuscripts/20260624-152026-b6ccb73c/proofs/phase5-acceptance.json.manuscripts/20260624-152026-b6ccb73c/research.json.manuscripts/20260624-152026-b6ccb73c/research/2026-06-24-feat-stac-pp-cli-absorb-manifest.md.manuscripts/20260624-152026-b6ccb73c/research/2026-06-24-feat-stac-pp-cli-brief.md.manuscripts/20260624-152026-b6ccb73c/research/stac-enriched-spec.json.printing-press-patches/.gitkeep.printing-press-patches/ambiguous-write-retries-disabled.json.printing-press-patches/batch-rollback-reports-committed-count.json.printing-press-patches/path-parameters-percent-encoded.json.printing-press-patches/stac-compare-single-call.json.printing-press-patches/stac-output-shape-nits.json.printing-press-patches/stac-temporal-sort-coverage.json.printing-press-patches/stac-watch-collections-items-dedup.json.printing-press-patches/stac-watch-mcp-annotation.json.printing-press-patches/stac-watch-record-index-fix.json.printing-press-pii-polish.json.printing-press-release.json.printing-press-tools-polish.json.printing-press.jsonAGENTS.mdCHANGELOG.mdCLAUDE.mdLICENSEMakefileNOTICEREADME.mdapify-actor-audit-report.jsoncmd/stac-pp-cli/main.gocmd/stac-pp-mcp/main.godogfood-results.jsongo.modgo.suminternal/cache/cache.gointernal/cli/agent_context.gointernal/cli/aggregations.gointernal/cli/aggregations_get.gointernal/cli/api_discovery.go

FAQ

Что делает скилл pp-stac?

The first Go single-binary STAC CLI: every search filter the Python tools have, plus an offline cache, scene ranking, coverage, and asset resolution no other STAC tool offers. Trigger phrases: `find a satellite image of`, `least cloudy scene over`, `what sentinel-2 imagery is available for`, `check coverage for this area`, `get the band URLs for this scene`, `use stac`, `run stac`.

Как установить скилл pp-stac?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-stac запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-stac с