codex-mnemo

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

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.

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,484 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.03484
Opus 5.5 $0.00041 $0.01394
Sonnet 5.5 $0.00020 $0.00697
Haiku 4.5 $0.00010 $0.00348

Measured 19d ago against content hash f379784526ec, 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 19d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (hooks/codex-hook-bridge.js, hooks/invoke-notify.ps1, hooks/save-turn.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 · 211 lines

How it starts

The opening of the file, as written. The whole thing — 211 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  # 제거

Windows 설치기는 Mnemo·TermSnap의 알려진 notify 중계 스크립트에서 native 인자 전달을 보정한다. 원본은 같은 경로의 .pre-mnemo-transport.bak에 한 번 보존하고 기존 명령·알림 체인은 유지한다. invoke-notify.ps1이 명시적으로 Windows argv를 인코딩해 PowerShell 5.1과 PowerShell 7 Legacy 모드에서도 JSON 따옴표·역슬래시·빈 인자를 보존한다.

--check는 설치 파일과 알려진 위험 중계 구문을 정적으로 검사한다. 실제 대화 전송·저장의 성공을 뜻하지 않는다. 소스 checkout의 실행 회귀 검사는 node --test scripts/tests/codex-notify-forwarding.test.js 이며, 격리한 프로젝트에서 입력·답변·기존 알림 전달과 재전달 중복 방지를 확인한다. TermSnap이 중계 스크립트를 다시 생성했다면 설치기를 재실행해 보정하고 다시 검사한다.


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·근거 링크로 질문과 응답을 함께 반환합니다. 검색어·동의어와 의미 판단은 현재 에이전트가 맡으며 파일을 수정하지 않습니다.


포함 파일

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

Subscribe to this mod's changes

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

Related

codex-mnemo compared with skills from other repositories

codex-mnemo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
codex-mnemoDannykkh/skill-olympusSkill9yesterdayMITA102Claude Code
domain-extractluiseiman/dotforgeSkill81mo agoMITA24Claude Code
capture-practiceluiseiman/dotforgeSkill81mo agoMITA24Claude Code
handoffclaude-hangar/claude-hangarSkill15mo agoMITA16Claude Code
lesson-learnedclaude-hangar/claude-hangarSkill15mo agoMITA38Claude Code
context-budgetclaude-hangar/claude-hangarSkill15mo agoMITA27Claude Code
pattern-extractorclaude-hangar/claude-hangarSkill15mo agoMITB32Claude Code