Setup
01Hook Claude Code
One of 6 in hooks.json
Runs once when the project is set up, executing setup.sh. From 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.
This repository also configures its own agents. See what codex-mem tells them →
Hook Claude Code
One of 6 in hooks.json
Runs once when the project is set up, executing setup.sh. From 2kDarki/codex-mem.
Hook Claude Code
One of 6 in hooks.json
Runs when a session starts on startup, clear and compact, executing smart-install.js and bun-runner.js (3 commands). From 2kDarki/codex-mem.
Hook Claude Code
One of 6 in hooks.json
Runs when you submit a prompt, before the agent sees it, executing bun-runner.js. From 2kDarki/codex-mem.
Hook Claude Code
One of 6 in hooks.json
Runs after a tool call finishes, executing bun-runner.js. From 2kDarki/codex-mem.
Hook Claude Code
One of 6 in hooks.json
Runs when the agent finishes a response, executing bun-runner.js. From 2kDarki/codex-mem.
Hook Claude Code
One of 6 in hooks.json
Runs when a session ends, executing bun-runner.js. From 2kDarki/codex-mem.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: