The glen plugin for Codex adds matching team memory to the context on every turn and records your prompt and the final reply, using hooks that glen install registers and trusts for you.