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 🙏

© 2025 – Pkg Stats / Ryan Hefner

codex-1up

v0.3.5

Published

TypeScript CLI for codex-1up (citty-based)

Readme

Codex CLI 1UP

codex-1up banner

Codex 1UP equips your Codex CLI coding agent with powerful tools.

  • ✅ Installs/updates Codex CLI (@openai/codex)
  • ✅ Adds fast shell power tools: ast-grep, fd, ripgrep, rg, fzf, jq, yq
  • AGENTS.md template with tool selection guide
  • ✅ Unified Codex config with multiple profiles: balanced / safe / yolo
  • ✅ 🔊 Notification sounds with customizable audio alerts for Codex events

Screenshot of Codex 1UP terminal interface

Quick start

# Quick install (no global install needed)
npx -y codex-1up install
# Or install globally (recommended for repeated use)
npm install -g codex-1up
codex-1up install

After installing

  • Open a new terminal session (or source your shell rc)
  • Run codex to sign in and start using the agent! 🎉

⚠️ Security Warning: codex-1up helps you set up Codex CLI, but use caution with the yolo profile. The yolo profile grants full system access and can modify any file on your computer. If you're unsure what you're doing, use the default balanced profile or the standard Codex install. Always review changes before approving them.

What gets installed

| Component | Why it matters | | ------------------------- | --------------------------------------------------------------------------------------- | | @openai/codex | The coding agent that can read, edit, and run your project locally. | | ast-grep | Syntax‑aware search/replace for safe, large‑scale refactors in TS/TSX. | | fd | Fast file finder (gitignore‑aware). | | ripgrep (rg) | Fast text search across code. | | fzf | Fuzzy‑finder to select among many matches. | | jq / yq | Reliable JSON/YAML processing on the command line. | | difftastic | Fast syntax‑aware diff tool for git. | | ~/.codex/config.toml | Single template with multiple profiles. Active profile is chosen during install (default: balanced). See Codex config reference. | | AGENTS.md | Minimal per‑repo rubric; installer can also create global ~/.codex/AGENTS.md. | | ~/.codex/notify.sh | Notification hook script with customizable sounds for Codex events (default: noti_1.wav). |

Profiles

| Profile | Model | Sandbox | Description | | --- | --- | --- | --- | | balanced (default) | gpt-5.2-codex | workspace-write | Approvals on-request; web search on. Standard for everyday use. | | safe | gpt-5.2-codex | read-only | Approvals on-failure; web search off. Maximum security for critical repos. | | yolo | gpt-5.2-codex | danger-full-access | Never ask for approvals; high reasoning; optimized for long autonomous sessions. ⚠️ Warning: Grants full system access. |

Switch profiles anytime: codex --profile <name> for a session, or codex-1up config set-profile <name> to persist.

Global guidance with AGENTS.md (optional)

You can keep a global guidance file at ~/.codex/AGENTS.md that Codex will use across projects. During install, you'll be prompted to create this; if you skip, you can create it later:

# Create the directory if needed and write the template there
mkdir -p ~/.codex
codex-1up agents --path ~/.codex
# This writes ~/.codex/AGENTS.md

See memory behavior with AGENTS.md in the official docs: Memory with AGENTS.md.

Doctor & Uninstall

./bin/codex-1up doctor
./bin/codex-1up uninstall

Note: This project is idempotent—running it again will skip what's already installed. It won't remove packages on uninstall; it cleans up files under ~/.codex (backups are retained).

Supported platforms

  • macOS (Intel/Apple Silicon) via Homebrew
  • Linux via apt, dnf, pacman, or zypper
    • Note: Linux package managers require sudo access (or running as root) to install tools. If sudo is not available or fails, the installer will skip tool installations gracefully with a warning message.
  • Windows users: use WSL (Ubuntu) and run the Linux path

Common flags

  • --shell auto|zsh|bash|fish : shell to configure aliases for
  • --vscode EXT_ID : install a VS Code extension (e.g. openai.codex)
  • --agents-md [PATH] : write a starter AGENTS.md to PATH (default: $PWD/AGENTS.md)
  • --no-vscode : skip VS Code extension checks
  • --install-node nvm|brew|skip : how to install Node.js if missing (default: nvm)
  • --codex-cli yes|no : install/upgrade Codex CLI (default: yes on macOS/Linux)
  • --tools yes|no : install/upgrade tools: rg, fd, fzf, jq, yq, difftastic, ast-grep (default: yes on macOS/Linux)
  • --profile balanced|safe|yolo|skip : profile to write (default: balanced)
  • --profile-mode add|overwrite : profile merge strategy (default: add)

Advanced / CI flags

  • --dry-run : print what would happen, change nothing
  • --skip-confirmation : suppress interactive prompts
  • --yes : non-interactive, accept safe defaults (CI). Most users don't need this.

Develop locally (from source)

For contributors and advanced users:

git clone https://github.com/regenrek/codex-1up
cd codex-1up

# Use the wrapper to run the same flow as the global CLI
./bin/codex-1up install

# Or run the CLI package directly in dev
cd cli && corepack enable && pnpm i && pnpm build
node ./bin/codex-1up.mjs install

License

MIT — see LICENSE.

Links

Courses

See my other projects:

  • codefetch - Turn code into Markdown for LLMs with one simple terminal command
  • instructa - Instructa Projects