mnemosyne-memory-override

mnemosyne-memory-override is a skill for Claude Code, Codex from mnemosyne-oss/mnemosyne. It costs 46 tokens per session (595 once invoked), scanned A, original, MIT.

A rule that directs durable information such as preferences, credentials, and project conventions to Mnemosyne, a persistent memory system for AI agents. Temporary session details may still use the legacy memory system.

In plain words
What is it for?
Choosing where to save, update, or remove lasting user and project information during agent sessions.
Why use it?
It prevents long-term information from being stored in an older system that has limited capacity and does not support vector search.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Choosing where to save, update, or remove lasting user and project information during agent sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mnemosyne-oss/mnemosyne/mnemosyne-memory-override
About the project

mnemosyne-oss/mnemosyne is a local AI memory layer that stores agent memories in SQLite instead of relying on cloud services. It is intended for coding agents and other agent frameworks, and can be used through MCP or a Python SDK. The catalogue skills connect agents to Mnemosyne’s memory features and related workflows.

mnemosyne-oss/mnemosyne · 3,082 stars · on GitHub · mnemosyne.site

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 mnemosyne-oss/mnemosyne --skill mnemosyne-memory-override
Clone the repo
git clone --depth 1 https://github.com/mnemosyne-oss/mnemosyne

Made for: Claude Code, Codex.

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 mnemosyne-memory-override

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mnemosyne-oss/mnemosyne/mnemosyne-memory-override"><img src="https://agentmods.dev/badge/skills/mnemosyne-oss/mnemosyne/mnemosyne-memory-override.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 595 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00046 $0.00595
Opus 5 $0.00023 $0.00298
Sonnet 5 $0.00009 $0.00119
Haiku 4.5 $0.00005 $0.00060

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

Security

Grade A, and why

mnemosyne-memory-override 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 12d 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.

integrations/hermes/src/mnemosyne_hermes/skills/mnemosyne-memory-override/SKILL.md · 60 lines

How it starts

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

Mnemosyne Memory Override

CRITICAL RULE

NEVER use the memory tool for durable facts.

The legacy memory system is deprecated. It has a tiny 2,200 character limit and does not use vector search. Mnemosyne is the single source of truth for all durable user data.

Mapping

Old (FORBIDDEN) New (REQUIRED)
memory(action="add", target="user", ...) mnemosyne_remember(content=..., importance=0.9+, source="preference")
memory(action="add", target="memory", ...) mnemosyne_remember(content=..., importance=0.7+, source="fact")
memory(action="replace", ...) Use the relevant Mnemosyne update flow: recall the current entry, then store corrected content with mnemosyne_remember; use an explicit update tool/flow when the integration exposes one.
memory(action="remove", ...) Use the relevant Mnemosyne invalidation/forget flow: mark the obsolete fact invalid, supersede it with corrected content, or call the integration's forget/remove tool when available. Do not rely on passive aging for known-wrong durable data.

When to use legacy memory (rare)

  • Ephemeral session state (current todo list, temp flags)
  • When Mnemosyne is explicitly confirmed down

Muscle Memory / Reflex Problem

You will reflexively reach for memory out of old habit. This is a known bug in your training. Before EVERY memory tool call, pause and ask:

"Is this durable? Would I want this next session?"

If yes → use Mnemosyne If no (temp flag, todo state) → memory is acceptable

Migration Cleanup

When moving data from legacy memory to Mnemosyne:

  1. Save to Mnemosyne first with mnemosyne_remember
  2. Then REMOVE the old entry from memory with memory(action="remove")
  3. This prevents stale duplicates and confusion

Enforcement

If you catch yourself typing memory(action= for durable data:

  1. CANCEL that tool call
  2. Use Mnemosyne instead
  3. Set importance >= 0.7 for anything that matters later
  4. If you already polluted legacy memory, remove the entry immediately

Read the full file on GitHub · 60 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. 12d ago First seen · 60 lines · 46 tokens per session scan A 1ad5e3199aa9

Subscribe to this mod's changes

mnemosyne-memory-override is a skill published in the GitHub repository mnemosyne-oss/mnemosyne (3,082 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 595 once invoked, about $0.0002 per session on Opus 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-30.