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

@cubicj/codex-watch

v0.3.0

Published

Live-tail the newest Codex plugin background job log for the current git repo.

Readme

codex-watch

Live-tail the newest Codex plugin background job log for the current git repo.

codex-watch is a zero-dependency terminal companion for the openai/codex-plugin-cc Claude Code plugin. When Claude Code delegates work to a background Codex job, run codex-watch in that repo's terminal to follow the job's log live — and it keeps following across --resume.

codex-watch following a background Codex job: a cancelled job, automatic switch to the new job, session info, colored command results, and the completion banner

What It Does

  • Resolves the git repo from the terminal's current working directory.
  • Follows the newest job log written by the openai/codex-plugin-cc Claude Code plugin.
  • Auto-switches when a --resume starts a newer job id, so a resumed run is picked up without restarting.
  • Shows the job's model, reasoning effort, sandbox mode, and write access under the header (resolved from the Codex CLI session files in $CODEX_HOME, default ~/.codex).
  • Shows a dim Thinking... indicator for each reasoning stretch.
  • Colorizes assistant messages, command status, file changes, and job events.
  • Lists each applied file with its change type and a workspace-relative path when available.
  • Prints a completion banner such as ✓ completed · <duration> or ✗ <status> · <duration>.
  • Drops duplicate captured lines.

Requirements

codex-watch reads job state from $CLAUDE_PLUGIN_DATA/state/... or, by default, ~/.claude/plugins/data/codex-openai-codex/state/.

Install

Global install:

npm install -g @cubicj/codex-watch
codex-watch

From source:

git clone https://github.com/cubicj/codex-watch.git
cd codex-watch
npm link
codex-watch

You can also run it directly from the checkout:

node bin/codex-watch

Run codex-watch from inside the git repo whose Codex job you want to watch.

Usage

codex-watch
codex-watch --once
codex-watch --help

codex-watch starts in follow mode, tails the newest job, and keeps watching for newer jobs so a resumed Codex run switches automatically. --once renders the current newest job once and exits. --help prints usage.

Colors are enabled only on TTY output. Set NO_COLOR=1 or pipe output to disable color.

Recommended Setup

codex-watch is most useful as a live cockpit for background delegation with openai/codex-plugin-cc:

  1. In Claude Code, delegate work to a Codex job in the background (for example a --background rescue or review) so Claude stays responsive.
  2. In a second terminal opened at the repo root, run codex-watch. It scopes to that repo, tails the job's log as it streams, and prints the completion banner when the job finishes.
  3. Steer by talking to Claude. If Claude cancels and resumes the job, codex-watch auto-switches to the new job id — no restart needed.

Because you invoke it once per session from the repo terminal, a short shell alias is handy if you reach for it often:

alias cw='codex-watch'

License

MIT