/emem:emem-recall-polygonfrom emem
Recalls signed Earth-observation facts at sampled cells inside an area (named region, bounding box, or GeoJSON boundary). Use when the user asks about an extent rather than a point, e.g. average NDVI inside a watershed or precipitation across a region.
Ships in emem. 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.
None: SKILL.md is the whole skill.
| Use it when | The user asks about an area, not one point. |
| You need | A place name, a bounding box with named corners, or a GeoJSON polygon. One or more band names. No key. |
| You get | Facts for each sampled cell, one Ed25519 receipt for each cell, and the sample size and coverage. |
| Calls | emem_recall_polygon (MCP, by name through tools/call). Or POST /v1/recall_polygon. |
Network use. The commands in this skill send JSON to
https://emem.devand receive JSON from it.https://emem.devis the service that the MCP server of the plugin connects to. The commands do not execute what they download. This skill ships no scripts. The commands read no environment variable, key or credential. They read only local files that an earlier step saved fromhttps://emem.dev.
One call samples cells inside an area and recalls the bands at each
cell. It does the work of locate, a cell sample and recall_many
together. The rollup (mean, minimum, maximum) is your job.
Use a different path in these cases:
| You have or want | Do this |
|---|---|
| One point | Use emem-locate-and-recall. |
| The full-resolution pixel grid over an area | Use emem-field-tokens. |
Give the area in one of three fields:
| Field | Form | Notes |
|---|---|---|
place | Free text | The geocoder resolves it. Check polygon_bbox.source in the result (step 3). |
polygon_bbox | An object with min_lat, max_lat, min_lng, max_lng | The server refuses an array with a 400. Array orders differ between conventions. |
polygon_geojson | A GeoJSON Polygon, MultiPolygon or Feature | geojson and geometry_geojson are aliases. |
A polygon alone sets the area. Its bounds become the box, and its boundary masks the sample. When you also send a bbox, the polygon only masks the sample.
Call emem_recall_polygon with this body:
{"polygon_bbox": {"min_lat": 12.95, "max_lat": 13.05, "min_lng": 77.55, "max_lng": 77.65},
"bands": ["copdem30m.elevation_mean"],
"max_cells": 16, "budget_ms": 20000}
emem_recall_polygon is not in the short tool list that the MCP server
of the plugin shows. The server runs it by name through tools/call.
If your host calls only listed tools, use the REST route.
An MCP result larger than about 24 KB comes back slimmed.
_emem_truncation names what the server removed. For the full
response, send the same body to the REST route,
POST https://emem.dev/v1/recall_polygon. Save the answer as
poly.json. Then print a summary:
jq '{cells_sampled, facts_returned, area_km2, converged, coverage_fraction,
is_exhaustive, pending: (.pending | length), source: .polygon_bbox.source}' poly.json
On 6 and 7 November 2026 this call returned 200 with 16 cells sampled,
16 facts, area_km2 120.05, coverage_fraction 0.0000133,
converged: true and no pending entries.
The two limits:
| Field | Default | Range |
|---|---|---|
max_cells | 64 | 1 to 1024. A value out of range gives a 400, not a silent clamp. |
budget_ms | Set by the server | A soft time budget for fetches. See step 4. |
| Field | Meaning |
|---|---|
cells_sampled | The number of cells that the call read. |
native_grid_cells_in_polygon | The number of cells whose centre is inside the area, counted on the cell grid. Cells narrow with latitude, so at 24° N an area holds about 9 % more cells than at the equator. |
coverage_fraction | cells_sampled divided by native_grid_cells_in_polygon. |
is_exhaustive | true only when the sample covers every cell in the area. |
converged | false when the time budget ran out before all fetches finished. |
pending | One typed entry for each fetch that did not finish. |
polygon_bbox.source | Where the extent came from. See the next table. |
A sample is not the area. Sixteen cells over 120 km² is a sample.
Report it as a sample. The cells are an even lattice over the whole
area, so each part of the area is read, and a repeat reads the same
cells. When max_cells is at least the number of cells in the area,
the call reads every cell and is_exhaustive is true.
When you send a place, read polygon_bbox.source:
polygon_bbox.source | Where the extent came from |
|---|---|
request_polygon_bbox | The polygon_bbox that you sent. |
request_polygon_geojson | The bounds of the polygon_geojson that you sent. |
nominatim_boundingbox | The bounding box that the Nominatim geocoder returned for the place. |
wide_bbox_table | A built-in table of large regions. |
overture_division_area | An Overture administrative boundary. |
geocoder | A geocoder that the server does not name. |
centre_cell_bbox | No extent. The geocoder found only a point, so the call read one cell. |
For centre_cell_bbox, tell the user that the answer is for one cell.
Do not present a one-cell answer as a regional answer.
On 7 November 2026, "place": "Cubbon Park, Bengaluru" with
max_cells 4 returned nominatim_boundingbox, area_km2 1.64 and 4
facts.
When budget_ms runs out, the call returns a partial 200 with
converged: false and a pending[] list. Each entry says why it is
pending and what to do. The server does not stop the pending fetches.
Thus the same request, sent again, can return more facts. The responder
does not sign the entries in pending. They do not state that a cell
has no data.
On 28 September 2026, the call in step 2 returned 200 with 0 facts,
converged: false and 16 entries in pending (state: "materializing"). Nine retries of the same call over 30 minutes also
returned 0 facts. The fetch path of the responder had no free capacity.
Retry a few times with a pause. If pending does not get shorter, tell
the user that the upstream fetch has stopped. Do not loop. Never report
an empty answer as "no data here".
A request with many cold cells and several bands can pass the 40 s
transport budget of the responder. It then returns compute_timeout.
Use fewer bands or fewer cells. Or retry after the first pass has
filled the cache.
The response gives facts for each cell. Skip absences: a null value
is a signed statement that the upstream had no data. Guard the empty
case:
jq '[.by_cell[].facts[] | select(.band == "copdem30m.elevation_mean" and .value != null) | .value]
| if length == 0 then {count: 0}
else {count: length, mean: (add / length), min: min, max: max} end' poly.json
On 6 and 7 November 2026 this filter gave 16 values, a mean of 906.7 m, a minimum of 885.1 m and a maximum of 940.7 m.
Each cell facts[] can hold several readings of one band, oldest
first (fact_order: "tslot_ascending"). For the current value, take
the last reading of each band. Or take the reading with the tslot
that you mean.
{
"by_cell": {
"<cell64>": { "facts": [ ... ], "receipt": { ... }, "fact_order": "tslot_ascending",
"bands_already_attested_at_cell": [ ... ] }
},
"cells": [ ... ], "cells_sampled": 16, "facts_returned": 16,
"area_km2": 120.05, "coverage_fraction": 0.0000133, "is_exhaustive": false,
"converged": true, "pending": [], "polygon_bbox": { ..., "source": "..." },
"merged_facts": [ ... ], "schema": "emem.recall_polygon.v1"
}
The rollup has no receipt of its own. Each cell receipt verifies that cell only. Say which cells and which statistic you used.
The facts in this response carry no memory_token field. Make the
emem:fact:<cell64>:<fact_cid> tokens from each cell receipt:
jq -r '.by_cell | to_entries[] | .key as $c | .value.receipt.fact_cids[]
| "emem:fact:\($c):\(.)"' poly.json
To check one cell receipt on the server, send it as {"receipt": ...}:
jq -c '{receipt: .by_cell | to_entries[0].value.receipt}' poly.json > verify_req.json
Send verify_req.json as the body of
POST https://emem.dev/v1/verify_receipt. Read valid,
signature_valid and merkle_proof_valid in the answer.
On 6 and 7 November 2026 both commands ran. The check returned true for all
three fields. To check offline, use
emem-verify-receipt.
To give many cells as one citation, send their fact_cid values to
POST /v1/memory_bundle {"fact_cids":[...]}. It returns one
emem:bundle: token. This call stores the bundle on the responder, so
this skill did not run it. See
emem-multi-agent-handoff.
Before you publish the rollup, see
emem-referential-drift and
emem-verify-before-publish.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
earth-observation, geospatial, ndvi, precipitation, sampling
npx claudepluginhub vortx-ai/emem --plugin emem19 skills in this plugin
/emem-device-tracesReads and checks the signed activity records (OS traces) emem holds for devices such as robots, drones, satellites and sensor hosts. Lists enrolled devices and their assurance tier, and resolves an emem:trace token to its signed OS trace. Re-verifies the trace (segment chain, clocks, required layers, output binding, device signature). Reads the platform registry to say which hardware roots of trust emem admits. Use when a fact or claim is said to come from a device. Use when an agent receives an emem:trace or emem:attestation token. Also use when someone asks if a robot or satellite can prove what it ran. Read-only: it sends and receives JSON, runs nothing it receives, and says plainly what is roadmap./emem-document-evidenceTurns a scanned document into signed, checkable evidence with emem. It runs OCR on an image. Then it parses a pesticide-residue lab report: analytes, results in mg/kg, LOQ, printed MRL, exceedances. Or it parses a land record: owners, parcel ids, areas in hectares, places, dates. Each value carries its line and byte offset, and emem signs each step. Use when an agent must extract fields from a lab certificate, a 7/12 extract, a khasra or a CAR record. Use it when the agent must hand them on with proof of the image and text they came from. It states which hashes and signatures to compute again, so that a third party can check the chain with its own tools and no trust in emem./emem-eudr-due-diligenceProduces a signed, Annex II shaped Due Diligence Statement under the EU Deforestation Regulation (EU 2023/1115) for one or more production plots. It says what it proves and what it leaves to the operator. It checks each plot against the JRC GFC2020 forest baseline and the Hansen Global Forest Change loss year at the 2020-12-31 cut-off. It cross-checks JRC TMF and grades how well the inputs support the verdict. Use when someone asks if a cocoa, coffee, soy, palm, rubber, cattle or wood plot is deforestation-free. Also use it for per-cell evidence for an Article 12 record./emem-field-signalsAnswers agronomy questions about one farm field with signed evidence from emem. It gets the boundary polygons of the field. It checks for crop-residue burns over a date window (Sentinel-2 NBR and NDTI plus MODIS burned area). It sums actual evapotranspiration over a season (MODIS MOD16). It fetches a true-colour Sentinel-2 picture of the plot. Use when the user asks whether a field burned or how much water a crop used. Also use it for the look of a plot or its edges, when the user wants per-cell fact ids behind the answer./emem-field-tokensFetches a native-resolution raster field over an area from emem, or the same field over several dates. The result is a signed artifact that anyone can re-derive, not a set of per-cell values. Use when the user needs the grid of values over an area, not one number at one point. Examples are a world-model input, a band or NDVI layer, change over a scene window, or pixels a third party can re-hash. Returns content-addressed grid artifacts, a signed derivation record, and an emem:raster, emem:cube or emem:rasterset token. Calls go through your signed-in emem connection./emem-find-similarReturns the top-K places most similar to a seed place by cosine over a stored 128-D surface-texture embedding (Sentinel-1 plus Sentinel-2, annual). Use when the user asks for analogues or look-alikes ("find places like Bangalore", "where else looks like the Sundarbans"). The embedding band is retired on emem.dev, so the index holds only what was already stored. The skill says how to tell "no analogue" from "this seed has no vector and cannot get one".Other plugins' skills for the same job