memory

memory is a skill for Claude Code from enola-labs/enola. It costs 101 tokens per session (2,129 once invoked), scanned A, original, Apache-2.0.

A way to attach a memory about code to the exact function, class, or line it describes. The memory remains in the user's existing notes or memory system, while enola supplies an identifier and checks whether the referenced code has changed.

In plain words
What is it for?
Use it to save or recall explanations about specific code, such as why a function retries or where a bug came from, and to check those explanations before relying on them.
Why use it?
Plain notes can be hard to find and can become outdated without warning. A code anchor makes them easier to retrieve and lets you detect stale information.

Skill for Claude Code

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

Part of the enola plugin — 6 skills, 2 hooks shipped together

Good fit Use it to save or recall explanations about specific code, such as why a function retries or where a bug came from, and to check those explanations before relying on them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/enola-labs/enola/memory
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 enola-labs/enola --skill memory
Clone the repo
git clone --depth 1 https://github.com/enola-labs/enola

Made for: Claude Code.

Or install enola, the plugin that ships this one along with the rest of its 6 skills, 2 hooks.

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 memory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/enola-labs/enola/memory"><img src="https://agentmods.dev/badge/skills/enola-labs/enola/memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,129 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.00101 $0.02129
Opus 5.5 $0.00040 $0.00852
Sonnet 5.5 $0.00020 $0.00426
Haiku 4.5 $0.00010 $0.00213

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

Security

Grade A, and why

memory 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 5d 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/enola/skills/memory/SKILL.md · 138 lines

How it starts

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

Memory anchored to code

A memory about code ("this function retries twice because the API rate-limits", "the bug in X came from Y") is only as good as its link to that code. Kept as text, it is found by words and goes stale silently. Anchored with enola, it is keyed by the symbol it describes, found through the graph, and checked against the code before it is trusted.

enola does not store memories. It supplies the key (a stamp) and the check. The memory stays wherever the user keeps memories.

The stamp

locate with the place the memory is about returns the symbol holding it:

locate(locations=["src/billing/retry.ts:42"])

or enola locate src/billing/retry.ts:42 on the command line (--json for the fields). Keep these fields from the symbol, plus the cited fields when one line was named: id, repo, name, symbol_kind, body_hash, inner_hash, decl_hash when present, and cited_hash with cited_lines.

A single cited line is hashed with the line before and after it, taken only from inside the symbol, so cited_lines is 2 on a declaration or closing line and 3 elsewhere.

Cite the narrowest place the memory is about: one line for a bug or a gotcha, the declaration line for a memory about the whole function. A line outside every symbol (an import, a package-level block) gets no stamp; record the file path instead.

The stamp names the innermost symbol enola holds at that line, which can be smaller than what a reader would call a declaration: a method of an object literal that a function returns, a function named inside another function, a default export written as a call. Every status below is about that symbol, not the function around it. Do not overrule a status because the symbol is not a declaration by some other definition.

Saving a memory

  1. Write the memory as the user's memory system expects.
  2. If it is about specific code, stamp each place it is about and store the stamps with it: in the store's metadata or frontmatter if it has any, otherwise in a block at the end of the memory, otherwise in a JSONL sidecar keyed by the memory's id. Keep file:line beside the stamp for a human reader.
  3. Do not stamp memories that are not about code: preferences, people, decisions with no code location. They are recalled the usual way.

Read the full file on GitHub · 138 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. 5d ago Changed · +46 lines · +9 tokens per session f58264ed2753
  2. 10d ago First seen · 92 lines · 92 tokens per session scan A 5015a46f9d7a

Subscribe to this mod's changes

memory is a skill published in the GitHub repository enola-labs/enola (316 stars, last pushed today), licensed Apache-2.0. It adds 101 tokens to every session and 2,129 once invoked, about $0.0004 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-11-20.

Related

memory compared with skills from other repositories

memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memoryenola-labs/enolaSkill316todayApache-2.0A101Claude Code
security-triageflytohub/flyto-indexerSkill41mo agoApache-2.0A105Claude Code, Codex
cmi-closinglenhonbp/codex-memory-intelligenceSkill13mo agononeA120Claude Code, Codex
cmi-memory-reviewlenhonbp/codex-memory-intelligenceSkill13mo agononeA129Claude Code, Codex
cmi-ambient-brieflenhonbp/codex-memory-intelligenceSkill13mo agononeA116Claude Code, Codex
cmi-activatelenhonbp/codex-memory-intelligenceSkill13mo agononeA127Claude Code, Codex
context-engineeringhashgraph-online/awesome-codex-pluginsSkill1.6k2d agoApache-2.0A73Claude Code, Codex