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

v0.1.13

Published

Share and install Codex automation packages.

Readme

codex-automations

Share and install Codex App automations with a small, memorable CLI.

npx -y codex-automations add <source>
npx -y codex-automations share
npx -y codex-automations list
npx -y codex-automations remove

codex-automations keeps Codex's native automation.toml format as the source of truth, then wraps automations in portable packages that can be shared through GitHub.

Requires Node.js 20 or newer.

Quickstart: Add

Install from a GitHub repository:

npx -y codex-automations add owner/repo

Install from a specific package path:

npx -y codex-automations add https://github.com/owner/repo/tree/main/automations/morning-pr-radar

Install from a pull request while reviewing someone else's automation:

npx -y codex-automations add https://github.com/owner/repo/pull/123

Install from a local package or local marketplace:

npx -y codex-automations add ./morning-pr-radar.codex-automation
npx -y codex-automations add ./automations

If a source has one automation, it installs directly. If it has multiple automations, the CLI asks which one to install.

Installed automations are paused by default. Activate explicitly when you are ready:

npx -y codex-automations add owner/repo --activate

Use a local workspace path when the automation should run somewhere specific:

npx -y codex-automations add owner/repo --cwd ~/Projects/my-workspace

Install with a custom display name:

npx -y codex-automations add owner/repo --name "Morning PR Radar Copy"

Preview without writing files:

npx -y codex-automations add owner/repo --dry-run

Overwrite an existing installed automation:

npx -y codex-automations add owner/repo --force

Quickstart: Share

Share one of your installed automations:

npx -y codex-automations share

The interactive flow asks for only the decisions needed:

? Automation to share
? GitHub repo
? Open a pull request?
? Publish this automation?
? Save this destination for next time?
? Destination name

No destination names are predefined. If you save a destination, you choose its name.

Share a specific installed automation:

npx -y codex-automations share "Morning PR Radar"

Share to a repo and open a pull request:

npx -y codex-automations share "Morning PR Radar" --repo owner/repo --pr

Share to a repo by pushing directly:

npx -y codex-automations share "Morning PR Radar" --repo owner/repo --push

Preview a share without creating a repo, committing, or pushing:

npx -y codex-automations share "Morning PR Radar" --repo owner/repo --pr --dry-run

share exports the automation into:

automations/<slug>/
  codex-automation.json
  automation.toml
  README.md

It also updates the repository README with copy-paste install commands.

Review Loop

The intended team workflow is:

npx -y codex-automations share "Morning PR Radar" --repo owner/repo --pr

Then the reviewer installs from the pull request URL:

npx -y codex-automations add https://github.com/owner/repo/pull/123

Pull request and branch installs are paused by default, like every other install.

Manage Installed Automations

List installed automations:

npx -y codex-automations list

Remove by display name or slug:

npx -y codex-automations remove "Morning PR Radar"
npx -y codex-automations remove morning-pr-radar --force

If you omit the name, the CLI asks which automation to remove.

Sources

add accepts:

owner/repo
https://github.com/owner/repo
https://github.com/owner/repo/tree/<branch>
https://github.com/owner/repo/tree/<branch>/automations/<name>
https://github.com/owner/repo/pull/<number>
./local-package
./local-marketplace

Command Reference

codex-automations add <source> [--name <name>] [--cwd <path>] [--activate] [--force] [--dry-run] [--json]
codex-automations share [name] [--repo <owner/repo>] [--pr|--push] [--dry-run] [--json]
codex-automations list [--json]
codex-automations remove [name] [--force] [--json]

Safety Defaults

  • Installs are paused unless --activate is passed.
  • Existing automations are not overwritten unless --force is passed.
  • memory.md, OAuth state, connector state, previous runs, and sessions are not copied.
  • Export strips install-time timestamps and restores fresh timestamps on install.
  • Exported ${workspace} paths map to the current directory unless --cwd is passed.
  • The CLI warns about local absolute paths, connector references, and secret-looking prompt text.

Package Format

A portable automation package is a directory:

my-automation.codex-automation/
  codex-automation.json
  automation.toml
  README.md

automation.toml is the native Codex automation file. codex-automation.json adds portable package metadata:

{
  "schemaVersion": 1,
  "name": "owner/repo/morning-pr-radar",
  "title": "Morning PR Radar",
  "description": "Summarizes pull requests every morning.",
  "install": {
    "suggestedId": "morning-pr-radar"
  }
}