mnemos-memory

mnemos-memory is a skill for Claude Code from anthony-maio/mnemos. It costs 58 tokens per session (584 once invoked), scanned A, original, MIT.

A guide for Mnemos, a local-first memory system that gives coding agents persistent, separately scoped memory through MCP tools.

In plain words
What is it for?
Use it to set up Mnemos, choose SQLite and an embedding provider, connect it to supported agents, and check whether the installation works.
Why use it?
It explains how to install and configure memory storage and how to avoid assuming that every agent automatically records memories.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; built for openclaw.

Part of the mnemos-memory plugin — 2 skills, 3 agents, 4 hooks shipped together

Good fit Use it to set up Mnemos, choose SQLite and an embedding provider, connect it to supported agents, and check whether the installation works.

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

Made for: Claude Code.

Or install mnemos-memory, the plugin that ships this one along with the rest of its 2 skills, 3 agents, 4 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 mnemos-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/anthony-maio/mnemos/mnemos-memory.svg)](https://agentmods.dev/skills/anthony-maio/mnemos/mnemos-memory)
Your own site
<a href="https://agentmods.dev/skills/anthony-maio/mnemos/mnemos-memory"><img src="https://agentmods.dev/badge/skills/anthony-maio/mnemos/mnemos-memory.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 584 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.00058 $0.00584
Opus 5 $0.00029 $0.00292
Sonnet 5 $0.00012 $0.00117
Haiku 4.5 $0.00006 $0.00058

Measured 8d ago against content hash 4ee4451a225f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

mnemos-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 8d 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.

skills/mnemos-memory/SKILL.md · 43 lines

How it starts

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

Mnemos Memory

Mnemos is a local-first memory layer for coding agents. Use this skill to guide users or OpenClaw agents onto the supported install path, explain the operating loop, and keep compatibility claims accurate.

Default path

  • Prefer pip install "mnemos-memory[mcp]" and mnemos ui.
  • For OpenClaw / ClawHub, teach the agent to self-install mnemos-memory[mcp], run mnemos ui, then wire mnemos-mcp to the canonical MNEMOS_CONFIG_PATH before relying on memory.
  • Recommend SQLite as the supported persistent store.
  • Recommend a real embedding provider (openclaw, openai, openrouter, or ollama) for production retrieval quality.
  • Validate setup with the control-plane smoke check or mnemos-cli doctor.

Claim discipline

  • Safe to claim: local-first scoped memory, MCP tools, SQLite starter profile, Claude Code plugin flow, documented Codex flow.
  • Be explicit that deterministic auto-memory is shipped for Claude Code via hooks.
  • For Codex, Cursor, OpenClaw, and generic MCP hosts, do not imply automatic capture unless the host has its own automation or the user adds one.
  • Do not present removed legacy backends as available runtime options.

Workflow

  1. Identify the host: Claude Code, Cursor, Codex, OpenClaw, or generic MCP.
  2. If the repo is available locally, read README.md, docs/MCP_INTEGRATION.md, and docs/codex.md before answering.
  3. Give the default install path first. Only fall back to manual config snippets if the user cannot use the control plane.
  4. Explain the operating loop:
    • mnemos_retrieve at task start
    • mnemos_store for durable facts only
    • mnemos_consolidate before finishing substantial work
    • mnemos_inspect when a stored fact looks wrong
  5. Read references/hosts.md for host-specific config snippets and caveats, especially the OpenClaw / ClawHub self-install flow when the agent must bootstrap itself.
  6. Read references/operations.md for automation, capture-mode, storage guidance, and troubleshooting.

Read the full file on GitHub · 43 lines

Files

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.

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. 8d ago First seen · 43 lines · 58 tokens per session scan A 4ee4451a225f

Subscribe to this mod's changes

mnemos-memory is a skill published in the GitHub repository anthony-maio/mnemos (27 stars, last pushed 5mo ago), licensed MIT. It adds 58 tokens to every session and 584 once invoked, about $0.0003 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.