Spiral gives your agent every tool with one account. Browse the tools →

opencode · Listings

How to Use Earth Search Sentinel-2 image clip in opencode

Returns a true-color or NDVI image clipped to your selected area from a Sentinel-2 scene. Use it to inspect visible conditions or illustrate vegetation differences on a specific acquisition date.

Prompts to try with Earth Search Sentinel-2 image clip in opencode

Copy an example into opencode, or ask in your own words.

Use Earth Search Sentinel-2 image clip to render a true-color view of central Boulder for scene S2A_T13TDE_20260904T175741_L2A, within longitude -105.280 to -105.270 and latitude 40.010 to 40.020. Add the dated image to this project's map.

Earth Search Sentinel-2 image clipopencode
Try asking
  • Use Earth Search Sentinel-2 image clip to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Earth Search Sentinel-2 image clip and tell me what changed since last week.

  • Check Earth Search Sentinel-2 image clip and summarize what you find in three bullet points.

  • Pull the newest data from Earth Search Sentinel-2 image clip and give me the result as a table.

How to set up Earth Search Sentinel-2 image clip in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Earth Search Sentinel-2 image clip

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "earth-search-aws-element84-com/satellite-imagery/render_clip",
        "input": {
          "geometry": {},
          "scene_id": "<scene_id>"
        }
      }'

Then paste one of the prompts above: opencode finds Earth Search Sentinel-2 image clip on Spiral, shows the price and runs it.

Earth Search Sentinel-2 image clip providers and prices

Spiral runs Earth Search Sentinel-2 image clip through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings
Element 84 Earth Search (Sentinel-2 L2A) · Render clip
earth-search-aws-element84-com/satellite-imagery/render_clip

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Layertrue_colour or ndvi

true_colour (default) reads the visual asset; ndvi reads red and nir.

Max px16 to 1024512

Longest side of the PNG; the native clip is enlarged by the largest whole factor that fits.

Collectionsentinel-2-c1-l2a or sentinel-2-l2a

Collection of the scene id; inferred from the id form when omitted.

Every API field of Element 84 Earth Search (Sentinel-2 L2A) · Render clip is on its tool page: open its card above.

What can you do with Earth Search Sentinel-2 image clip in opencode?

Build a map that connects dated Sentinel-2 imagery with vegetation comparisons for a public land boundary. A coding agent can add archive coverage and raster metadata to the project so users can inspect the evidence behind each comparison.

Plan crop scouting

Check acquisition availability, choose suitable scenes, inspect their band metadata, and compare vegetation indices with image clips to decide where field inspection would help.

Review restoration progress

Compare vegetation indices and dated images for a restoration boundary. Check archive density and source resolutions before selecting acquisitions for a progress report.

Compare park vegetation across seasons

Find acquisitions from comparable seasonal windows, check their processing metadata, and pair vegetation calculations with clips. Use availability summaries to identify periods with too little imagery for a useful comparison.

Document vegetation after a wildfire

Select acquisitions before and after a fire, verify source bands and resolutions, and present vegetation indices beside dated clips. Check imagery availability before committing to a reporting interval.

Prepare a land condition report

Support a public or commercial land assessment with dated imagery and vegetation comparisons. Include the acquisition coverage and raster metadata so a reviewer can examine the underlying evidence.

Build a satellite imagery lesson

Use a public park to demonstrate archive gaps, scene selection, band resolution, vegetation calculations, and image interpretation. Let students compare a numerical vegetation signal with the corresponding image.

Questions about Earth Search Sentinel-2 image clip in opencode

Can opencode use Earth Search Sentinel-2 image clip?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Earth Search Sentinel-2 image clip like any built-in tool.

How much does Earth Search Sentinel-2 image clip cost in opencode?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need an Alexandria account to use Earth Search Sentinel-2 image clip in opencode?

No. Spiral runs Earth Search Sentinel-2 image clip on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Earth Search Sentinel-2 image clip in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Earth Search Sentinel-2 image clip runs?

Earth Search Sentinel-2 image clip runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

Where does Sentinel-2 provide systematic land coverage?

Systematic continental land coverage, including inland waters, extends from 56 degrees south to 82.8 degrees north. Archive completeness at a particular location still depends on the catalog.

How often can a location have new imagery?

The nominal mission is designed for a five-day revisit at the equator. The AWS registry describes additions usually arriving within a few hours of upstream availability, rather than promising delivery within a fixed time after acquisition.

How much detail can Sentinel-2 resolve?

Level-2A bands and associated image products have resolutions of 10, 20, or 60 meters. These are atmospherically corrected surface reflectance products.

Does the catalog cloud percentage describe my selected area?

The STAC cloud-cover percentage describes the entire scene. A low scene percentage does not establish that a smaller park, field, or restoration site is clear.

Does an empty search prove there was no imagery?

No. Element 84 documents missing catalog items, so an empty result cannot prove that no acquisition occurred. Collection 1 also has a processing boundary: its COGs use baseline 5.0 or later.

Get started

Start using Earth Search Sentinel-2 image clip in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options