codex-mnemo

codex-mnemo is a skill for Claude Code from Dannykkh/skill-olympus. It costs 102 tokens per session (3,230 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 Code

Written for Claude Code: UserPromptSubmit hook event. Also seen: mentions CLAUDE.md; mentions Claude Code; reads ~/.codex paths.

Part of the skill-olympus plugin — 101 skills, 7 commands, 5 MCP servers shipped together

Good fit Use it to save sessions, tag conversations, search past discussions, recall earlier decisions, or prepare a handoff.

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

Made for: Claude Code.

Or install skill-olympus, the plugin that ships this one along with the rest of its 101 skills, 7 commands, 5 MCP servers.

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/github.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/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 codex-mnemo

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,230 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.00102 $0.03230
Opus 5.5 $0.00041 $0.01292
Sonnet 5.5 $0.00020 $0.00646
Haiku 4.5 $0.00010 $0.00323

Measured 5d ago against content hash 2861c698f84f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 5d ago.

The scan reads SKILL.md. This mod also ships 12 executable files (hooks/codex-hook-bridge.js, hooks/save-turn.ps1, hooks/save-turn.sh, …), 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 · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 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
중복 방지 입력 세대·응답 UUID turn-id 기반

핵심 원칙

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

전역 작업 규칙의 정본은 templates/agents-md-rules.md이며, 설치기가 <CODEX_HOME>/AGENTS.md의 CODEX-MNEMO 관리 블록에 반영합니다. 요청 언어로 응답하고 코드맵을 우선 조회하며, 과거 검색은 메모리 → 대화 링크·태그 → 본문 → 원본 세션 파싱·복구 순서입니다. 정확한 검색·기억·핸드오프 정책이 필요할 때 정본을 읽습니다. 읽기 전용 요청에서는 복구 파일을 쓰지 않습니다. --dry-run은 복구 후보의 집계를 확인하는 옵션이며 대화 본문을 출력하는 검색 기능으로 간주하지 않습니다.

일반 대화의 선호·약속·변경 이유는 대화 맥락 회상을 따라 조회합니다. 동봉된 scripts/recall.py가 기존 태그·예약 ID·근거 링크로 질문과 응답을 함께 반환합니다. 검색어·동의어와 의미 판단은 현재 에이전트가 맡으며 파일을 수정하지 않습니다.


포함 파일

기존 기억의 경로·근거 형식은 공통 닥터의 --upgrade-memory로 정비합니다. 실행 범위와 보존 규칙은 기억 정비 계약을 따릅니다.

codex-mnemo/
├── SKILL.md                     # 이 파일
├── install.js                   # 설치/제거 스크립트
├── hooks/
│   ├── save-turn.ps1            # Windows notify 오케스트레이터 (+ Chronos optional chain)
│   ├── save-turn.sh             # Linux/Mac notify 오케스트레이터 (+ Chronos optional chain)
│   └── store-turn.js            # 전체 입력·답변·표식의 동시 저장, 대기 턴 재시도
├── scripts/
│   └── reconcile_codex_conversations.py  # rollout JSONL → conversations/ 복구
└── templates/
    └── agents-md-rules.md       # AGENTS.md 주입 규칙

Read the full file on GitHub · 200 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 · +24 lines · +10 tokens per session 2861c698f84f
  2. 6d ago Changed · +10 lines c95c4068f992
  3. 7d ago Changed · +4 lines 224a28c516a4
  4. 13d ago Changed · +7 lines ce1c764a1ef8
  5. 22d ago Changed · +2 lines 9f9954c33374
  6. 26d ago Changed · +6 lines 2287a613487b
  7. 1mo ago Changed · +2 lines 3db69175cdcb
  8. 1mo ago Changed · +10 lines ddfe91991062
  9. 1mo ago Changed · +7 lines 5ce8e15f1277
  10. 1mo ago First seen · 128 lines · 92 tokens per session scan A 88a490cae280

Subscribe to this mod's changes

codex-mnemo is a skill published in the GitHub repository Dannykkh/skill-olympus (7 stars, last pushed yesterday), licensed MIT. It adds 102 tokens to every session and 3,230 once invoked, about $0.0004 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.