codex-mnemo

codex-mnemo is a skill for Claude Code, Codex from Dannykkh/skill-olympus. It costs 92 tokens per session (1,516 once invoked), scanned A, original, MIT.

A long-term memory tool for searching earlier Codex conversations and saving useful conversation details for later sessions.

In plain words
What is it for?
Use it to save sessions, tag conversations, search past discussions, recall earlier decisions, or prepare a handoff.
Why use it?
It reduces the need to repeat background information when work continues in a new session.

Skill for Claude CodeCodex

Part of the skill-olympus plugin — 13 skills, 2 commands, 41 agents shipped together

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.

agentmods
npx agentmods add skills/dannykkh/skill-olympus/codex-mnemo
Any agent
npx skills add Dannykkh/skill-olympus --skill codex-mnemo
Clone the repo
git clone --depth 1 https://github.com/Dannykkh/skill-olympus

Made for: Claude Code, Codex.

Or install skill-olympus, the plugin that ships this one along with the rest of its 13 skills, 2 commands, 41 agents.

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 codex-mnemo

README.md
[![agentmods](https://agentmods.dev/badge/skills/dannykkh/skill-olympus/codex-mnemo.svg)](https://agentmods.dev/skills/dannykkh/skill-olympus/codex-mnemo)
Your own site
<a href="https://agentmods.dev/skills/dannykkh/skill-olympus/codex-mnemo"><img src="https://agentmods.dev/badge/skills/dannykkh/skill-olympus/codex-mnemo.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,516 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00092 $0.01516
Opus 5 $0.00046 $0.00758
Sonnet 5 $0.00018 $0.00303
Haiku 4.5 $0.00009 $0.00152

Measured today against content hash 88a490cae280, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codex-mnemo 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 today.

The scan reads SKILL.md. This mod also ships 12 executable files (hooks/append-assistant.ps1, hooks/append-assistant.sh, hooks/append-user.ps1, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/codex-mnemo/SKILL.md · 128 lines

How it starts

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

Codex-Mnemo - Codex CLI 기억 시스템

기억의 여신 Mnemosyne에서 유래. Claude Code용 Mnemo를 Codex CLI에 이식.

Codex CLI 세션 간 컨텍스트 유지를 위한 장기기억 시스템입니다.

설치

node skills/codex-mnemo/install.js              # 설치
node skills/codex-mnemo/install.js --check      # 설치/notify 진단
node skills/codex-mnemo/install.js --uninstall  # 제거

Claude Code Mnemo와의 차이

Claude Code (Mnemo) Codex CLI (Codex-Mnemo)
2개 (UserPromptSubmit + Stop) 1개 (notify: agent-turn-complete)
데이터 전달 stdin JSON + transcript JSONL 파싱 notify payload(JSON) (argv/stdin/파일경로 모두 처리)
설정 settings.json (JSON) config.toml (TOML)
규칙 파일 CLAUDE.md AGENTS.md
저장 경로 conversations/*-claude.md conversations/*-codex.md
중복 방지 타임스탬프 기반 turn-id 기반 (더 정확)

핵심 원칙

원칙 설명
빠르게 기본은 훅에서 AI 호출 금지. 단, Chronos auto-continue는 예외 체인
단순하게 파일 기반, DB 없음
검색 가능하게 키워드 + 동의어 확장

포함 파일

codex-mnemo/
├── SKILL.md                     # 이 파일
├── install.js                   # 설치/제거 스크립트
├── hooks/
│   ├── save-turn.ps1            # Windows notify 오케스트레이터 (+ Chronos optional chain)
│   ├── append-user.ps1          # User 저장 전담
│   ├── append-assistant.ps1     # Assistant 저장 전담
│   ├── save-turn.sh             # Linux/Mac notify 오케스트레이터 (+ Chronos optional chain)
│   ├── append-user.sh           # User 저장 전담
│   └── append-assistant.sh      # Assistant 저장 전담
├── scripts/
│   └── reconcile_codex_conversations.py  # rollout JSONL → conversations/ 복구
└── templates/
    └── agents-md-rules.md       # AGENTS.md 주입 규칙

Reconcile (누락 턴 복구)

Codex의 notify 훅이 한 번이라도 실패하거나 Codex CLI가 강제 종료되면 해당 턴의 conversations/YYYY-MM-DD-codex.md 미러링이 유실됩니다. 그러나 rollout JSONL (<CODEX_HOME>/sessions/YYYY/MM/DD/rollout-*.jsonl)은 Codex가 직접 기록하는 source of truth 이므로, reconcile_codex_conversations.py가 이를 스캔해 누락된 turn을 자동 복구합니다.

여기서 <CODEX_HOME>CODEX_HOME 환경 변수 값이며, 미설정 시 ~/.codex입니다.

Read the full file on GitHub · 128 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. today Changed 88a490cae280
  2. 4d ago First seen · 128 lines · 92 tokens per session scan A 248a429ff551

Subscribe to this mod's changes

codex-mnemo is a skill published in the GitHub repository Dannykkh/skill-olympus (5 stars, last pushed 2d ago), licensed MIT. It adds 92 tokens to every session and 1,516 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories