Codex skill for using the local code-memory MCP server during codebase work.
The skill helps Codex index repositories, perform semantic code search, inspect AST symbols and references, search documentation, query Git history, and identify dead-code candidates.
Copy this folder into your Codex skills directory:
mkdir -p ~/.codex/skills
cp -R codex-code-memory ~/.codex/skills/code-memoryRestart Codex so the skill list refreshes.
code-memoryMCP server available on the machine.uvxor the local installation method used forcode-memory.- Python version compatible with the installed MCP server.
Ask Codex to use $code-memory while working in a Git repository. The skill will guide Codex to check index status, index or refresh the repository, search code/docs/history, and verify findings with direct reads or tests.
code-memory may create local index databases such as code_memory.db, code_memory.db-wal, and code_memory.db-shm in indexed repositories. Treat those files as local state and do not commit them.