Official agent skill

Imagery Provider Adaptation

by microsoft in microsoft/haste

Imagery provider adaptation skill for HASTE. An agent skill from microsoft/haste.

OfficialMITAuto-check passedData & Analytics

Install Imagery Provider Adaptation

skills CLI
$ npx skills add microsoft/haste --skill imagery-provider-adaptation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/haste imagery-provider-adaptation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/haste.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/imagery-provider-adaptation .claude/skills/imagery-provider-adaptation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
imagery-provider-adaptation
GitHub stars
107
Token cost
~1.3k tokens
SKILL.md length
367 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Imagery provider adaptation skill for HASTE. An agent skill from microsoft/haste.

  • Works in 6 steps: Source Type Definition — Model… → Download Handler — Provider-specific… → Band Mapping — Map provider bands to… → …
  • : new imagery provider
  • SKILL.md covers Overview, Key Concepts, Patterns & Techniques and Decision Framework, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Imagery Provider Adaptation is an agent skill from microsoft/haste, published by the product's own GitHub organization. Imagery provider adaptation skill for HASTE. Encapsulates provider-specific logic for satellite imagery sources (Planet, Vantor, Airbus, etc.). Use when: 'new imagery provider', 'add source type', 'satellite provider', 'Planet', 'Vantor', 'Airbus', 'Pleiades', 'WorldView', 'SkySat', 'imagery ingestion', 'provider adapter'.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Geospatial analysis. The repository describes itself as: High Speed Assessment and Satellite Tracking for Emergencies. The licence is MIT.

When your agent uses it

  • : new imagery provider
  • Add source type
  • Satellite provider
  • Imagery ingestion

Example prompts

  • “new imagery provider”
  • “add source type”
  • “satellite provider”
  • “/imagery-provider-adaptation”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Source Type Definition — Model configuration in hastegeo.core.models
  2. Download Handler — Provider-specific authentication and download logic
  3. Band Mapping — Map provider bands to HASTE's expected band order
  4. Metadata Parser — Extract spatial metadata from provider-specific formats
  5. Preprocessing Rules — Resolution normalization, radiometric correction
  6. Tests — Integration tests with sample provider data

What it can do on your machine

Read from SKILL.md and the folder at commit 079bd89. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Imagery Provider Adaptation loads about 1.3k tokens when it runs. Until then it costs about 88 tokens; SKILL.md has 367 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~88
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/haste at commit 079bd89, republished under its MIT licence (© microsoft). 367 words, ~1,280 tokens.

Download SKILL.mdSave it as .claude/skills/imagery-provider-adaptation/SKILL.md (or your agent's skills folder).
name
imagery-provider-adaptation
description
Imagery provider adaptation skill for HASTE. Encapsulates provider-specific logic for satellite imagery sources (Planet, Vantor, Airbus, etc.). Use when: 'new imagery provider', 'add source type', 'satellite provider', 'Planet', 'Vantor', 'Airbus', 'Pleiades', 'WorldView', 'SkySat', 'imagery ingestion', 'provider adapter'.
source
HASTE imagery processing pipeline, satellite provider documentation
domain
geospatial
level
advanced
agents
gis, backend-dev
created_date
2026-04-27
status
draft

Imagery Provider Adaptation

Overview

Structured process for adding new satellite imagery providers to HASTE. Each provider has different data formats, coordinate systems, APIs, band configurations, and delivery methods. This skill encapsulates the provider-specific logic needed to adapt a new source.

Key Concepts

Current Providers
ProviderSatellitesFormatBandsDelivery
VantorWorldView-2/3/4, GeoEye-1GeoTIFF4-8 bands (BGRN + extras)S3, STAC, Direct URL
PlanetPlanetScope, SkySatGeoTIFF, COG4 bands (BGRN)Planet API, S3
AirbusPleiades, Pleiades Neo, SPOTGeoTIFF, DIMAP4 bands (BGRN)OneAtlas, S3
Provider Adapter Components

Each new provider requires:

  1. Source Type Definition — Model configuration in hastegeo.core.models
  2. Download Handler — Provider-specific authentication and download logic
  3. Band Mapping — Map provider bands to HASTE's expected band order
  4. Metadata Parser — Extract spatial metadata from provider-specific formats
  5. Preprocessing Rules — Resolution normalization, radiometric correction
  6. Tests — Integration tests with sample provider data

Patterns & Techniques

Adding a New Provider: Step-by-Step

Step 1: Define source type Add to the source type configuration in hastegeo.core.models:

python
# New source type with provider-specific configuration
class NewProviderConfig(BaseModel):
    provider_name: str
    api_url: str
    band_order: list[str]  # e.g., ["B", "G", "R", "NIR"]
    default_crs: str  # e.g., "EPSG:4326"
    tile_size: int  # e.g., 256

Step 2: Implement download handler In hastegeo.core.processors.imagery:

python
# Handle provider-specific authentication and URL patterns
# Use requests with proper auth (API key, OAuth, etc.)
# Stream large files to avoid memory issues
# Validate downloaded file integrity

Step 3: Implement band mapping

python
# Map provider bands to HASTE standard order
# HASTE expects: [Blue, Green, Red, NIR] for 4-band
# Handle extra bands (e.g., coastal, red-edge, SWIR)
# Handle missing bands (e.g., panchromatic only)

Step 4: Implement preprocessing

python
# 1. Validate CRS — reproject if needed
# 2. Normalize resolution — resample to target GSD
# 3. Apply radiometric correction if needed
# 4. Generate COG with internal tiling and overviews
# 5. Validate output with rasterio

Step 5: Add to imagery processor Update ImageryPreProcessor to route to the new handler based on source type.

Step 6: Write tests

python
# Test with real sample data (small AOI, public data preferred)
# Verify CRS preservation
# Verify band order mapping
# Verify COG compliance
# Verify metadata extraction
Show full SKILL.md (167 more words)Show less
Provider-Specific Gotchas
ProviderGotchaMitigation
VantorMultiple UTM zones in a single orderCheck CRS per file, reproject to consistent zone
PlanetUDM2 quality masks delivered separatelyDownload and apply quality mask before processing
AirbusDIMAP format metadataParse XML metadata alongside GeoTIFF
AllDifferent nodata conventionsStandardize nodata to 0 or NaN during preprocessing

Decision Framework

ScenarioApproach
Provider uses standard GeoTIFFMinimal adapter — mostly URL/auth handling
Provider uses proprietary formatFull adapter — format conversion + metadata extraction
Provider delivers via STACUse existing STAC client, add provider-specific auth
Provider requires API keyStore in Config, never hardcode
Provider delivers in tilesImplement tile stitching before COG generation

Quick Reference: COG Output Standard

Format: Cloud Optimized GeoTIFF
Tiling: 256x256 or 512x512 internal tiles
Overviews: Nearest power of 2, down to 256px
Compression: LZW or DEFLATE
CRS: Preserve source CRS (typically UTM or EPSG:4326)
Nodata: 0 for uint8/uint16, NaN for float
Bands: Blue, Green, Red, NIR (minimum)

Common Pitfalls

  • Assuming all providers use the same band order — Always check and map explicitly
  • Hardcoding provider URLs/keys — Use Config class
  • Ignoring quality masks — Bad pixels contaminate training data
  • Not testing with edge cases — Antimeridian crossing, polar regions, dateline
  • Downloading entire scenes when only a small AOI is needed — Use provider APIs to clip

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .github/skills/imagery-provider-adaptation of microsoft/haste.

Open the folder on GitHubat commit 079bd89

Compare with similar skills

Imagery Provider Adaptation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Imagery Provider Adaptation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Imagery Provider Adaptation this skillmicrosoft/haste107—~1.3kAutomated safety check: PassMIT
Antv L7antvis/L74.1k—~1.4kAutomated safety check: PassMIT
Portaljs Add Geodatopian/portaljs2.4k1 repos~1.7kAutomated safety check: PassMIT
Thematic Mapzzhonglei/GeoCode-Release189—~3.1kAutomated safety check: PassMIT
Rs Paper Pipelinethinson/RS-PaperClaw228—~319Automated safety check: PassMIT
Remote Sensing Research Radarlimi124/remote-sensing-research-radar143—~1.3kAutomated safety check: PassNone

Similar skills

  • Antv L7

    antvis/L7

    Comprehensive guide for AntV L7 geospatial visualization library.

    4.1k GitHub stars~1.4k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Portaljs Add Geo

    datopian/portaljs

    Auto-ingest a geospatial file (GeoJSON, Shapefile, GeoPackage, KML/KMZ, FlatGeobuf, CSV-with-geometry) into a PortalJS portal on the user's own machine, with no server.

    2.4k GitHub starsUsed in 1 repo~1.7k tokens
    Data & AnalyticsAuto-check passed
  • Thematic Map

    zzhonglei/GeoCode-Release

    Create well-designed maps that follow standard cartographic conventions.

    189 GitHub stars~3.1k tokensUpdated 5 days ago
    Data & AnalyticsAuto-check passed
  • Rs Paper Pipeline

    thinson/RS-PaperClaw

    A skill your agent uses when operating or maintaining the RS-PaperClaw pipeline that fetches remote-sensing arXiv papers, creates per-paper issues, builds daily digests, reconciles issue sets, and…

    228 GitHub stars~319 tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Remote Sensing Research Radar

    limi124/remote-sensing-research-radar

    Track, retrieve, screen, and synthesize research frontiers for geospatial AI, remote sensing big data, and transferable computer vision methods.

    143 GitHub stars~1.3k tokensUpdated 5 mo ago
    Data & AnalyticsAuto-check passed
  • Live Weather Briefing Skill

    FrancyJGLisboa/agent-skills-platform

    Create a current, source-linked weather briefing for a named city using the Open-Meteo geocoding and forecast APIs.

    2.4k GitHub stars~599 tokensUpdated 23 days ago
    Data & AnalyticsAuto-check passed

More from microsoft/haste

All 9 skills in this repo
  • API Design

    microsoft/haste

    Official

    Guide for designing and documenting RESTful APIs. An agent skill from microsoft/haste.

    107 GitHub stars~663 tokensUpdated today
    Auto-check passed
  • Copilot CLI Modes

    microsoft/haste

    Official

    Comprehensive guide to all Copilot CLI running modes: Interactive, Plan, Autopilot, Fleet, Research, Chronicle, and Delegate.

    107 GitHub stars~4.2k tokensUpdated today
    Auto-check passed
  • Debug Test Failures

    microsoft/haste

    Official

    Systematic debugging workflow for test failures. An agent skill from microsoft/haste.

    107 GitHub stars~735 tokensUpdated today
    Auto-check passed
  • Dependency Update

    microsoft/haste

    Official

    Guide for safely updating project dependencies. An agent skill from microsoft/haste.

    107 GitHub stars~551 tokensUpdated today
    Auto-check passed
  • Security Analysis

    microsoft/haste

    Official

    Dependabot and security analysis skill for HASTE. An agent skill from microsoft/haste.

    107 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Validation Diagnostics

    microsoft/haste

    Official

    Validation and diagnostic skill for HASTE. An agent skill from microsoft/haste.

    107 GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Questions about Imagery Provider Adaptation

What does Imagery Provider Adaptation do?

Imagery provider adaptation skill for HASTE. An agent skill from microsoft/haste. Imagery Provider Adaptation is an agent skill from microsoft/haste, published by the product's own GitHub organization. Imagery provider adaptation skill for HASTE.

When should I use Imagery Provider Adaptation?

Imagery Provider Adaptation fits situations like: : new imagery provider; add source type; satellite provider; imagery ingestion.

How do I install Imagery Provider Adaptation in Claude Code?

Run `npx skills add microsoft/haste --skill imagery-provider-adaptation -a claude-code`. Or copy the skill folder (.github/skills/imagery-provider-adaptation in microsoft/haste) into .claude/skills/imagery-provider-adaptation in your project. Claude Code loads it when a task matches its description.

How do I install Imagery Provider Adaptation in Codex?

Run `npx skills add microsoft/haste --skill imagery-provider-adaptation -a codex`. Or copy the skill folder (.github/skills/imagery-provider-adaptation in microsoft/haste) into .agents/skills/imagery-provider-adaptation in your project. Codex loads it when a task matches its description.

Can I use Imagery Provider Adaptation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/haste --skill imagery-provider-adaptation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/imagery-provider-adaptation, .gemini/skills/imagery-provider-adaptation, .github/skills/imagery-provider-adaptation and .opencode/skills/imagery-provider-adaptation in your project.

What does Imagery Provider Adaptation need to run?

SKILL.md names no scripts, command-line tools or credentials: Imagery Provider Adaptation is instructions for the agent only. Our summary lists: Python 3.

Does Imagery Provider Adaptation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Imagery Provider Adaptation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Imagery Provider Adaptation use?

Imagery Provider Adaptation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Imagery Provider Adaptation use?

About 1.3k tokens (SKILL.md is roughly 5.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Imagery Provider Adaptation?

Skills that share tags, products or a category with Imagery Provider Adaptation: Antv L7 (antvis/L7, 4.1k stars), Portaljs Add Geo (datopian/portaljs, 2.4k stars), Thematic Map (zzhonglei/GeoCode-Release, 189 stars) and Rs Paper Pipeline (thinson/RS-PaperClaw, 228 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Imagery Provider Adaptation?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/haste, which has 107 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 9, 2026.

Source: microsoft/haste on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.