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

v0.1.13

Published

Local-first Codex usage coach and plugin

Readme

Codex Coach

Codex Coach banner

Codex Coach is a local-first usage coach for Codex users. It reads Codex session logs on your machine, generates redacted habit reports, and suggests reviewable improvements to your Codex configuration and project instructions.

Quick Start

  1. Install it:
npm install -g codex-coach
codex-coach install
  1. Restart Codex, then ask in a Codex prompt:
Coach my Codex usage
  1. Read the output report:
  • Latest report: ~/.codex-coach/reports/latest.md
  • Weekly copy: ~/.codex-coach/reports/weekly-YYYY-MM-DD.md
  • Example: demo report

Install Options

With npm:

npm install -g codex-coach
codex-coach install

From a checkout:

./install.sh

Windows PowerShell:

.\install.ps1

The installer adds the codex-coach command when possible, copies the Codex plugin/skill into your local Codex plugin directory, and writes a default config under ~/.codex-coach/.

Install options:

./install.sh --weekly       # default weekly report
./install.sh --daily        # opt-in daily scheduled report
./install.sh --no-schedule  # manual-only
.\install.ps1 -Daily
.\install.ps1 -NoSchedule

Use

codex-coach doctor
codex-coach scan --since 7d
codex-coach report --since 7d
codex-coach report --since 7d --mode expert
codex-coach suggest-config
codex-coach instructions scan --since 30d
codex-coach instructions report --since 30d
codex-coach instructions suggest --since 30d
codex-coach lint-prompt "fix the failing auth test and verify pytest passes"

Inside Codex, ask:

Coach my Codex usage
Show my weekly Codex Coach report
Suggest custom instruction changes

Weekly Heartbeat

In the Codex app, paste this prompt to ask Codex to set a weekly check-in:

Set a weekly Codex Coach check-in every 7 days. Use medium intelligence for the routine review. Each week, run `codex-coach report --since 7d`, read `~/.codex-coach/reports/latest.md`, compare it with the previous report, and give me a concise TL;DR with the top 3 changes and exact next actions. Escalate to high only if the report shows security risk, production risk, repeated failures, or major architecture concerns.

CLI, VS Code, Cursor, and Windsurf users can run the same review manually:

codex-coach report --since 7d

Privacy Model

  • Local only by default.
  • Reads ~/.codex/sessions/**/*.jsonl and ~/.codex/archived_sessions/*.jsonl.
  • Reports do not include full prompt text or source code.
  • Suggestions are written as review files and are never applied automatically.

Outputs

  • ~/.codex-coach/reports/latest.md
  • ~/.codex-coach/reports/weekly-YYYY-MM-DD.md
  • ~/.codex-coach/facts/latest.json
  • ~/.codex-coach/facts/report-latest.json
  • ~/.codex-coach/instructions/index.json
  • ~/.codex-coach/suggestions/*.patch.md

Coaching Features

  • Project capsules: redacted per-project workflow summaries with suggested local instructions.
  • Prompt rewrites: safe templates for vague prompts without storing full prompt text.
  • Confidence-scored suggestions: low, medium, or high confidence improvement notes.
  • TL;DR action plan: skimmable beginner-friendly changes with where to make them, whether they belong in settings, a prompt, or AGENTS.md, and collapsible Markdown snippets.
  • Since Last Report: a small Markdown trend panel comparing the current report with the previous report baseline.
  • Token efficiency: cached vs uncached input, output, routing, and context-budget recommendations.
  • Weekly Check-In: a pasteable Codex app heartbeat prompt with recommended medium intelligence for routine 7-day reviews.
  • Beginner and expert report modes.
  • Skill opportunities: repeated workflow patterns that may deserve a reusable Codex skill.
  • Real-time prompt linting through codex-coach lint-prompt.
  • Instruction Playbook Audit: review global custom instructions and project AGENTS.md files for stale mode locks, scope leaks, missing verification rules, secrets, and active projects without a playbook.

Brand Assets

  • Main README banner: assets/brand/codex-coach-banner.png
  • Wide logo/social preview: assets/brand/codex-coach-logo.png
  • Square icon: assets/brand/codex-coach-icon.png