emem-referential-drift

emem-referential-drift is a skill for Claude Code from Vortx-AI/emem. It costs 132 tokens per session (2,758 once invoked), scanned A, original, Apache-2.0.

A protocol for keeping agents aligned on the meaning of objects and the exact values they report. It links each value to a signed, byte-for-byte-identical source record.

In plain words
What is it for?
Use it when agents share measurements or research findings and need to pass verifiable numbers between sessions or systems.
Why use it?
It prevents one agent or session from silently changing a number through copying, rounding, or paraphrasing. It also makes reported facts traceable to the observation they came from.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the emem plugin — 19 skills shipped together

Good fit Use it when agents share measurements or research findings and need to pass verifiable numbers between sessions or systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vortx-ai/emem/emem-referential-drift
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Vortx-AI/emem --skill emem-referential-drift
Clone the repo
git clone --depth 1 https://github.com/Vortx-AI/emem

Made for: Claude Code.

Or install emem, the plugin that ships this one along with the rest of its 19 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for emem-referential-drift

README.md
[![agentmods](https://agentmods.dev/badge/skills/vortx-ai/emem/emem-referential-drift/github.svg)](https://agentmods.dev/skills/vortx-ai/emem/emem-referential-drift)
Your own site
<a href="https://agentmods.dev/skills/vortx-ai/emem/emem-referential-drift"><img src="https://agentmods.dev/badge/skills/vortx-ai/emem/emem-referential-drift/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for emem-referential-drift

Your own site · 80×15
<a href="https://agentmods.dev/skills/vortx-ai/emem/emem-referential-drift"><img src="https://agentmods.dev/badge/skills/vortx-ai/emem/emem-referential-drift.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,758 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00132 $0.02758
Opus 5.5 $0.00053 $0.01103
Sonnet 5.5 $0.00026 $0.00552
Haiku 4.5 $0.00013 $0.00276

Measured 23d ago against content hash 6204ebdea293, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

emem-referential-drift scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/emem/skills/emem-referential-drift/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.

emem-referential-drift

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.dev and receive JSON from it. Where a step says so, they also receive an image or a raster file. https://emem.dev is 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 from https://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.

Step 1: get the token for the reading

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:

Read the full file on GitHub · 216 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · +62 lines · +8 tokens per session 6204ebdea293
  2. 25d ago Changed · +11 lines 71c982a977dc
  3. 1mo ago Changed 44b44d2e61da
  4. 2mo ago Changed · +2 lines aecd2c370993
  5. 2mo ago Changed · -13 lines · -8 tokens per session dad9811c1802
  6. 2mo ago Changed · -1 lines 040b17fc6124
  7. 2mo ago First seen · 155 lines · 132 tokens per session scan A e40acbb8738d

Subscribe to this mod's changes

emem-referential-drift is a skill published in the GitHub repository Vortx-AI/emem (91 stars, last pushed yesterday), licensed Apache-2.0. It adds 132 tokens to every session and 2,758 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-17.

Related

emem-referential-drift compared with skills from other repositories

emem-referential-drift next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
emem-referential-driftVortx-AI/ememSkill91yesterdayApache-2.0A132Claude Code
memory-triagemem0ai/mem0Skill70k4d agoApache-2.0A58Claude Code
mem0-climem0ai/mem0Skill70k4d agoApache-2.0A177Claude Code, Codex
mem0-vercel-ai-sdkmem0ai/mem0Skill70k4d agoApache-2.0A146Claude Code, Codex
mem0-tourmem0ai/mem0Skill70k4d agoApache-2.0A47Claude Code, Codex
mem0-scopemem0ai/mem0Skill70k4d agoApache-2.0A52Claude Code, Codex
agent-memory-disciplinesickn33/agentic-awesome-skillsSkill51kyesterdayMITA36Claude Code