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-config

v0.144.3

Published

Keep Codex config.toml current for the GPT-5.6 model family without overwriting unrelated settings.

Readme

codex-config

Keep your Codex configuration up to date as Codex evolves.

codex-config updates the active config.toml to the supported Codex configuration shape and applies a curated set of recommended settings. It is safe to run after every Codex upgrade: repeated runs produce the same result.

It:

  • adds recommended settings that are missing;
  • migrates obsolete settings to their current equivalents;
  • preserves your existing choices and unrelated configuration, including MCP servers, projects, providers, and notices;
  • validates the result against the bundled Codex schema before writing it.

Quick start

Requires Node.js 22 or later.

Package versions follow the Codex CLI version used for compatibility testing.

pnpm --silent dlx codex-config@latest apply

This updates $CODEX_HOME/config.toml, or ~/.codex/config.toml when CODEX_HOME is not set. Run the same command again whenever you upgrade Codex.

To review the changes first:

pnpm --silent dlx codex-config@latest apply --dry-run

Recommended configuration

The bundled recommendations currently select gpt-5.6-sol, high reasoning effort, live web search, the fast service tier, memories, disabled analytics, and a useful terminal status display. They also configure Codex for unrestricted local access without approval prompts. Review the exact values in config.toml.template before applying them if that permission level is not appropriate for your environment.

By default, existing values are kept. Compatibility migrations are still applied when an old setting is no longer valid—for example, legacy sandbox permissions, feature aliases, retired feature flags, web-search flags, and terminal display identifiers. Unsupported model selections move to the current default, while supported GPT-5.6 selections are preserved.

Use --force only when you want every setting managed by codex-config reset to its recommended value:

pnpm --silent dlx codex-config@latest apply --force

Check your configuration

# Show pending changes without writing
pnpm --silent dlx codex-config@latest diff

# Exit with status 1 when an update is needed
pnpm --silent dlx codex-config@latest check

# Validate the current config and report compatibility issues
pnpm --silent dlx codex-config@latest doctor

All commands support --json for machine-readable output.

Profiles and custom paths

Codex profiles use separate files under $CODEX_HOME:

pnpm --silent dlx codex-config@latest apply --profile work
codex --profile work

Use --target /path/to/config.toml to manage another file. Use --template /path/to/template.toml to supply your own recommendations.

Install globally

pnpm add --global codex-config
codex-config apply

Development

pnpm install
pnpm test
pnpm run check
pnpm run build

Maintainers can refresh the bundled schema and Codex compatibility metadata from a Codex source checkout with:

pnpm sync:codex -- --source /path/to/codex

The source checkout must include full first-parent history so retired configuration keys can be detected.