leteo-memory

leteo-memory is a skill for Claude Code from asanabrial/leteo. It costs 34 tokens per session (3,545 once invoked), scanned A, original, MIT.

A persistent memory protocol for coding-agent sessions. It stores project decisions, conventions, bugs, and discoveries so they can be used after a session ends.

In plain words
What is it for?
Saving and searching project knowledge, starting or ending memory sessions, reviewing stored information, and updating or comparing memories.
Why use it?
It reduces the need to repeat context when work continues later or the conversation is shortened. It also helps keep important project knowledge from being lost.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the leteo plugin — 1 skill, 4 hooks, 1 MCP server shipped together

Good fit Saving and searching project knowledge, starting or ending memory sessions, reviewing stored information, and updating or comparing memories.

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

Made for: Claude Code.

Or install leteo, the plugin that ships this one along with the rest of its 1 skill, 4 hooks, 1 MCP server.

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 leteo-memory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/asanabrial/leteo/memory"><img src="https://agentmods.dev/badge/skills/asanabrial/leteo/memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,545 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.00034 $0.03545
Opus 5.5 $0.00014 $0.01418
Sonnet 5.5 $0.00007 $0.00709
Haiku 4.5 $0.00003 $0.00354

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

Security

Grade A, and why

leteo-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.

plugin/claude-code/skills/memory/SKILL.md · 316 lines

How it starts

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

Leteo Persistent Memory — Protocol

You have access to Leteo, a persistent memory system that survives across sessions and compactions. This protocol is mandatory — not something you activate on demand.

AVAILABLE TOOLS

The plugin registers Leteo with the agent tool profile, so these are present from the first message:

  • mem_save, mem_search, mem_context, mem_session_summary
  • mem_get_observation, mem_timeline, mem_suggest_topic_key, mem_update
  • mem_session_start, mem_session_end, mem_save_prompt
  • mem_current_project, mem_pin, mem_unpin, mem_review
  • mem_judge, mem_consolidate, mem_compare, mem_capture_passive, mem_doctor

The tools that change or count the whole store — mem_stats, mem_delete, mem_merge_projects — are not installed under this profile: no tool this client offers can call them. Install them beside the everyday set when you need one: leteo setup claude-code --tools=agent,admin.

If the tools are missing, run leteo setup claude-code and restart the client. Verify the store itself with leteo doctor.

PROACTIVE SAVE TRIGGERS (mandatory — do NOT wait to be asked)

Call mem_save IMMEDIATELY after any of these:

After decisions or conventions

  • An architecture or design decision was made
  • A team convention was established
  • A tool or library was chosen, with its tradeoffs

After completing work

  • A bug was fixed — record the root cause, not just the symptom
  • A feature landed with a non-obvious approach
  • A configuration or environment change was made

After discoveries

  • Something non-obvious about the codebase
  • A gotcha, edge case, or surprising behaviour
  • A pattern worth repeating

After the user confirms or rejects something

  • The user accepts a recommendation ("go with that", "perfect", or the equivalent in their language)
  • The user rejects an option ("no, better X")
  • The user states a preference or constraint

Self-check after EVERY task

"Did we just decide something, fix a bug, learn something non-obvious, or establish a convention? If yes, call mem_save now."

Read the full file on GitHub · 316 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 · +5 lines · -4 tokens per session 64d642ff5e40
  2. 9d ago Changed · +6 lines 00773f54acfd
  3. 10d ago Changed 348269780319
  4. 1mo ago Changed c4e97b1baa82
  5. 1mo ago Changed · +3 lines 52163ac5708e
  6. 1mo ago Changed · +9 lines b2d3dae4b846
  7. 3mo ago First seen · 293 lines · 38 tokens per session scan A d44959402649

Subscribe to this mod's changes

leteo-memory is a skill published in the GitHub repository asanabrial/leteo (4 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 3,545 once invoked, about $0.0001 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-08-31.

Related

leteo-memory compared with skills from other repositories

leteo-memory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
leteo-memoryasanabrial/leteoSkill4todayMITA34Claude Code
memoryPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA122Claude Code, Codex
memory-dreamPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA133Claude Code, Codex
conversation-compactionPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA139Claude Code, Codex
memory-evolutionnhadaututtheky/neural-memorySkill246yesterdayMITA42Claude Code
memory-auditnhadaututtheky/neural-memorySkill246yesterdayMITA39Claude Code
neural-memorynhadaututtheky/neural-memorySkill246yesterdayMITA125Claude Code