npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

codex-map

v0.2.0

Published

Visual dashboard for inspecting and mapping your Codex CLI setup

Readme

Codex Map

npm version CI node license

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?

CLI demo

Install

npm install -g codex-map
codex-map

Or run it ad-hoc without installing:

npx codex-map

Then open http://localhost:3131.

What you can do with it

  • 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 everythingconfig.toml, trusted projects, MCP servers, plugins, and AGENTS.md files, 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.

Usage

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.

Security

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.

What it reads

| 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).

Screenshots

Global dashboard

| Overview | Stats | | --- | --- | | Overview | Stats |

| Skills | Plugins | | --- | --- | | Skills | Plugins |

Project view

| Project map | Project stats | Project skills | | --- | --- | --- | | Project Map | Project Stats | Project Skills |

Development

git clone https://github.com/dhrupo/codex-map
cd codex-map
npm install
npm run dev          # auto-reload on changes

Tests

npm test

Unit tests run on node:test (zero dependencies). CI runs them on Ubuntu and macOS across Node 18, 20, and 22.

Re-record the demo GIF

The demo is driven by vhs:

vhs docs/cli.tape

Contributing

Bug reports, screenshots, and PRs are welcome. Please open an issue before larger changes so we can talk through the shape.

License

MIT — see LICENSE.