mnemos-codex

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

Instructions for using Mnemos as a memory system with Codex. Mnemos can store and retrieve durable project facts through MCP, a standard way for tools to connect to an agent.

In plain words
What is it for?
It guides installation, MCP configuration, repository-level memory rules, daily retrieval and storage, corrections, consolidation, troubleshooting, and optional maintenance automations.
Why use it?
It clarifies how to preserve useful project knowledge across tasks and avoids claiming unsupported automatic memory or hook behavior.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

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

Good fit It guides installation, MCP configuration, repository-level memory rules, daily retrieval and storage, corrections, consolidation, troubleshooting, and optional maintenance automations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/anthony-maio/mnemos/mnemos-codex
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-codex
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-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/anthony-maio/mnemos/mnemos-codex.svg)](https://agentmods.dev/skills/anthony-maio/mnemos/mnemos-codex)
Your own site
<a href="https://agentmods.dev/skills/anthony-maio/mnemos/mnemos-codex"><img src="https://agentmods.dev/badge/skills/anthony-maio/mnemos/mnemos-codex.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 556 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.00556
Opus 5 $0.00029 $0.00278
Sonnet 5 $0.00012 $0.00111
Haiku 4.5 $0.00006 $0.00056

Measured 7d ago against content hash 64499c128385, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

mnemos-codex 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 7d 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-codex/SKILL.md · 52 lines

How it starts

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

Mnemos for Codex

Use this skill to put Mnemos on the supported Codex path without overstating host automation. In Codex, the practical Mnemos workflow is:

  • recall at the start of substantial work
  • curate durable facts during or after the task
  • consolidate before finishing

Default path

  • Prefer pip install "mnemos-memory[mcp]" and mnemos ui.
  • Treat the blessed Codex setup as two parts: MCP config plus a repo-level AGENTS.md memory block.
  • Read references/install.md for install and validation.
  • Read references/operations.md for daily use, troubleshooting, and honest capability framing.

Claim discipline

  • Safe to claim: Mnemos works in Codex through MCP, shared MNEMOS_CONFIG_PATH, repo-level AGENTS.md, and optional maintenance Automations.
  • Do not claim built-in prompt/tool lifecycle hooks or Claude Code parity.
  • Hard auto-capture in Codex is host-dependent and not shipped by Mnemos today.

Daily loop

  1. Start in recall mode: call mnemos_retrieve with a task-focused query and repo-scoped arguments.
  2. Do the work, then switch to curator mode: store only durable facts with mnemos_store.
  3. Use mnemos_inspect before storing a correction or when a retrieved memory looks suspicious.
  4. Finish substantial work with mnemos_consolidate.
  5. If Mnemos MCP tools are unavailable, continue normally instead of blocking work.

Recall mode

  • Use at the start of coding, debugging, review, or handoff tasks.
  • Query for architecture, current repo conventions, recent fixes, environment quirks, and user preferences that matter for this task.
  • In Codex, prefer current_scope=project, scope_id=<workspace or repo name>, and allowed_scopes=project,global.

Curator mode

  • Use during or near the end of a substantial task.
  • Store decisions, constraints, environment facts, recurring bug patterns, and stable preferences.
  • Skip one-off chatter, ephemeral plans, stack traces without reusable lessons, and secrets.

Avoid

  • Do not present Codex Automations as session capture.
  • Do not tell users to type memories manually as the primary workflow.
  • Do not market Codex as Tier 1 until real daily-use validation is complete.

Read the full file on GitHub · 52 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. 7d ago First seen · 52 lines · 58 tokens per session scan A 64499c128385

Subscribe to this mod's changes

mnemos-codex 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 556 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.