2kDarki/codex-mem

A Codex plugin that automatically captures everything Codex does during your coding sessions, compresses it with AI (using Codex's agent-sdk), and injects relevant context back into future sessions.

12Stars on the repository
13Mods indexed here, across every type
5mo agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

Setup

01

2kDarki/codex-mem

Hook

Runs once when the project is set up, executing setup.sh. From 2kDarki/codex-mem.

12 5mo ago A tokens not measured

SessionStart

02

2kDarki/codex-mem

Hook

Runs when a session starts on startup, clear and compact, executing smart-install.js and bun-runner.js (3 commands). From 2kDarki/codex-mem.

12 5mo ago A tokens not measured

UserPromptSubmit

03

2kDarki/codex-mem

Hook

Runs when you submit a prompt, before the agent sees it, executing bun-runner.js. From 2kDarki/codex-mem.

12 5mo ago A tokens not measured

PostToolUse

04

2kDarki/codex-mem

Hook

Runs after a tool call finishes, executing bun-runner.js. From 2kDarki/codex-mem.

12 5mo ago A tokens not measured

Stop

05

2kDarki/codex-mem

Hook

Runs when the agent finishes a response, executing bun-runner.js. From 2kDarki/codex-mem.

12 5mo ago A tokens not measured

SessionEnd

06

2kDarki/codex-mem

Hook

Runs when a session ends, executing bun-runner.js. From 2kDarki/codex-mem.

12 5mo ago A tokens not measured