/emem:emem-referential-driftfrom emem
Pins numeric values to signed citation tokens so agents in different sessions report the same number. Detects drift, grades matches, and traces value changes across contexts.
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 | A number moves between agents, sessions or documents, and it must stay the signed number. |
| You need | A cell64, or an emem:fact: token. No key. |
| You get | A citation token, a match grade (matches, drift), a per-term change ledger, and a list of signed disagreements. |
| Calls | emem_recall, emem_memory_token_resolve, emem_echo_verify, emem_change_attribution, emem_memory_contradictions. Each has a REST route. |
Network use. The commands in this skill send JSON to
https://emem.devand receive JSON from it. Where a step says so, they also receive an image or a raster file.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.
Referential drift has two sides. On the words side, "the north field", "plot 14" and a cell64 are one object, or one phrase means two objects. On the values side, agents copy, round and summarise a number until nobody can trace it.
The words side is emem-shared-identity.
This skill is the values side.
Each call below is a tool of the MCP server of the plugin. Without MCP,
send the same JSON body to the REST route that the step names.
emem_change_attribution is not in the short tool list that the server
shows. The server runs it by name through tools/call. If your host
calls only listed tools, use the REST route.
Each fact that a recall returns has its citation in memory_token.
current_by_band names the fact cid of the latest reading for each band.
Call emem_recall with this body:
{"cell": "defi.zb493.zezo.zcb35", "bands": ["weather.temperature_2m"]}
Without MCP, send the same body to POST https://emem.dev/v1/recall.
Save the result as recall.json and pick the token of the current
reading:
jq -r '.current_by_band["weather.temperature_2m"] as $c
| .facts[] | select(.fact_cid == $c) | .memory_token' recall.json
facts[] is in order from oldest to newest. Thus .facts[0] is the
oldest reading, not the current one. On 7 November 2026 at 02:05 UTC
this cell held 13 temperature facts, from 23 July to 7 November 2026.
The current token changes each time a newer reading lands.
If you have a cell and a fact cid from a different source, build the
same token with POST https://emem.dev/v1/memory_token. Send
{"cell": ..., "fact_cid": ..., "band": ...} and read memory_token.
The result also has the provenance block of the band.
The token is emem:fact:<cell64>:<fact_cid>. Each agent that resolves
it gets the same signed object. Call emem_memory_token_resolve, or
send the same body to POST https://emem.dev/v1/memory_token/resolve:
{"token": "emem:fact:defi.zb493.zezo.zcb35:nflpddk7zsncywguwjzk5koksseqfyx4jnngkuryrnd4aykqlpfq"}
Read value_verbatim, unit, band and kind in the answer.
On 7 November 2026 this returned
{"value_verbatim":"28.0","unit":"degC","band":"weather.temperature_2m","kind":"primary"}.
A signed fact does not change, so this token gives the same answer on
each day.
Quote value_verbatim. It is the exact decimal string that the responder signed.
If you type the JSON number again, you can lose precision.
To resolve many tokens in one call, send {"tokens": [...]} to
POST https://emem.dev/v1/memory_token/resolve_many. The limit is
256 tokens (max_tokens). Each entry of items[] has ok and
resolution. The value is at items[].resolution.value_verbatim.
emem_echo_verify (REST POST https://emem.dev/v1/echo_verify)
compares the value that you are about to write with the fact that your
token names. Send this body:
{"token": "emem:fact:defi.zb493.zezo.zcb35:nflpddk7zsncywguwjzk5koksseqfyx4jnngkuryrnd4aykqlpfq", "claimed_value": 28.0}
Read matches and drift in the answer.
The check compares the strings first, then the numbers. Results on 7 November 2026:
| Signed value | claimed_value | matches | drift |
|---|---|---|---|
28.0 | 28.0 | true | null |
28.0 | 28 | true | null |
28.0 | "28" with "strict": true | false | reformatted |
23.9 | 24 | false | rounded |
28.0 | 0.74 | false | wrong |
The 23.9 row uses the token
emem:fact:defi.zb493.zezo.zcb35:ofo334twyt6ss3kco6bwljgwy3qiwzqi4grzhog4kwgcpydb6frq.
The other rows use the 28.0 token above.
rounded means that you lost precision. wrong means that you have a
different number. Use strict when the digits themselves matter, for
example in a compliance report. The receipt in the result signs the
resolution of the token. It does not sign your claim.
This is the cheapest check in this skill. It finds a failure that you cannot see yourself: a number that you paraphrased some turns before. Run it on each figure that you did not read in this turn from a resolved token.
Use emem_change_attribution (REST
POST https://emem.dev/v1/change_attribution) when the words held and
the readout changed between visits. Send this body:
{"cell": "defi.zb493.zezo.zcb35"}
Read observed, split and the keys of terms in the answer.
The result is a ledger of evidence for each term. Each term cites its fact cids:
| Term | What it holds |
|---|---|
terms.env | Index pairs (NDVI, NBR, NDWI) from Sentinel-2, with raw deltas. |
terms.sensor | The observation path of each visit, per band, and if that path changed. |
terms.noise | The scene classification (s2.scl) at each visit, and if the class changed. |
terms.encoder | If the embedding recipe changed between the two vintages. |
terms.geo | Not estimated. This build has no registration-residual surface. |
observed | The change in the multi-year embedding, where the store holds a vector. |
On 7 November 2026 this call returned all six keys for this cell, with
split: null and n_env_evidence_bands: 3.
Two limits apply:
split is null, and
attribution_note says that the split is roadmap work. Do not report
a share such as "60% environmental".observed needs a stored embedding. emem.dev no longer computes the
embedding band, so observed is present only where the store already
holds a vector. terms.env comes from Sentinel-2 indices and does not need
the embedding. Use it first.On a cold cell the call can return compute_timeout, because it fetches
several bands for two visits. This occurred on 28 September 2026. An
immediate retry does not help. Recall the index bands of the cell first,
wait for the background fetch, then call again. This tool does not
accept the MCP task parameter. Only emem_eudr_dds and emem_hunt
run as tasks.
emem_memory_contradictions (REST
POST https://emem.dev/v1/memory_contradictions) finds two or more
signed values that disagree for the same place, band and time. Send
this body:
{"cell": "defi.zb493.zezo.zcb35", "min_severity": 0.2, "limit": 20}
Read the length of contradictions, corpus_scanned and
scan_truncated in the answer.
On 7 November 2026 this returned 0 contradictions, with
corpus_scanned: 6 and scan_truncated: false.
All fields are optional. cell_prefix limits the scan to a region.
band limits it to one measurement. window_unix_s limits it to a
period. Without a scope, the scan stops at a cap. On 7 November 2026 a
call with only {"limit": 3} scanned 44702 facts and returned
scan_truncated: true. Read scan_truncated before you report "none
found".
Each entry has a severity from 0 to 1 and a disagreement_scope:
disagreement_scope | Meaning |
|---|---|
multi_attester | Two or more different keys signed different values. |
same_attester_provider_substitution | One key signed values from two different upstream sources. This is one witness that changed instruments, not two witnesses. |
Do not hide a contradiction. Report each signed value and its
attester_pubkey_b32. Do not choose a winner, and do not average. No
key signed the mean of two values that disagree.
Sometimes the question is: "Could this responder show a different
history to someone else?" For that question, use
emem-transparency-log.
| Mistake | Result | Do this |
|---|---|---|
| You quote a number without its token. | Nobody downstream can find drift. | Put the emem:fact: token next to the number. |
| You resolve once, then paraphrase. | The paraphrase is the drift. | Resolve again, or quote value_verbatim. |
You take facts[0] as the current value. | You report the oldest reading. | Use current_by_band. |
| You read a split out of change attribution. | You report shares that no key signed. | Report the evidence for each term. |
You read same_attester_provider_substitution as two witnesses. | You count one source twice. | Read disagreement_scope first. |
What SKILL.md sets; muted values are Claude Code's defaults
19 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".npx claudepluginhub vortx-ai/emem --plugin ememOther plugins' skills for the same job