A visual dashboard for inspecting your Codex CLI setup. Codex Map reads
your ~/.codex directory, your project overlays, and your session
history, and lays everything out in a single browsable UI so you can
answer questions like which skill is overriding which?, which MCP
server did this session use?, and what does my last debugging run
look like?
npm install -g codex-map
codex-mapOr run it ad-hoc without installing:
npx codex-mapThen open http://localhost:3131.
- Browse session history — search by date, project, or tool use,
and copy a one-line
codex resume <id>command for any session. - Compare skills side by side — see which global skill in
~/.codex/skills/is being overridden by a project-local.codex/skills/. - Inspect everything —
config.toml, trusted projects, MCP servers, plugins, andAGENTS.mdfiles, all in one place. - Map a project — point Codex Map at a repo to see its
AGENTS.md, MCP config, and per-project skills together. - Export — dump a full JSON scan, or a redacted bundle you can share with a teammate when something is misbehaving.
codex-map Start the dashboard (127.0.0.1:3131)
codex-map -p 8080 Start on a custom port
codex-map --bind 0.0.0.0 Expose on all interfaces (LAN access)
codex-map --help Show help
codex-map --version Show version
Environment variable equivalents: PORT, HOST.
Codex Map binds to 127.0.0.1 by default. The API exposes the
contents of ~/.codex (config, sessions, plugin metadata) and can
write to ~/.codex/codex-map-projects.json, so it is intentionally
loopback-only out of the box.
Pass --bind 0.0.0.0 only on networks you trust. The dashboard prints
a warning whenever it is bound to a non-loopback host.
There is no authentication on the HTTP API — the security boundary is the loopback bind.
| Source | Purpose |
|---|---|
~/.codex/config.toml |
Global Codex CLI config |
~/.codex/skills/ |
Global skills |
~/.codex/history.jsonl |
Session history index |
~/.codex/session_index.jsonl |
Session metadata |
~/.codex/sessions/ |
Per-session transcripts |
~/.codex/.tmp/plugins/plugins/*/.codex-plugin/plugin.json |
Installed plugins |
<project>/AGENTS.md, <project>/.codex/skills/, <project>/.mcp.json |
Project overlays |
It does not write anywhere except ~/.codex/codex-map-projects.json
(the list of projects you've pinned in the UI).
| Overview | Stats |
|---|---|
![]() |
![]() |
| Skills | Plugins |
|---|---|
![]() |
![]() |
| Project map | Project stats | Project skills |
|---|---|---|
![]() |
![]() |
![]() |
git clone https://github.com/dhrupo/codex-map
cd codex-map
npm install
npm run dev # auto-reload on changesnpm testUnit tests run on node:test (zero dependencies). CI runs them on
Ubuntu and macOS across Node 18, 20, and 22.
The demo is driven by vhs:
vhs docs/cli.tapeBug reports, screenshots, and PRs are welcome. Please open an issue before larger changes so we can talk through the shape.
MIT — see LICENSE.







