emem-verify-receipt

emem-verify-receipt is a skill for Claude Code from Vortx-AI/emem. It costs 87 tokens per session (1,514 once invoked), scanned A, original, Apache-2.0.

A local checker for emem receipts, which are signed records returned by the emem service. It rebuilds the receipt's data, calculates its BLAKE3 digest, and checks the Ed25519 signature against the responder's published public key.

In plain words
What is it for?
Use it on a pasted or saved receipt JSON to verify its signature and fact identifier, either with the bundled Python script or a command-line pipeline.
Why use it?
It lets you check whether a cached receipt was signed by the expected responder and has not been changed, without contacting the server again. This helps distinguish an authentic record from altered or fabricated data.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it on a pasted or saved receipt JSON to verify its signature and fact identifier, either with the bundled Python script or a command-line pipeline.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vortx-ai/emem/emem-verify-receipt
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-verify-receipt
Clone the repo
git clone --depth 1 https://github.com/Vortx-AI/emem

Made for: Claude Code.

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-verify-receipt

README.md
[![agentmods](https://agentmods.dev/badge/skills/vortx-ai/emem/emem-verify-receipt/github.svg)](https://agentmods.dev/skills/vortx-ai/emem/emem-verify-receipt)
Your own site
<a href="https://agentmods.dev/skills/vortx-ai/emem/emem-verify-receipt"><img src="https://agentmods.dev/badge/skills/vortx-ai/emem/emem-verify-receipt/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-verify-receipt

Your own site · 80×15
<a href="https://agentmods.dev/skills/vortx-ai/emem/emem-verify-receipt"><img src="https://agentmods.dev/badge/skills/vortx-ai/emem/emem-verify-receipt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 36
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 98
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00087 $0.01514
Opus 5 $0.00044 $0.00757
Sonnet 5 $0.00017 $0.00303
Haiku 4.5 $0.00009 $0.00151

Measured 11d ago against content hash fa5add2c6154, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

emem-verify-receipt scanned grade A with 1 finding 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 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (verify.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(curl:*) Bash(python3:*) Bash(pip:*) Read Write
claude-skills/emem-verify-receipt/SKILL.md · 146 lines

How it starts

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

emem-verify-receipt

This skill rebuilds the canonical preimage of an emem receipt byte-for-byte, BLAKE3s it, and runs Ed25519 verification — all locally. The math matches emem-attest::receipt_preimage_v1 (crates/emem-attest/src/lib.rs) in the emem source; if your verification passes, the receipt was signed by the responder pubkey and has not been tampered with.

When to invoke

  • "Is this emem receipt authentic?"
  • "Verify this fact_cid offline."
  • "I cached an emem response from last year — can I prove it's real without calling the server?"
  • The user pastes a JSON blob with request_id, served_at, primitive, cells, fact_cids, signature, responder (or responder_pubkey_b32) fields.

How to invoke

Quick one-shot via the bundled Python script

python3 .claude/skills/emem-verify-receipt/verify.py path/to/receipt.json

Or pipe a receipt directly:

curl -sf -X POST https://emem.dev/v1/recall \
  -H 'content-type: application/json' \
  -d '{"cell":"defi.zb493.xoso.zcb6a","bands":["weather.temperature_2m"]}' \
  | jq '.receipt' \
  | python3 .claude/skills/emem-verify-receipt/verify.py -

The script prints VALID and the BLAKE3 digest hex if the signature checks out, or INVALID with the reason if not.

What the math does

Receipts carry preimage_version: 1. The preimage is domain-separated and length-prefixed so no two different receipts can collide without a BLAKE3 collision:

blake3( "emem.preimage.v1\0"
        || u32le(len("receipt")) || "receipt"
        || segment*  )

Each scalar segment is tag || u32le(len) || bytes; a list segment is tag || u32le(count) || (u32le(len) || bytes)*. Segments appear in this fixed order, and optional ones are emitted only when present:

tag segment when
1 request_id always
2 served_at always
3 scope scoped reads only
4 as_of bi-temporal reads only
5 edges include:["edges"] only
6 manifest blake3(cbor(source_versions)), when non-empty
7 primitive always
8 cells always (list)
9 fact_cids always (list)
10 field field tokens (raster/cube): blake3 of the (aoi_cid, derivation_cid) binding

Read the full file on GitHub · 146 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 146 lines · 87 tokens per session scan A fa5add2c6154

Subscribe to this mod's changes

emem-verify-receipt is a skill published in the GitHub repository Vortx-AI/emem (56 stars, last pushed today), licensed Apache-2.0. It adds 87 tokens to every session and 1,514 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.