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.
npx skills add Vortx-AI/emem --skill emem-tokenise-filesgit clone --depth 1 https://github.com/Vortx-AI/ememWrote 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.
[](https://agentmods.dev/skills/vortx-ai/emem/emem-tokenise-files)<a href="https://agentmods.dev/skills/vortx-ai/emem/emem-tokenise-files"><img src="https://agentmods.dev/badge/skills/vortx-ai/emem/emem-tokenise-files/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.
<a href="https://agentmods.dev/skills/vortx-ai/emem/emem-tokenise-files"><img src="https://agentmods.dev/badge/skills/vortx-ai/emem/emem-tokenise-files.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00195 | $0.04936 |
| Opus 5.5 | $0.00078 | $0.01974 |
| Sonnet 5.5 | $0.00039 | $0.00987 |
| Haiku 4.5 | $0.00019 | $0.00494 |
Grade A, and why
emem-tokenise-files 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 323 lines — stays where its author put it; the contents beside it link to each section on GitHub.
emem-tokenise-files
| Use it when | You must cite one part of a large file and not send the file, or prove later that a part was in it. |
| You need | A BLAKE3 tool that you trust, to hash the units of a file that you hold, or a public https URL for each unit. To publish: an Ed25519 key, as emem-sign-and-attest describes. To read: no key. To check offline: BLAKE3. |
| You get | An emem:tree:<file_cid> token for the file, a #row=<i> token for each unit, and for each row its leaf, its audit path and the root. |
| Calls | POST /v1/tree/path (the root over your rows), emem_memory_create (signed write), GET /v1/tree/<file_cid>?row=<i> (MCP emem_tree). For a unit at a public URL: emem_range_hash. |
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.
Signed in.
emem_filesdoes this for you. To keep a file on your machine, hash it there and send only the index (action: index), or import the note the offline encoder prints (action: import); emem signs the root and never receives the bytes. To let your agents read the text through emem, useaction: add. Thenreadreturns one section with its proof, andsearchfinds sections. For a scanned page or a photo of text,action: ocrreads the text from the image and keeps it as a text file; the image is not kept, and OCR text can be wrong, so check it against the image. The steps below publish a tree in public under your own key, and need the publish scope.
A quoted part of a long file proves nothing about its origin. A tree gives that proof. You hash each unit, and the hashes fold into one root. You write the root into a note and sign the note. A reader then takes one unit, its audit path and your note. The reader checks that the unit was in the file you published. The reader does not see the other units.
| Item | What it is |
|---|---|
| pointer.v1 note | A markdown index. It has one row for each unit (what, url or ·, offset, length, blake3) and a root: line in its front matter. |
emem:tree:<file_cid> |
The whole tree. The file_cid is the content address of the note. |
emem:tree:<file_cid>#row=<i> |
One unit. |
GET /v1/tree/<file_cid>?row=<i or label> |
The leaf, the audit path and the root for that unit. |
The tree has no signature of its own. Your Ed25519 signature over the
whole note binds the root. The responder also checks the note. If the
rows do not fold to the root: that the note states, it serves no
path and returns 409 root_mismatch.
What ships with it
2 files 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.
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.
- 4d ago Changed · +2 lines a13d59120cad
- 18d ago Changed · +94 lines · +31 tokens per session be2a866a6015
- 22d ago Changed · +77 lines · +7 tokens per session 154516c24e6c
- 25d ago Changed · +13 lines 74c22d568351
- 1mo ago Changed · +1 lines 8353c75a104d
- 1mo ago Changed · +1 lines 917bca4191ce
- 2mo ago Changed · +2 lines 3b5374df3bb6
- 2mo ago First seen · 133 lines · 157 tokens per session scan A 82175a0bd2ea
emem-tokenise-files is a skill published in the GitHub repository Vortx-AI/emem (91 stars, last pushed yesterday), licensed Apache-2.0. It adds 195 tokens to every session and 4,936 once invoked, about $0.0008 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-29.
emem-tokenise-files compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| emem-tokenise-filesVortx-AI/emem | Skill | 91 | yesterday | Apache-2.0 | A | 195 | Claude Code |
| pdfMemTensor/memmy-agent | Skill | 2.4k | yesterday | MIT | B | 56 | Claude Code, Codex |
| akf-trust-metadata-v2diegosouzapw/awesome-omni-skills | Skill | 181 | 4mo ago | MIT | A | 100 | Claude Code, Codex |
| akf-trust-metadatalingxling/awesome-skills-cn | Skill | 342 | 1mo ago | MIT | A | 60 | Claude Code |
| pdf-fillgetskillseal/skillseal | Skill | 2 | 3mo ago | MIT | A | 11 | Claude Code, Codex |
| akf-trust-metadatadiegosouzapw/awesome-omni-skills | Skill | 181 | 4mo ago | MIT | A | 98 | Claude Code, Codex |
| akf-trust-metadataDorianGallo/antigravity-awesome-skills-local | Skill | 2 | today | MIT | A | 60 | Claude Code |